Class CreateDigitalInputStatePayload
- Namespace
- Harp.StepperDriver
- Assembly
- Harp.StepperDriver.dll
Represents an operator that creates a message payload that reflects the state of the digital input lines.
public class CreateDigitalInputStatePayload
- Inheritance
-
CreateDigitalInputStatePayload
- Derived
- Inherited Members
Properties
DigitalInputState
Gets or sets the value that reflects the state of the digital input lines.
public DigitalInputStates DigitalInputState { get; set; }
Property Value
Methods
GetMessage(MessageType)
Creates a message that reflects the state of the digital input lines.
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 DigitalInputStates GetPayload()
Returns
- DigitalInputStates
The created message payload value.