mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 16:19:19 +02:00
Merge remote-tracking branch 'youby/master' into sim
This commit is contained in:
@@ -779,6 +779,16 @@ struct speed_control {
|
||||
double PowerDownSpeed = 1000;
|
||||
};
|
||||
|
||||
struct inverter {
|
||||
double Freal = 0.0;
|
||||
double Request = 0.0;
|
||||
bool IsActive = true;
|
||||
bool Activate = true;
|
||||
bool Error = false;
|
||||
bool Failure_Drive = false;
|
||||
bool Failure_Const = false;
|
||||
};
|
||||
|
||||
class TMoverParameters
|
||||
{ // Ra: wrapper na kod pascalowy, przejmujący jego funkcje Q: 20160824 - juz nie wrapper a klasa bazowa :)
|
||||
private:
|
||||
@@ -1121,6 +1131,11 @@ public:
|
||||
double Spg = 0.0;
|
||||
double MinCompressor = 0.0;
|
||||
double MaxCompressor = 0.0;
|
||||
double MinCompressor_cabA = 0.0;
|
||||
double MaxCompressor_cabA = 0.0;
|
||||
double MinCompressor_cabB = 0.0;
|
||||
double MaxCompressor_cabB = 0.0;
|
||||
bool CabDependentCompressor = false;
|
||||
double CompressorSpeed = 0.0;
|
||||
int CompressorList[4][9]; // pozycje świateł, przód - tył, 1 .. 16
|
||||
double EmergencyValveOn = 0.0;
|
||||
@@ -1149,6 +1164,9 @@ public:
|
||||
bool MBrake = false; /*Czy jest hamulec reczny*/
|
||||
double StopBrakeDecc = 0.0;
|
||||
bool ReleaseParkingBySpringBrake { false };
|
||||
bool ReleaseParkingBySpringBrakeWhenDoorIsOpen{ false };
|
||||
bool SpringBrakeCutsOffDrive { true };
|
||||
double SpringBrakeDriveEmergencyVel { -1 };
|
||||
TSecuritySystem SecuritySystem;
|
||||
int EmergencyBrakeWarningSignal{ 0 }; // combined with basic WarningSignal when manual emergency brake is active
|
||||
TUniversalCtrlTable UniCtrlList; /*lista pozycji uniwersalnego nastawnika*/
|
||||
@@ -1279,6 +1297,9 @@ public:
|
||||
bool EIMCLogForce = false; //
|
||||
static std::vector<std::string> const eimc_labels;
|
||||
double InverterFrequency { 0.0 }; // current frequency of power inverters
|
||||
int InvertersNo = 0; // number of inverters
|
||||
double InvertersRatio = 0.0;
|
||||
std::vector<inverter> Inverters; //all inverters
|
||||
/* -dla pojazdów z blendingiem EP/ED (MED) */
|
||||
double MED_Vmax = 0; // predkosc maksymalna dla obliczen chwilowej sily hamowania EP w MED
|
||||
double MED_Vmin = 0; // predkosc minimalna dla obliczen chwilowej sily hamowania EP w MED
|
||||
|
||||
Reference in New Issue
Block a user