Table of Contents

Class CreateDigitalInputStatePayload

Namespace
Harp.Behavior
Assembly
Harp.Behavior.dll

Represents an operator that creates a message payload that reflects the state of DI digital lines of each Port.

public class CreateDigitalInputStatePayload
Inheritance
CreateDigitalInputStatePayload
Derived
Inherited Members

Properties

DigitalInputState

Gets or sets the value that reflects the state of DI digital lines of each Port.

public DigitalInputs DigitalInputState { get; set; }

Property Value

DigitalInputs

Methods

GetMessage(MessageType)

Creates a message that reflects the state of DI digital lines of each Port.

public HarpMessage GetMessage(MessageType messageType)

Parameters

messageType MessageType

Specifies the type of the created message.

Returns

HarpMessage

A new message for the DigitalInputState register.

GetPayload()

Creates a message payload for the DigitalInputState register.

public DigitalInputs GetPayload()

Returns

DigitalInputs

The created message payload value.