Table of Contents

Class DataSubsystem

Namespace
NominalSystems.Classes
Assembly
NominalSystems.Classes.dll

The data subsystem handles the interactions between transmitters and receivers by creating the link blocks between each of the antenna nodes. This ensures that the appropriate links are created and altered if the bandwidths or frequency ranges change.

public class DataSubsystem : SimulationSystem
Inheritance
DataSubsystem
Inherited Members

Constructors

DataSubsystem()

public DataSubsystem()

Fields

LinkBlocks

A list of all link blocks for handling the updates

public List<LinkBlock> LinkBlocks

Field Value

List<LinkBlock>

Properties

The total number of links that are created

[EditableVariable("-", true, "", "")]
public int NumLinks { get; }

Property Value

int

Methods

Returns the link message between a receiver and a transmitter if it is valid and exists.

public DataLinkMessage? GetAntennaLink(Receiver receiver, Transmitter transmitter)

Parameters

receiver Receiver

The receiver antenna

transmitter Transmitter

The transmitter antenna

Returns

DataLinkMessage

The data link message

Returns an array of data link messages between two entities, such as a ground station and a spacecraft. These are all valid link messages.

public DataLinkMessage[] GetAntennaLinks(PhysicalObject entity1, PhysicalObject entity2)

Parameters

entity1 PhysicalObject

The first object

entity2 PhysicalObject

The second object

Returns

DataLinkMessage[]

A list of data link messages

OnDecodeMetadata(JObject)

Called after the "SimulationSystem" was loaded to handle additional metadata.

protected override void OnDecodeMetadata(JObject metadata)

Parameters

metadata JObject

OnReset(double)

Called when the 'SimulationSystem' is resetting

protected override void OnReset(double time)

Parameters

time double

reset time (seconds)

OnUpdate(double, double)

Called when the 'SimulationSystem' should update

protected override void OnUpdate(double time, double step)

Parameters

time double

elapsed time (seconds)

step double

the time step (seconds)