Class CreateDO1ThresholdPayload
- Namespace
- Harp.AnalogInput
- Assembly
- Harp.AnalogInput.dll
Represents an operator that creates a message payload that value used to threshold an ADC read, and trigger DO1 pin.
public class CreateDO1ThresholdPayload
- Inheritance
-
CreateDO1ThresholdPayload
- Derived
- Inherited Members
Properties
DO1Threshold
Gets or sets the value that value used to threshold an ADC read, and trigger DO1 pin.
public short DO1Threshold { get; set; }
Property Value
Methods
GetMessage(MessageType)
Creates a message that value used to threshold an ADC read, and trigger DO1 pin.
public HarpMessage GetMessage(MessageType messageType)
Parameters
messageType
MessageTypeSpecifies the type of the created message.
Returns
- HarpMessage
A new message for the DO1Threshold register.
GetPayload()
Creates a message payload for the DO1Threshold register.
public short GetPayload()
Returns
- short
The created message payload value.