You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
s+=string.Format(Simulator.Catalog.GetString(" BP {0}"),FormatStrings.FormatPressure(BrakeLine1PressurePSI,PressureUnit.PSI,units[BrakeSystemComponent.BrakePipe],true));
strings=string.Format(Simulator.Catalog.GetString(" BC {0}"),FormatStrings.FormatPressure(CylPressurePSI,PressureUnit.PSI,units[BrakeSystemComponent.BrakeCylinder],true));
Copy file name to clipboardExpand all lines: Source/Orts.Simulation/Simulation/RollingStocks/SubSystems/Brakes/MSTS/SingleTransferPipe.cs
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -72,11 +72,11 @@ public override string GetStatus(Dictionary<BrakeSystemComponent, PressureUnit>
72
72
// display differently depending upon whether vacuum or air braked system
73
73
if(Car.CarBrakeSystemType=="vacuum_piped")
74
74
{
75
-
returnstring.Format(Simulator.Catalog.GetString(" BP {0}"),FormatStrings.FormatPressure(Vac.FromPress(BrakeLine1PressurePSI),PressureUnit.InHg,PressureUnit.InHg,false));
@@ -85,20 +85,20 @@ public override string GetFullStatus(BrakeSystem lastCarBrakeSystem, Dictionary<
85
85
// display differently depending upon whether vacuum or air braked system
86
86
if(Car.CarBrakeSystemType=="vacuum_piped")
87
87
{
88
-
strings=string.Format(Simulator.Catalog.GetString(" V {0}"),FormatStrings.FormatPressure(Car.Train.EqualReservoirPressurePSIorInHg,PressureUnit.InHg,PressureUnit.InHg,true));
publicoverridestringGetStatus(Dictionary<BrakeSystemComponent,PressureUnit>units)// Status for last car in Main HUD
112
-
{
113
-
returnstring.Format(Simulator.Catalog.GetString(" BP {0}"),FormatStrings.FormatPressure(Vac.FromPress(BrakeLine1PressurePSI),PressureUnit.InHg,PressureUnit.InHg,false));
publicoverridestringGetFullStatus(BrakeSystemlastCarBrakeSystem,Dictionary<BrakeSystemComponent,PressureUnit>units)// Status for Main HUD view (calls above as well)
s+=string.Format(Simulator.Catalog.GetString(" V {0}"),FormatStrings.FormatPressure(Vac.FromPress(BrakeLine1PressurePSI),PressureUnit.InHg,PressureUnit.InHg,true));
s=string.Format(Simulator.Catalog.GetString("Lead BP {0}"),FormatStrings.FormatPressure(Vac.FromPress(BrakeLine1PressurePSI),PressureUnit.InHg,PressureUnit.InHg,true));
0 commit comments