Table of Contents

Class ExternalPowerSource

Namespace
NominalSystems.Classes
Assembly
NominalSystems.Classes.dll

The external power source provides a constant power without changing at a particular wattage.

public class ExternalPowerSource : PowerSource, IPowerAttachment
Inheritance
ExternalPowerSource
Implements
Inherited Members

Constructors

ExternalPowerSource()

Default constructor

public ExternalPowerSource()

Fields

Wattage

[W] The constant power supplied by the external source

[EditableVariable("W", 0, false, "", "")]
public double Wattage

Field Value

double

Methods

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)