Table of Contents

Class TransmitterStorageModel

Namespace
NominalSystems.Classes
Assembly
NominalSystems.Classes.dll

[Nominal] This implements a model on the transmitter that can be connected to a partitioned storage system and pulls data from the buffer and attempts to transmit the messages whenever in access.


public class TransmitterStorageModel : UniverseModel<Transmitter>
Inheritance
TransmitterStorageModel

Constructors

TransmitterStorageModel()

Default constructor

protected TransmitterStorageModel()

Fields

ForceTransmit

This flag overrides the Access message and attempts to transmit regardless if it is valid.

public bool ForceTransmit

Field Value

bool

In_AccessMsg

A reference to the access message between a ground station and the spacecraft that this transmitter is added to.

public AccessMessage? In_AccessMsg

Field Value

AccessMessage

MessageWriter

A reference to the message writer associated with the transmitter that can be used for sending data.

public DataStorageMessageWriter? MessageWriter

Field Value

DataStorageMessageWriter

Methods

OnUpdate(double, double)

Called when the object should update from the simulation tick. This will take in a time and a step, where the time is the time of the clock before updating the object.

protected override void OnUpdate(double time, double step)

Parameters

time double

[s] Current time of the simulation before the update

step double

[s] The time-step to update during this tick