From df271fbd134ae3920e69afa6ac69ac8040c4fbf4 Mon Sep 17 00:00:00 2001 From: atef Date: Thu, 11 Jul 2024 11:46:01 +0200 Subject: [PATCH] update battery --- .../Lib/Devices/Battery250UP/Battery250UPRecord.Api.cs | 10 ++++------ .../Lib/Devices/Battery48TL/Battery48TlRecord.Api.cs | 1 - 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/csharp/Lib/Devices/Battery250UP/Battery250UPRecord.Api.cs b/csharp/Lib/Devices/Battery250UP/Battery250UPRecord.Api.cs index 1e976d7d0..26bdfe9af 100644 --- a/csharp/Lib/Devices/Battery250UP/Battery250UPRecord.Api.cs +++ b/csharp/Lib/Devices/Battery250UP/Battery250UPRecord.Api.cs @@ -13,15 +13,13 @@ using Strings = IReadOnlyList; [SuppressMessage("ReSharper", "ConvertToAutoProperty")] public partial class Battery250UpRecord { - public Dc_ Dc => new Dc_(this); - public Leds_ Leds => new Leds_(this); - public Temperatures_ Temperatures => new Temperatures_(this); - public AuxBitInformation_ AuxBitInformation => new AuxBitInformation_(this); + public Dc_ Dc => new Dc_(this); + public Leds_ Leds => new Leds_(this); + public Temperatures_ Temperatures => new Temperatures_(this); + public AuxBitInformation_ AuxBitInformation => new AuxBitInformation_(this); public Boolean Eoc => ParseEocReached();//Leds is { Green: On, Amber: Off, Blue : Off }; // ParseEocReached(); // - public UInt16 IoStates => _IoStates; - public String BatteryState => ParseBatteryState(); public String SerialNumber => $"{_SerialNum1:X4}{_SerialNum2:X4}{_SerialNum3:X4}{_SerialNum4:X4}".TrimEnd('0'); diff --git a/csharp/Lib/Devices/Battery48TL/Battery48TlRecord.Api.cs b/csharp/Lib/Devices/Battery48TL/Battery48TlRecord.Api.cs index 94e7489c3..7d61d59b0 100644 --- a/csharp/Lib/Devices/Battery48TL/Battery48TlRecord.Api.cs +++ b/csharp/Lib/Devices/Battery48TL/Battery48TlRecord.Api.cs @@ -21,7 +21,6 @@ public partial class Battery48TlRecord public Boolean Eoc => ParseEocReached();//Leds is { Green: On, Amber: Off, Blue : Off }; // ParseEocReached(); // - public UInt16 IoStates => _IoStates; public UInt16 LimpBitMap => _LimpBitMap; public String BatteryState => ParseBatteryState();