Class CreateDO2TargetChannelPayload
- Namespace
- Harp.AnalogInput
- Assembly
- Harp.AnalogInput.dll
Represents an operator that creates a message payload that target ADC channel that will be used to trigger a threshold event on DO2 pin.
public class CreateDO2TargetChannelPayload
- Inheritance
-
CreateDO2TargetChannelPayload
- Derived
- Inherited Members
Properties
DO2TargetChannel
Gets or sets the value that target ADC channel that will be used to trigger a threshold event on DO2 pin.
public AdcChannel DO2TargetChannel { get; set; }
Property Value
Methods
GetMessage(MessageType)
Creates a message that target ADC channel that will be used to trigger a threshold event on DO2 pin.
public HarpMessage GetMessage(MessageType messageType)
Parameters
messageType
MessageTypeSpecifies the type of the created message.
Returns
- HarpMessage
A new message for the DO2TargetChannel register.
GetPayload()
Creates a message payload for the DO2TargetChannel register.
public AdcChannel GetPayload()
Returns
- AdcChannel
The created message payload value.