Release v1.1.1.1: Anti-Theft buttons update, BMS history chg_wait column, and wait for charging status display
This commit is contained in:
@@ -466,7 +466,8 @@ namespace LFP_Manager.Controls
|
||||
|
||||
private string GetOpStatusDisplayText(short val)
|
||||
{
|
||||
switch ((ushort)val)
|
||||
ushort uval = (ushort)(val & 0x7FFF);
|
||||
switch (uval)
|
||||
{
|
||||
case 0x0000: return "STANDBY (0x0000)";
|
||||
case 0x0001: return "CHARGING (0x0001)";
|
||||
@@ -475,12 +476,7 @@ namespace LFP_Manager.Controls
|
||||
case 0x0004: return "TRIP (0x0004)";
|
||||
case 0x0008: return "CHG-LIMIT (0x0008)";
|
||||
case 0x0032: return "POWER-ON (0x0032)";
|
||||
case 0x8000: return "STANDBY-HEAT (0x8000)";
|
||||
case 0x8001: return "CHARGING-HEAT (0x8001)";
|
||||
case 0x8002: return "DISCHARGING-HEAT (0x8002)";
|
||||
case 0x8004: return "TRIP-HEAT (0x8004)";
|
||||
case 0x8008: return "CHG-LIMIT-HEAT (0x8008)";
|
||||
default: return string.Format("UNKNOWN (0x{0:X4})", (ushort)val);
|
||||
default: return string.Format("UNKNOWN (0x{0:X4})", uval);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user