Method GetMessage
- Namespace
- Harp.TimestampGeneratorGen3
- Assembly
- Harp.TimestampGeneratorGen3.dll
GetMessage(double, MessageType)
Creates a timestamped message that reads the current battery charge.
public HarpMessage GetMessage(double timestamp, MessageType messageType)
Parameters
timestampdoubleThe timestamp of the message payload, in seconds.
messageTypeMessageTypeSpecifies the type of the created message.
Returns
- HarpMessage
A new timestamped message for the Battery register.