Class RailComData
RailCom data reported by the Z21 for a decoder (LAN_RAILCOM_DATACHANGED, protocol §8.1).
public record RailComData : IEquatable<RailComData>
- Inheritance
-
RailComData
- Implements
- Inherited Members
Constructors
RailComData(ushort, uint, ushort, RailComOptions, byte, byte)
RailCom data reported by the Z21 for a decoder (LAN_RAILCOM_DATACHANGED, protocol §8.1).
public RailComData(ushort LocoAddress, uint ReceiveCounter, ushort ErrorCounter, RailComOptions Options, byte Speed, byte QualityOfService)
Parameters
LocoAddressushortReceiveCounteruintErrorCounterushortOptionsRailComOptionsSpeedbyteQualityOfServicebyte
Properties
ErrorCounter
public ushort ErrorCounter { get; init; }
Property Value
LocoAddress
public ushort LocoAddress { get; init; }
Property Value
Options
public RailComOptions Options { get; init; }
Property Value
QualityOfService
public byte QualityOfService { get; init; }
Property Value
ReceiveCounter
public uint ReceiveCounter { get; init; }
Property Value
Speed
public byte Speed { get; init; }