Table of Contents

Class CreateBatteryPayload

Namespace
Harp.TimestampGeneratorGen3
Assembly
Harp.TimestampGeneratorGen3.dll

Represents an operator that creates a message payload that reads the current battery charge.

public class CreateBatteryPayload
Inheritance
CreateBatteryPayload
Derived
Inherited Members

Properties

Battery

Gets or sets the value that reads the current battery charge.

public float Battery { get; set; }

Property Value

float

Methods

GetMessage(MessageType)

Creates a message that reads the current battery charge.

public HarpMessage GetMessage(MessageType messageType)

Parameters

messageType MessageType

Specifies the type of the created message.

Returns

HarpMessage

A new message for the Battery register.

GetPayload()

Creates a message payload for the Battery register.

public float GetPayload()

Returns

float

The created message payload value.