Class CreateStopMotorsPayload
- Namespace
- Harp.StepperDriver
- Assembly
- Harp.StepperDriver.dll
Represents an operator that creates a message payload that stops the motors selected in the bit-mask immediately.
public class CreateStopMotorsPayload
- Inheritance
-
CreateStopMotorsPayload
- Derived
- Inherited Members
Properties
StopMotors
Gets or sets the value that stops the motors selected in the bit-mask immediately.
public StepperMotors StopMotors { get; set; }
Property Value
Methods
GetMessage(MessageType)
Creates a message that stops the motors selected in the bit-mask immediately.
public HarpMessage GetMessage(MessageType messageType)
Parameters
messageType
MessageTypeSpecifies the type of the created message.
Returns
- HarpMessage
A new message for the StopMotors register.
GetPayload()
Creates a message payload for the StopMotors register.
public StepperMotors GetPayload()
Returns
- StepperMotors
The created message payload value.