File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Source/Orts.Simulation/Common/Scripting Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,11 @@ internal void AttachToHost(ScriptedBrakeController host)
7575 /// </summary>
7676 public bool IsCabPowerSupplyOn ( ) => LocomotivePowerSupply . CabPowerSupplyOn ;
7777
78+ /// <summary>
79+ /// Brake pipe pressure
80+ /// </summary>
81+ public float BrakePipePressureBar ( ) => Bar . FromPSI ( Host . Locomotive . BrakeSystem . BrakeLine1PressurePSI ) ;
82+
7883 /// <summary>
7984 /// Main reservoir pressure
8085 /// </summary>
@@ -135,7 +140,6 @@ public float MainReservoirPressureBar()
135140 /// Release rate of the equalizing reservoir
136141 /// </summary>
137142 public float MinReductionBar ( ) => Bar . FromPSI ( Host . MinReductionPSI ) ;
138-
139143 /// <summary>
140144 /// Current value of the brake controller
141145 /// </summary>
You can’t perform that action at this time.
0 commit comments