Table of Contents

Class CreateDigitalOutputStatePayload

Namespace
Harp.LoadCells
Assembly
Harp.LoadCells.dll

Represents an operator that creates a message payload that write the state of all digital output lines. An event will be emitted when the value of any pin was changed by a threshold event.

public class CreateDigitalOutputStatePayload
Inheritance
CreateDigitalOutputStatePayload
Derived
Inherited Members

Properties

DigitalOutputState

Gets or sets the value that write the state of all digital output lines. An event will be emitted when the value of any pin was changed by a threshold event.

public DigitalOutputs DigitalOutputState { get; set; }

Property Value

DigitalOutputs

Methods

GetMessage(MessageType)

Creates a message that write the state of all digital output lines. An event will be emitted when the value of any pin was changed by a threshold event.

public HarpMessage GetMessage(MessageType messageType)

Parameters

messageType MessageType

Specifies the type of the created message.

Returns

HarpMessage

A new message for the DigitalOutputState register.

GetPayload()

Creates a message payload for the DigitalOutputState register.

public DigitalOutputs GetPayload()

Returns

DigitalOutputs

The created message payload value.