Table of Contents

Class CreateWhoAmIPayload

Namespace
Bonsai.Harp
Assembly
Bonsai.Harp.dll

Represents an operator that creates a message payload that specifies the identity class of the device.

public class CreateWhoAmIPayload
Inheritance
CreateWhoAmIPayload
Derived
Inherited Members

Properties

WhoAmI

Gets or sets the value that specifies the identity class of the device.

public int WhoAmI { get; set; }

Property Value

int

Methods

GetMessage(MessageType)

Creates a message that specifies the identity class of the device.

public HarpMessage GetMessage(MessageType messageType)

Parameters

messageType MessageType

Specifies the type of the created message.

Returns

HarpMessage

A new message for the WhoAmI register.

GetPayload()

Creates a message payload for the WhoAmI register.

public int GetPayload()

Returns

int

The created message payload value.