,..
This commit is contained in:
@@ -12,9 +12,9 @@ namespace AGVEmulator
|
||||
{
|
||||
private void BMS_Message(object sender, AR.Dev.RS232.MessageEventArgs e)
|
||||
{
|
||||
|
||||
logBMS.Add(e.Message);
|
||||
|
||||
|
||||
logBMS.Add(e.Message);
|
||||
|
||||
}
|
||||
|
||||
private void BMS_RequestVoltageData(object sender, DevBMS.RequestVoltageDataArgs e)
|
||||
@@ -26,7 +26,7 @@ namespace AGVEmulator
|
||||
this.cellvolt[i] = (UInt16)rnd.Next(3300, 3350);
|
||||
}
|
||||
Array.Copy(this.cellvolt, 0, e.cellVolt, 0, 8);
|
||||
|
||||
|
||||
this.btc1.Invoke(new Action(() =>
|
||||
{
|
||||
var idx = 0;
|
||||
@@ -46,8 +46,12 @@ namespace AGVEmulator
|
||||
if (checkBox1.Checked)
|
||||
this.trackBar1.Invoke(new Action(() =>
|
||||
{
|
||||
this.trackBar1.Value -= 1;
|
||||
trackBar1_Scroll(null, null);
|
||||
if (this.trackBar1.Value > 0)
|
||||
{
|
||||
this.trackBar1.Value -= 1;
|
||||
trackBar1_Scroll(null, null);
|
||||
}
|
||||
|
||||
}));
|
||||
|
||||
e.CurA = (int)BMS_CurA;
|
||||
|
||||
Reference in New Issue
Block a user