Table of Contents

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

accessoryOutput AccessoryOutput

Select the decoder output

switchTime ushort

A 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 switchTime is bigger then 127

Properties

Payload

public byte Payload { get; }

Property Value

byte