Class SetExtAccessoryCommand
From Z21 FW V1. 40, a DCC command in the "extended accessory decoder package format "(DCCext) can be sent to an extended accessory decoder with the following request. It allows to send even switching times for turnouts or complex signal aspects with just one single command
public class SetExtAccessoryCommand : IZ21Command
- Inheritance
-
SetExtAccessoryCommand
- Implements
- Inherited Members
Constructors
SetExtAccessoryCommand(IZ21FrameBuilder, IAddressCodec, ushort, byte)
From Z21 FW V1. 40, a DCC command in the "extended accessory decoder package format" can be sent to an extended accessory decoder with the following request. It allows to send even switching times for turnouts or complex signal aspects with just one single command
public SetExtAccessoryCommand(IZ21FrameBuilder frameBuilder, IAddressCodec addressCodec, ushort accessoryAddress, byte payload)
Parameters
frameBuilderIZ21FrameBuilderaddressCodecIAddressCodecaccessoryAddressushortpayloadbyte
Remarks
The 10837 Z21 signaldecoder interprets as one of 256 theoretically possible signal aspects. The actual value range depends to a large extent on the signal type set in the signal decoder. See https://www.z21.eu/en/products/z21-signal-decoder/signaltypen for all possible values.
SetExtAccessoryCommand(IZ21FrameBuilder, IAddressCodec, ushort, IExcAccessoryPayload)
From Z21 FW V1. 40, a DCC command in the "extended accessory decoder package format "(DCCext) can be sent to an extended accessory decoder with the following request. It allows to send even switching times for turnouts or complex signal aspects with just one single command
public SetExtAccessoryCommand(IZ21FrameBuilder frameBuilder, IAddressCodec addressCodec, ushort accessoryAddress, IExcAccessoryPayload payload)
Parameters
frameBuilderIZ21FrameBuilderaddressCodecIAddressCodecaccessoryAddressushortpayloadIExcAccessoryPayload
Remarks
The 10837 Z21 signaldecoder interprets as one of 256 theoretically possible signal aspects. The actual value range depends to a large extent on the signal type set in the signal decoder. See https://www.z21.eu/en/products/z21-signal-decoder/signaltypen for all possible values.
Properties
Data
public byte[] Data { get; }
Property Value
- byte[]
Name
Human-readable command according to the specification.
public string Name { get; }