mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-22 02:05:01 +01:00
Merge branch 'master' into feat/renderers-cleanup
This commit is contained in:
@@ -429,6 +429,10 @@ class TBrake
|
||||
double GetVRP() const; // cisnienie komory wstepnej rozdzielacza
|
||||
/// <summary>Returns control reservoir (ZS) pressure [bar]; defaults to the auxiliary reservoir for valves without a dedicated ZS.</summary>
|
||||
virtual double GetCRP(); // cisnienie zbiornika sterujacego
|
||||
/// <summary>Share of the full cylinder pressure the distributor settles at for the given share
|
||||
/// of the full service pipe drop. Used only to predict the brake force; the default is proportional.</summary>
|
||||
/// <param name="Ratio">Share of the full service brake pipe drop.</param>
|
||||
virtual double GetBrakeRatio(double const Ratio) const { return Ratio; }
|
||||
/// <summary>
|
||||
/// Sets the brake delay (G/P/R/M) selector if requested mode is supported.
|
||||
/// </summary>
|
||||
@@ -451,6 +455,11 @@ class TBrake
|
||||
/// <summary>Sets the rapid step ratio. Default no-op; overridden where supported.</summary>
|
||||
/// <param name="RMR">Rapid ratio.</param>
|
||||
virtual void SetRM(double const RMR) { /* no effect for this device type */ } // ustalenie przelozenia rapida
|
||||
/// <summary>Share of the full cylinder pressure the distributor delivers at the given speed
|
||||
/// while the vehicle is slowing down through it, for a vehicle set to R. Used only to predict
|
||||
/// the brake force; the default is the approximation BrakeForceR() has always used.</summary>
|
||||
/// <param name="Vel">Vehicle velocity [km/h].</param>
|
||||
virtual double GetRapidRatio(double const Vel) const { return Vel < 40.0 ? 0.5 : 1.0; }
|
||||
/// <summary>Sets the velocity threshold for the rapid step.</summary>
|
||||
/// <param name="RVR">Velocity threshold (same unit as Vel passed to GetPF).</param>
|
||||
virtual void SetRV(double const RVR)
|
||||
|
||||
Reference in New Issue
Block a user