Class CreateMortor0AccumulatedStepsPayload
- Namespace
- Harp.StepperDriver
- Assembly
- Harp.StepperDriver.dll
Represents an operator that creates a message payload that contains the accumulated number of steps of motor 0. Write a value to set the current number of accumulated steps.
public class CreateMortor0AccumulatedStepsPayload
- Inheritance
-
CreateMortor0AccumulatedStepsPayload
- Derived
- Inherited Members
Properties
Mortor0AccumulatedSteps
Gets or sets the value that contains the accumulated number of steps of motor 0. Write a value to set the current number of accumulated steps.
public int Mortor0AccumulatedSteps { get; set; }
Property Value
Methods
GetMessage(MessageType)
Creates a message that contains the accumulated number of steps of motor 0. Write a value to set the current number of accumulated steps.
public HarpMessage GetMessage(MessageType messageType)
Parameters
messageType
MessageTypeSpecifies the type of the created message.
Returns
- HarpMessage
A new message for the Mortor0AccumulatedSteps register.
GetPayload()
Creates a message payload for the Mortor0AccumulatedSteps register.
public int GetPayload()
Returns
- int
The created message payload value.