Class CreateDigitalInputStatePayload
- Namespace
- Harp.SyringePump
- Assembly
- Harp.SyringePump.dll
Represents an operator that creates a message payload that status of the digital input pin.
public class CreateDigitalInputStatePayload
- Inheritance
-
CreateDigitalInputStatePayload
- Derived
- Inherited Members
Properties
DigitalInputState
Gets or sets the value that status of the digital input pin.
public DigitalInputs DigitalInputState { get; set; }
Property Value
Methods
GetMessage(MessageType)
Creates a message that status of the digital input pin.
public HarpMessage GetMessage(MessageType messageType)
Parameters
messageType
MessageTypeSpecifies the type of the created message.
Returns
- HarpMessage
A new message for the DigitalInputState register.
GetPayload()
Creates a message payload for the DigitalInputState register.
public DigitalInputs GetPayload()
Returns
- DigitalInputs
The created message payload value.