Compare commits
No commits in common. "b61ca9264e8f2c94b1776752a2eaad79ac778d05" and "df9536c8fca55847e3c9da74220795e64122e3f7" have entirely different histories.
b61ca9264e
...
df9536c8fc
|
@ -15,8 +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 };
|
||||
public UInt16 IoStates => _IoStates;
|
||||
|
@ -56,7 +55,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;
|
||||
|
@ -64,7 +63,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