File tree Expand file tree Collapse file tree 3 files changed +20
-0
lines changed
Source/Orts.Simulation/Common/Scripting/PowerSupply Expand file tree Collapse file tree 3 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -84,6 +84,11 @@ public float DieselEngineMinRpm
8484 /// Driver's closing authorization of the traction cut-off relay
8585 /// </summary>
8686 public bool TractionCutOffRelayDriverClosingAuthorization ( ) => TractionCutOffRelay . DriverClosingAuthorization ;
87+
88+ /// <summary>
89+ /// Closing authorization of the traction cut-off relay
90+ /// </summary>
91+ public bool TractionCutOffRelayClosingAuthorization ( ) => TractionCutOffRelay . ClosingAuthorization ;
8792
8893 /// <summary>
8994 /// Sends an event to all diesel engines
Original file line number Diff line number Diff line change @@ -79,6 +79,11 @@ public abstract class DualModePowerSupply : LocomotivePowerSupply
7979 /// </summary>
8080 protected bool CircuitBreakerDriverClosingAuthorization => CircuitBreaker . DriverClosingAuthorization ;
8181
82+ /// <summary>
83+ /// Closing authorization of the circuit breaker
84+ /// </summary>
85+ protected bool CircuitBreakerClosingAuthorization => CircuitBreaker . ClosingAuthorization ;
86+
8287 /// <summary>
8388 /// Voltage of the pantograph
8489 /// </summary>
@@ -127,6 +132,11 @@ protected float FilterVoltageV
127132 /// </summary>
128133 protected bool TractionCutOffRelayDriverClosingAuthorization => TractionCutOffRelay . DriverClosingAuthorization ;
129134
135+ /// <summary>
136+ /// Closing authorization of the traction cut-off relay
137+ /// </summary>
138+ protected bool TractionCutOffRelayClosingAuthorization ( ) => TractionCutOffRelay . ClosingAuthorization ;
139+
130140 /// <summary>
131141 /// Current mode of the power supply
132142 /// </summary>
Original file line number Diff line number Diff line change @@ -80,6 +80,11 @@ public abstract class ElectricPowerSupply : LocomotivePowerSupply
8080 /// </summary>
8181 protected bool CircuitBreakerDriverClosingAuthorization ( ) => CircuitBreaker . DriverClosingAuthorization ;
8282
83+ /// <summary>
84+ /// Closing authorization of the circuit breaker
85+ /// </summary>
86+ protected bool CircuitBreakerClosingAuthorization ( ) => CircuitBreaker . ClosingAuthorization ;
87+
8388 /// <summary>
8489 /// Voltage of the pantograph
8590 /// </summary>
You can’t perform that action at this time.
0 commit comments