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