Update Battery Strings
This commit is contained in:
parent
3b12425838
commit
1e047f5ed8
|
@ -15,6 +15,7 @@ public partial class Battery48TlRecord
|
|||
public Dc_ Dc => new Dc_(this);
|
||||
public Leds_ Leds => new Leds_(this);
|
||||
public Temperatures_ Temperatures => new Temperatures_(this);
|
||||
public StringActive_ BatteryStrings => new StringActive_(this);
|
||||
|
||||
public Boolean ConnectedToDcBus => (_IoStates & 1) == 0;
|
||||
public Boolean Eoc => Leds is { Green: On, Amber: Off, Blue : Off };
|
||||
|
@ -55,7 +56,7 @@ public partial class Battery48TlRecord
|
|||
|
||||
}
|
||||
|
||||
public readonly struct _StringActive
|
||||
public readonly struct StringActive_
|
||||
{
|
||||
public Boolean String1Active => (Self._LimpBitMap & 1) == 0;
|
||||
public Boolean String2Active => (Self._LimpBitMap & 2) == 0;
|
||||
|
@ -63,7 +64,7 @@ public partial class Battery48TlRecord
|
|||
public Boolean String4Active => (Self._LimpBitMap & 8) == 0;
|
||||
public Boolean String5Active => (Self._LimpBitMap & 16) == 0;
|
||||
|
||||
internal _StringActive(Battery48TlRecord self) => Self = self;
|
||||
internal StringActive_(Battery48TlRecord self) => Self = self;
|
||||
private Battery48TlRecord Self { get; }
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue