Class SwitchDecoderPayload
- Namespace
- Z21.Core.Model.ExcAccessoryPayload
- Assembly
- Z21.Client.dll
The 10836 Z21 switch DECODER interprets the payload as "switch decoder with reception of switching time"
public class SwitchDecoderPayload : IExcAccessoryPayload
- Inheritance
-
SwitchDecoderPayload
- Implements
- Inherited Members
Constructors
SwitchDecoderPayload(AccessoryOutput, ushort)
The 10836 Z21 switch DECODER interprets the payload as "switch decoder with reception of switching time"
public SwitchDecoderPayload(AccessoryOutput accessoryOutput, ushort switchTime)
Parameters
accessoryOutputAccessoryOutputSelect the decoder output
switchTimeushortA value of 0 means that the output is switched off. A value of 127 means that the output is switched on permanently, i.e. until the next command to this address
Exceptions
- ArgumentOutOfRangeException
Thrown when
switchTimeis bigger then 127
Properties
Payload
public byte Payload { get; }