Table of Contents

Class SetExtAccessoryCommand

Namespace
Z21.Core.Command.Switching
Assembly
Z21.Client.dll

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

frameBuilder IZ21FrameBuilder
addressCodec IAddressCodec
accessoryAddress ushort
payload byte

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

frameBuilder IZ21FrameBuilder
addressCodec IAddressCodec
accessoryAddress ushort
payload IExcAccessoryPayload

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

Property Value

string