Table of Contents

Class CreateDirectionPayload

Namespace
Harp.SyringePump
Assembly
Harp.SyringePump.dll

Represents an operator that creates a message payload that status of the DIR motor controller pin.

public class CreateDirectionPayload
Inheritance
CreateDirectionPayload
Derived
Inherited Members

Properties

Direction

Gets or sets the value that status of the DIR motor controller pin.

public DirectionState Direction { get; set; }

Property Value

DirectionState

Methods

GetMessage(MessageType)

Creates a message that status of the DIR motor controller pin.

public HarpMessage GetMessage(MessageType messageType)

Parameters

messageType MessageType

Specifies the type of the created message.

Returns

HarpMessage

A new message for the Direction register.

GetPayload()

Creates a message payload for the Direction register.

public DirectionState GetPayload()

Returns

DirectionState

The created message payload value.