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 ByteAlarmCodes = new Dictionary { { "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" } }; }