Table of Contents

Class CreateSerialNumberPayload

Namespace
Bonsai.Harp
Assembly
Bonsai.Harp.dll

Represents an operator that creates a message payload that specifies the unique serial number of the device.

public class CreateSerialNumberPayload
Inheritance
CreateSerialNumberPayload
Derived
Inherited Members

Properties

SerialNumber

Gets or sets the value that specifies the unique serial number of the device.

public ushort SerialNumber { get; set; }

Property Value

ushort

Methods

GetMessage(MessageType)

Creates a message that specifies the unique serial number 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 SerialNumber register.

GetPayload()

Creates a message payload for the SerialNumber register.

public ushort GetPayload()

Returns

ushort

The created message payload value.