Table of Contents

Class CreateTimestampedBatteryPayload

Namespace
Harp.TimestampGeneratorGen3
Assembly
Harp.TimestampGeneratorGen3.dll

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

public class CreateTimestampedBatteryPayload : CreateBatteryPayload
Inheritance
CreateTimestampedBatteryPayload
Inherited Members

Methods

GetMessage(double, MessageType)

Creates a timestamped message that reads the current battery charge.

public HarpMessage GetMessage(double timestamp, MessageType messageType)

Parameters

timestamp double

The timestamp of the message payload, in seconds.

messageType MessageType

Specifies the type of the created message.

Returns

HarpMessage

A new timestamped message for the Battery register.