Add battery IoStates
This commit is contained in:
parent
05a0b02ee5
commit
3e37bcca00
|
@ -18,7 +18,7 @@ public partial class Battery48TlRecord
|
||||||
|
|
||||||
public Boolean ConnectedToDcBus => (_IoStates & 1) == 0;
|
public Boolean ConnectedToDcBus => (_IoStates & 1) == 0;
|
||||||
public Boolean Eoc => Leds is { Green: On, Amber: Off, Blue : Off };
|
public Boolean Eoc => Leds is { Green: On, Amber: Off, Blue : Off };
|
||||||
|
public UInt16 IoStates => _IoStates;
|
||||||
|
|
||||||
public String SerialNumber => $"{_SerialNum1:X4}{_SerialNum2:X4}{_SerialNum3:X4}{_SerialNum4:X4}".TrimEnd('0');
|
public String SerialNumber => $"{_SerialNum1:X4}{_SerialNum2:X4}{_SerialNum3:X4}{_SerialNum4:X4}".TrimEnd('0');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue