Table of Contents

Class CreateMoveAbsolutePayload

Namespace
Harp.StepperDriver
Assembly
Harp.StepperDriver.dll

Represents an operator that creates a message payload that moves all motors to the absolute position written in this array register. If a motor is disable, the user should set the value to 0.

public class CreateMoveAbsolutePayload
Inheritance
CreateMoveAbsolutePayload
Derived
Inherited Members

Properties

Motor0

Gets or sets a value that contains the absolute position to move motor 0.

public int Motor0 { get; set; }

Property Value

int

Motor1

Gets or sets a value that contains the absolute position to move motor 1.

public int Motor1 { get; set; }

Property Value

int

Motor2

Gets or sets a value that contains the absolute position to move motor 2.

public int Motor2 { get; set; }

Property Value

int

Motor3

Gets or sets a value that contains the absolute position to move motor 3.

public int Motor3 { get; set; }

Property Value

int

Methods

GetMessage(MessageType)

Creates a message that moves all motors to the absolute position written in this array register. If a motor is disable, the user should set the value to 0.

public HarpMessage GetMessage(MessageType messageType)

Parameters

messageType MessageType

Specifies the type of the created message.

Returns

HarpMessage

A new message for the MoveAbsolute register.

GetPayload()

Creates a message payload for the MoveAbsolute register.

public MoveAbsolutePayload GetPayload()

Returns

MoveAbsolutePayload

The created message payload value.