Class CreateDigitalOutputStatePayload
- Namespace
- Harp.AnalogInput
- Assembly
- Harp.AnalogInput.dll
Represents an operator that creates a message payload that write the state of all digital output lines. An event will be emitted when the value of any pin was changed by a threshold event.
public class CreateDigitalOutputStatePayload
- Inheritance
-
CreateDigitalOutputStatePayload
- Derived
- Inherited Members
Properties
DigitalOutputState
Gets or sets the value that write the state of all digital output lines. An event will be emitted when the value of any pin was changed by a threshold event.
public DigitalOutputs DigitalOutputState { get; set; }
Property Value
Methods
GetMessage(MessageType)
Creates a message that write the state of all digital output lines. An event will be emitted when the value of any pin was changed by a threshold event.
public HarpMessage GetMessage(MessageType messageType)
Parameters
messageType
MessageTypeSpecifies the type of the created message.
Returns
- HarpMessage
A new message for the DigitalOutputState register.
GetPayload()
Creates a message payload for the DigitalOutputState register.
public DigitalOutputs GetPayload()
Returns
- DigitalOutputs
The created message payload value.