Table of Contents

Class CreateAnalogDataPayload

Namespace
Harp.AnalogInput
Assembly
Harp.AnalogInput.dll

Represents an operator that creates a message payload that value from a single read of all ADC channels.

public class CreateAnalogDataPayload
Inheritance
CreateAnalogDataPayload
Derived
Inherited Members

Properties

Channel0

Gets or sets a value to write on payload member Channel0.

public short Channel0 { get; set; }

Property Value

short

Channel1

Gets or sets a value to write on payload member Channel1.

public short Channel1 { get; set; }

Property Value

short

Channel2

Gets or sets a value to write on payload member Channel2.

public short Channel2 { get; set; }

Property Value

short

Channel3

Gets or sets a value to write on payload member Channel3.

public short Channel3 { get; set; }

Property Value

short

Methods

GetMessage(MessageType)

Creates a message that value from a single read of all ADC channels.

public HarpMessage GetMessage(MessageType messageType)

Parameters

messageType MessageType

Specifies the type of the created message.

Returns

HarpMessage

A new message for the AnalogData register.

GetPayload()

Creates a message payload for the AnalogData register.

public AnalogDataPayload GetPayload()

Returns

AnalogDataPayload

The created message payload value.