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