Table of Contents

Class GetTurnoutInfoCommand

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

The following command can be used to poll the status of a turnout (or any accessory function).

public class GetTurnoutInfoCommand : IZ21Command
Inheritance
GetTurnoutInfoCommand
Implements
Inherited Members

Constructors

GetTurnoutInfoCommand(IZ21FrameBuilder, IAddressCodec, ushort)

public GetTurnoutInfoCommand(IZ21FrameBuilder frameBuilder, IAddressCodec addressCodec, ushort accessoryAddress)

Parameters

frameBuilder IZ21FrameBuilder
addressCodec IAddressCodec
accessoryAddress ushort

Exceptions

ArgumentOutOfRangeException

Thrown when accessoryAddress is smaller than 1.

Properties

Data

public byte[] Data { get; }

Property Value

byte[]

Name

Human-readable command according to the specification.

public string Name { get; }

Property Value

string