Table of Contents

Class CreateMortor1AccumulatedStepsPayload

Namespace
Harp.StepperDriver
Assembly
Harp.StepperDriver.dll

Represents an operator that creates a message payload that contains the accumulated number of steps of motor 1. Write a value to set the current number of accumulated steps.

public class CreateMortor1AccumulatedStepsPayload
Inheritance
CreateMortor1AccumulatedStepsPayload
Derived
Inherited Members

Properties

Mortor1AccumulatedSteps

Gets or sets the value that contains the accumulated number of steps of motor 1. Write a value to set the current number of accumulated steps.

public int Mortor1AccumulatedSteps { get; set; }

Property Value

int

Methods

GetMessage(MessageType)

Creates a message that contains the accumulated number of steps of motor 1. Write a value to set the current number of accumulated steps.

public HarpMessage GetMessage(MessageType messageType)

Parameters

messageType MessageType

Specifies the type of the created message.

Returns

HarpMessage

A new message for the Mortor1AccumulatedSteps register.

GetPayload()

Creates a message payload for the Mortor1AccumulatedSteps register.

public int GetPayload()

Returns

int

The created message payload value.