Skip to content

Commit 43c9bc1

Browse files
authored
Merge pull request #864 from SteelFill/undesired-emergency-fixes
Fixes for Undesired Emergency Applications
2 parents 9a8e6af + e71bc5a commit 43c9bc1

File tree

4 files changed

+140
-16
lines changed

4 files changed

+140
-16
lines changed

Source/Orts.Simulation/Simulation/RollingStocks/SubSystems/Brakes/BrakeSystem.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ public abstract class BrakeSystem
4040
public float BrakePipeVolumeM3 = 1.4e-2f; // volume of a single brake line
4141
public bool ControllerRunningLock = false; // Stops Running controller from becoming active until BP = EQ Res, used in EQ vacuum brakes
4242
public float BrakeCylFraction;
43+
public float AngleCockOpeningTime = 30.0f; // Time taken to fully open a closed anglecock
4344

4445
/// <summary>
4546
/// Front brake hoses connection status
@@ -49,10 +50,14 @@ public abstract class BrakeSystem
4950
/// Front angle cock opened/closed status
5051
/// </summary>
5152
public bool AngleCockAOpen = true;
53+
public float AngleCockAOpenAmount = 1.0f; // 0 - anglecock fully closed, 1 - anglecock fully open, allows for partial opening
54+
public float? AngleCockAOpenTime = null; // Time elapsed since anglecock open command was sent
5255
/// <summary>
5356
/// Rear angle cock opened/closed status
5457
/// </summary>
5558
public bool AngleCockBOpen = true;
59+
public float AngleCockBOpenAmount = 1.0f; // 0 - anglecock fully closed, 1 - anglecock fully open, allows for partial opening
60+
public float? AngleCockBOpenTime = null; // Time elapsed since anglecock open command was sent
5661
/// <summary>
5762
/// Auxiliary brake reservoir vent valve open/closed status
5863
/// </summary>

0 commit comments

Comments
 (0)