Class GetTurnoutInfoCommand
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
frameBuilderIZ21FrameBuilderaddressCodecIAddressCodecaccessoryAddressushort
Exceptions
- ArgumentOutOfRangeException
Thrown when
accessoryAddressis smaller than 1.
Properties
Data
public byte[] Data { get; }
Property Value
- byte[]
Name
Human-readable command according to the specification.
public string Name { get; }