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