Table of Contents

Class SignalDecoderSystemState

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

System state of a 10837 signal decoder (LAN_DECODER_SYSTEMSTATE_DATACHANGED, protocol §11.3.4.2). Voltage is in mV. SignalDccExt carries the current DCCext signal aspect per signal.

public record SignalDecoderSystemState : IEquatable<SignalDecoderSystemState>
Inheritance
SignalDecoderSystemState
Implements
Inherited Members

Constructors

SignalDecoderSystemState(short, short, ushort, byte, byte, byte[], byte[], byte[], byte[], byte, byte[], byte[], ushort)

System state of a 10837 signal decoder (LAN_DECODER_SYSTEMSTATE_DATACHANGED, protocol §11.3.4.2). Voltage is in mV. SignalDccExt carries the current DCCext signal aspect per signal.

public SignalDecoderSystemState(short Current, short FilteredCurrent, ushort Voltage, byte CentralState, byte CentralStateEx, byte[] OutputStates, byte[] BlinkStates, byte[] SignalDccExt, byte[] SignalCurrentAspect, byte SignalCount, byte[] SignalConfig, byte[] SignalInitAspect, ushort Address)

Parameters

Current short
FilteredCurrent short
Voltage ushort
CentralState byte
CentralStateEx byte
OutputStates byte[]
BlinkStates byte[]
SignalDccExt byte[]
SignalCurrentAspect byte[]
SignalCount byte
SignalConfig byte[]
SignalInitAspect byte[]
Address ushort

Properties

Address

public ushort Address { get; init; }

Property Value

ushort

BlinkStates

public byte[] BlinkStates { get; init; }

Property Value

byte[]

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

FilteredCurrent

public short FilteredCurrent { get; init; }

Property Value

short

OutputStates

public byte[] OutputStates { get; init; }

Property Value

byte[]

SignalConfig

public byte[] SignalConfig { get; init; }

Property Value

byte[]

SignalCount

public byte SignalCount { get; init; }

Property Value

byte

SignalCurrentAspect

public byte[] SignalCurrentAspect { get; init; }

Property Value

byte[]

SignalDccExt

public byte[] SignalDccExt { get; init; }

Property Value

byte[]

SignalInitAspect

public byte[] SignalInitAspect { get; init; }

Property Value

byte[]

Voltage

public ushort Voltage { get; init; }

Property Value

ushort