Table of Contents

Class CreateEncoderModePayload

Namespace
Harp.Behavior
Assembly
Harp.Behavior.dll

Represents an operator that creates a message payload that configures the operation mode of the quadrature encoders.

public class CreateEncoderModePayload
Inheritance
CreateEncoderModePayload
Derived
Inherited Members

Properties

EncoderMode

Gets or sets the value that configures the operation mode of the quadrature encoders.

public EncoderModeConfig EncoderMode { get; set; }

Property Value

EncoderModeConfig

Methods

GetMessage(MessageType)

Creates a message that configures the operation mode of the quadrature encoders.

public HarpMessage GetMessage(MessageType messageType)

Parameters

messageType MessageType

Specifies the type of the created message.

Returns

HarpMessage

A new message for the EncoderMode register.

GetPayload()

Creates a message payload for the EncoderMode register.

public EncoderModeConfig GetPayload()

Returns

EncoderModeConfig

The created message payload value.