Class SwitchDecoderSystemState
System state of a 10836 switch decoder (LAN_DECODER_SYSTEMSTATE_DATACHANGED, protocol §11.3.4.1).
Currents are in mA, voltage in mV. OutputStates, OutputConfig and
OutputDimm each have one entry per output (8 outputs).
public record SwitchDecoderSystemState : IEquatable<SwitchDecoderSystemState>
- Inheritance
-
SwitchDecoderSystemState
- Implements
- Inherited Members
Constructors
SwitchDecoderSystemState(short, short, ushort, byte, byte, byte[], byte[], byte[], ushort, ushort, byte)
System state of a 10836 switch decoder (LAN_DECODER_SYSTEMSTATE_DATACHANGED, protocol §11.3.4.1).
Currents are in mA, voltage in mV. OutputStates, OutputConfig and
OutputDimm each have one entry per output (8 outputs).
public SwitchDecoderSystemState(short Current, short FilteredCurrent, ushort Voltage, byte CentralState, byte CentralStateEx, byte[] OutputStates, byte[] OutputConfig, byte[] OutputDimm, ushort Address, ushort Address2, byte Dimmed)
Parameters
CurrentshortFilteredCurrentshortVoltageushortCentralStatebyteCentralStateExbyteOutputStatesbyte[]OutputConfigbyte[]OutputDimmbyte[]AddressushortAddress2ushortDimmedbyte
Properties
Address
public ushort Address { get; init; }
Property Value
Address2
public ushort Address2 { get; init; }
Property Value
CentralState
public byte CentralState { get; init; }
Property Value
CentralStateEx
public byte CentralStateEx { get; init; }
Property Value
Current
public short Current { get; init; }
Property Value
Dimmed
public byte Dimmed { get; init; }
Property Value
FilteredCurrent
public short FilteredCurrent { get; init; }
Property Value
OutputConfig
public byte[] OutputConfig { get; init; }
Property Value
- byte[]
OutputDimm
public byte[] OutputDimm { get; init; }
Property Value
- byte[]
OutputStates
public byte[] OutputStates { get; init; }
Property Value
- byte[]
Voltage
public ushort Voltage { get; init; }