Update GUI version to 2.1.3.9 and fix CAN protocol issues (Cell Diff code, Balancing interval bug, Calibration B-offset bug)
This commit is contained in:
@@ -225,7 +225,7 @@ namespace LFP_Manager.Function
|
||||
);
|
||||
rSystemData.CalibriationData.SystemInfo.devTime = dev;
|
||||
break;
|
||||
case 21: // Cell Voltage Difference Parameter
|
||||
case 2: // Cell Voltage Difference Parameter
|
||||
rSystemData.ParamData.CellVoltageDifferenceTrip = (short)((data[0] * 256) + data[1]);
|
||||
rSystemData.ParamData.CellVoltageDifferenceWarning = (short)((data[2] * 256) + data[3]);
|
||||
rSystemData.ParamData.CellVoltageDifferenceRelease = (short)((data[4] * 256) + data[5]);
|
||||
@@ -375,7 +375,7 @@ namespace LFP_Manager.Function
|
||||
int ss = Convert.ToInt32(String.Format("{0:ss}", DateTime.Now));
|
||||
if (ss == 0)
|
||||
{
|
||||
result[3] = 1;
|
||||
result[3] |= 1;
|
||||
UInt32 nTime = (UInt32)csUtils.UnixTimeNow();
|
||||
result[4] = (byte)(nTime >> 24);
|
||||
result[5] = (byte)(nTime >> 16);
|
||||
@@ -430,7 +430,7 @@ namespace LFP_Manager.Function
|
||||
result[4] = (byte)(aCalib.SystemVoltage.Calibration_K >> 8);
|
||||
result[5] = (byte)(aCalib.SystemVoltage.Calibration_K >> 0);
|
||||
result[6] = (byte)(aCalib.SystemVoltage.Calibration_B >> 8);
|
||||
result[7] = (byte)(aCalib.SystemVoltage.Calibration_K >> 0);
|
||||
result[7] = (byte)(aCalib.SystemVoltage.Calibration_B >> 0);
|
||||
break;
|
||||
case 22: // Current Warning and Fault Parameter
|
||||
temp = (short)(aParam.ChaOverCurrentWarning + 30000);
|
||||
|
||||
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("2.1.3.8")]
|
||||
[assembly: AssemblyFileVersion("2.1.3.8")]
|
||||
[assembly: AssemblyVersion("2.1.3.9")]
|
||||
[assembly: AssemblyFileVersion("2.1.3.9")]
|
||||
|
||||
Reference in New Issue
Block a user