21 lines
578 B
C#
21 lines
578 B
C#
using InnovEnergy.Lib.Units;
|
|
|
|
namespace InnovEnergy.Lib.Devices.BatteryDeligreen;
|
|
|
|
|
|
public class Alarms
|
|
{
|
|
public struct CellAlarm
|
|
{
|
|
public Int32 CellNumber { get; set; }
|
|
public String AlarmDescription { get; set; }
|
|
}
|
|
|
|
private static readonly Dictionary<string, string> ByteAlarmCodes = new Dictionary<string, string>
|
|
{
|
|
{ "00", "Normal, no alarm" },
|
|
{ "01", "Alarm that analog quantity reaches the lower limit" },
|
|
{ "02", "Alarm that analog quantity reaches the upper limit" },
|
|
{ "F0", "Other alarms" }
|
|
};
|
|
} |