Table of Contents

Class CreateEnableDriverPayload

Namespace
Harp.StepperDriver
Assembly
Harp.StepperDriver.dll

Represents an operator that creates a message payload that enables the driver for a specific motor. If the driver is already enabled, the driver remains enabled.

public class CreateEnableDriverPayload
Inheritance
CreateEnableDriverPayload
Derived
Inherited Members

Properties

EnableDriver

Gets or sets the value that enables the driver for a specific motor. If the driver is already enabled, the driver remains enabled.

public StepperMotors EnableDriver { get; set; }

Property Value

StepperMotors

Methods

GetMessage(MessageType)

Creates a message that enables the driver for a specific motor. If the driver is already enabled, the driver remains enabled.

public HarpMessage GetMessage(MessageType messageType)

Parameters

messageType MessageType

Specifies the type of the created message.

Returns

HarpMessage

A new message for the EnableDriver register.

GetPayload()

Creates a message payload for the EnableDriver register.

public StepperMotors GetPayload()

Returns

StepperMotors

The created message payload value.