fix
This commit is contained in:
@@ -64,9 +64,6 @@ namespace Project
|
||||
|
||||
if (PUB.setting.FullScreen) this.WindowState = FormWindowState.Maximized;
|
||||
|
||||
lbTime.Click += (s1,e1) => {
|
||||
PUB.mapctl.ShowDesign();
|
||||
};
|
||||
}
|
||||
|
||||
protected override void WndProc(ref Message m)
|
||||
@@ -108,7 +105,7 @@ namespace Project
|
||||
this.ctlPos1.Invalidate();
|
||||
}
|
||||
|
||||
|
||||
|
||||
private void __Closing(object sender, FormClosingEventArgs e)
|
||||
{
|
||||
PUB.popup.needClose = true;
|
||||
@@ -216,9 +213,10 @@ namespace Project
|
||||
//배터리관리시스템
|
||||
PUB.BMS = new arDev.BMS();
|
||||
PUB.BMS.BMSDataReceive += Bms_BMSDataReceive;
|
||||
PUB.BMS.BMSCellDataReceive += BMS_BMSCellDataReceive;
|
||||
PUB.BMS.Message += Bms_Message;
|
||||
PUB.BMS.ChargeDetect += BMS_ChargeDetect;
|
||||
|
||||
PUB.BMS.ScanInterval = PUB.setting.interval_bms;//
|
||||
|
||||
//디버그메세지 출력용 소켓
|
||||
PUB.sock_debug = new Device.Socket();
|
||||
@@ -243,11 +241,12 @@ namespace Project
|
||||
PUB.sm.SPS += sm_SPS;
|
||||
PUB.sm.Start();
|
||||
|
||||
tmDisplay.Tick += tmDisplay_Tick;
|
||||
tmDisplay.Start(); //start Display
|
||||
this.btDebug.Visible = PUB.setting.UseDebugMode;
|
||||
|
||||
PUB.log.Add("Program Start");
|
||||
|
||||
|
||||
|
||||
//수량표시
|
||||
PUB.counter.PropertyChanged += (s1, e1) => Update_Count();
|
||||
@@ -263,6 +262,8 @@ namespace Project
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
#region "Mouse Form Move"
|
||||
|
||||
private Boolean fMove = false;
|
||||
@@ -303,7 +304,7 @@ namespace Project
|
||||
}
|
||||
PUB.log.Add("WS << " + e.rawData);
|
||||
}
|
||||
|
||||
|
||||
void socket_RecvMessage(object sender, Device.Socket.SocketMessageEventArgs e)
|
||||
{
|
||||
if (e.Message.isError)
|
||||
@@ -640,7 +641,7 @@ namespace Project
|
||||
}
|
||||
|
||||
VAR.BOOL[eVarBool.FLAG_SETUP] = false;// VAR.BOOL[eVarBool.FLAG_SETUP] = false;//VAR.BOOL[eVarBool.FLAG_SETUP] = false;
|
||||
|
||||
|
||||
if (popmsg) PUB.popup.Visible = true;
|
||||
}
|
||||
|
||||
@@ -714,7 +715,7 @@ namespace Project
|
||||
SetScreen(form_flag);
|
||||
MenuFlag.ForeColor = Color.Gold;
|
||||
}
|
||||
|
||||
|
||||
private void btLog_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (form_log == null || form_log.IsDisposed || form_log.Disposing)
|
||||
@@ -886,9 +887,5 @@ namespace Project
|
||||
}
|
||||
}
|
||||
|
||||
private void lbTime_Click(object sender, EventArgs e)
|
||||
{
|
||||
PUB.mapctl.ShowDesign();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user