From 3e37bcca00a45911942482deb6a9c3a9e0291d0b Mon Sep 17 00:00:00 2001 From: atef Date: Thu, 25 Jan 2024 10:17:14 +0100 Subject: [PATCH] Add battery IoStates --- csharp/Lib/Devices/Battery48TL/Battery48TlRecord.Api.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csharp/Lib/Devices/Battery48TL/Battery48TlRecord.Api.cs b/csharp/Lib/Devices/Battery48TL/Battery48TlRecord.Api.cs index e8f1320d3..1939f8e47 100644 --- a/csharp/Lib/Devices/Battery48TL/Battery48TlRecord.Api.cs +++ b/csharp/Lib/Devices/Battery48TL/Battery48TlRecord.Api.cs @@ -18,7 +18,7 @@ public partial class Battery48TlRecord public Boolean ConnectedToDcBus => (_IoStates & 1) == 0; 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');