Class TelemetryPacket
- Namespace
- NominalSystems.Classes
- Assembly
- NominalSystems.Classes.dll
A telemetry packet is able to store a data packet message, which contains a list of data by bytes, within a timed payload. The time defines the time at which the message was created and not when it was transmitted or received. It is the time in seconds since the beginning of the simulation and is not related to the Epoch of the message. This class is not a message as it does not belong to the messaging system, and is instead used for transmitting information between a receiver and a transmitter.
public class TelemetryPacket
- Inheritance
-
TelemetryPacket
Constructors
TelemetryPacket()
Default constructor for the packet, which just sets up the default parameters.
public TelemetryPacket()
Fields
Key
The key name of the telemetry message, which is used for looking up commands of a specific type. [OPTIONAL]
[Units("-")]
public string Key
Field Value
Time
The timestamp of the message in seconds since the UTC start time (GPS) epoch. This is the number of elapsed seconds since the simulation has started.
[Units("s")]
public double Time
Field Value
Type
The type of the original message that was converted into bytes and being transmitted.
[Units("-")]
public Type? Type
Field Value
Properties
Packet
The message associated with this telemetry message.
[Units("-")]
public DataPacketMessage? Packet { get; set; }