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:
@@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
@@ -29,6 +29,21 @@ namespace LFP_Manager.DataStructure
|
||||
"Unknown7", // 7
|
||||
"PRE-CHG + LMT", // 8
|
||||
};
|
||||
|
||||
public static readonly string[] ANTI_THEFT_STATUS =
|
||||
{
|
||||
"Waiting for charging activation", // 0
|
||||
"Activated", // 1
|
||||
};
|
||||
|
||||
public static string GetAntiTheftStatusString(int status)
|
||||
{
|
||||
if (status >= 0 && status < ANTI_THEFT_STATUS.Length)
|
||||
{
|
||||
return ANTI_THEFT_STATUS[status];
|
||||
}
|
||||
return string.Format("Unknown ({0})", status);
|
||||
}
|
||||
}
|
||||
|
||||
public class CommType
|
||||
|
||||
Reference in New Issue
Block a user