Table of Contents

Class SwitchDecoderSystemState

Namespace
Z21.Core.Model
Assembly
Z21.Client.dll

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

Current short
FilteredCurrent short
Voltage ushort
CentralState byte
CentralStateEx byte
OutputStates byte[]
OutputConfig byte[]
OutputDimm byte[]
Address ushort
Address2 ushort
Dimmed byte

Properties

Address

public ushort Address { get; init; }

Property Value

ushort

Address2

public ushort Address2 { get; init; }

Property Value

ushort

CentralState

public byte CentralState { get; init; }

Property Value

byte

CentralStateEx

public byte CentralStateEx { get; init; }

Property Value

byte

Current

public short Current { get; init; }

Property Value

short

Dimmed

public byte Dimmed { get; init; }

Property Value

byte

FilteredCurrent

public short FilteredCurrent { get; init; }

Property Value

short

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; }

Property Value

ushort