Open Rails

DefaultElectricPowerSupply Members

DefaultElectricPowerSupply overview

Public Instance Constructors

DefaultElectricPowerSupply Constructor Initializes a new instance of the DefaultElectricPowerSupply class.

Public Instance Fields

AuxPowerOnDelayS (inherited from AbstractPowerSupply) Auxiliary supply power on delay
ClockTime (inherited from AbstractScriptClass) Clock value (in seconds) for the simulation. Starts at activity start time.
CurrentAuxiliaryState (inherited from AbstractPowerSupply) Current state of the auxiliary power supply
CurrentCircuitBreakerState (inherited from ElectricPowerSupply) Current state of the circuit breaker
CurrentPantographState (inherited from ElectricPowerSupply) Current state of the pantograph
CurrentState (inherited from AbstractPowerSupply) Current state of the power supply
DistanceM (inherited from AbstractScriptClass) Running total of distance travelled - always positive, updated by train physics.
FilterVoltageV (inherited from ElectricPowerSupply) Voltage of the filter
LineVoltageV (inherited from ElectricPowerSupply) Line voltage
PowerOnDelayS (inherited from AbstractPowerSupply) Main supply power on delay
SetCurrentAuxiliaryState (inherited from AbstractPowerSupply) Sets the current state of the auxiliary power supply
SetCurrentState (inherited from AbstractPowerSupply) Sets the current state of the power supply
SetFilterVoltageV (inherited from ElectricPowerSupply) Sets the voltage of the filter

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type.
GetType (inherited from Object)Gets the type of the current instance.
Initialize
ToString (inherited from Object)Returns a string that represents the current object.
Update

Protected Instance Methods

Finalize (inherited from Object)Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

DefaultElectricPowerSupply Class | ORTS Namespace