Class ExternalPowerSource
- Namespace
- NominalSystems.Classes
- Assembly
- NominalSystems.Classes.dll
[Nominal] The external power source provides a constant power without changing at a particular wattage.
public class ExternalPowerSource : PowerSource
- Inheritance
-
ExternalPowerSource
Constructors
ExternalPowerSource()
Default constructor
protected ExternalPowerSource()
Fields
Wattage
The constant power supplied by the external source
[Unit(UnitType.WATT)]
[Range(0, 1.7976931348623157E+308)]
public double Wattage
Field Value
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)