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