update battery

This commit is contained in:
atef 2024-07-11 11:46:01 +02:00
parent 51407a7846
commit df271fbd13
2 changed files with 4 additions and 7 deletions

View File

@ -13,15 +13,13 @@ using Strings = IReadOnlyList<String>;
[SuppressMessage("ReSharper", "ConvertToAutoProperty")] [SuppressMessage("ReSharper", "ConvertToAutoProperty")]
public partial class Battery250UpRecord public partial class Battery250UpRecord
{ {
public Dc_ Dc => new Dc_(this); public Dc_ Dc => new Dc_(this);
public Leds_ Leds => new Leds_(this); public Leds_ Leds => new Leds_(this);
public Temperatures_ Temperatures => new Temperatures_(this); public Temperatures_ Temperatures => new Temperatures_(this);
public AuxBitInformation_ AuxBitInformation => new AuxBitInformation_(this); public AuxBitInformation_ AuxBitInformation => new AuxBitInformation_(this);
public Boolean Eoc => ParseEocReached();//Leds is { Green: On, Amber: Off, Blue : Off }; // ParseEocReached(); // public Boolean Eoc => ParseEocReached();//Leds is { Green: On, Amber: Off, Blue : Off }; // ParseEocReached(); //
public UInt16 IoStates => _IoStates;
public String BatteryState => ParseBatteryState(); public String BatteryState => ParseBatteryState();
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');

View File

@ -21,7 +21,6 @@ public partial class Battery48TlRecord
public Boolean Eoc => ParseEocReached();//Leds is { Green: On, Amber: Off, Blue : Off }; // ParseEocReached(); // public Boolean Eoc => ParseEocReached();//Leds is { Green: On, Amber: Off, Blue : Off }; // ParseEocReached(); //
public UInt16 IoStates => _IoStates;
public UInt16 LimpBitMap => _LimpBitMap; public UInt16 LimpBitMap => _LimpBitMap;
public String BatteryState => ParseBatteryState(); public String BatteryState => ParseBatteryState();