Table of Contents

Class RailComData

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

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

LocoAddress ushort
ReceiveCounter uint
ErrorCounter ushort
Options RailComOptions
Speed byte
QualityOfService byte

Properties

ErrorCounter

public ushort ErrorCounter { get; init; }

Property Value

ushort

LocoAddress

public ushort LocoAddress { get; init; }

Property Value

ushort

Options

public RailComOptions Options { get; init; }

Property Value

RailComOptions

QualityOfService

public byte QualityOfService { get; init; }

Property Value

byte

ReceiveCounter

public uint ReceiveCounter { get; init; }

Property Value

uint

Speed

public byte Speed { get; init; }

Property Value

byte