Table of Contents

Class PowerMonitor

Namespace
NominalSystems.Classes
Assembly
NominalSystems.Classes.dll

A power monitor is able to produce metrics from the power system and allow for enabling and disabling of particular component powers.

public class PowerMonitor : Component, IPowerAttachment
Inheritance
PowerMonitor
Implements
Inherited Members

Constructors

PowerMonitor()

Default constructor

public PowerMonitor()

Fields

Out_PowerMonitorMsg

The message with updates about the current system

public PowerMonitorMessage Out_PowerMonitorMsg

Field Value

PowerMonitorMessage

Methods

Connect(PowerBus)

Connects to a particular power bus and is able to start returning data from it.

public void Connect(PowerBus bus)

Parameters

bus PowerBus

The bus to connect to

OnUpdate(double, double)

Called when the 'Component' should update

protected override void OnUpdate(double time, double step)

Parameters

time double

current time (seconds)

step double

the time step (seconds)