16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 16:19:19 +02:00

Merge pull request #79 from xingzihai/engine-overheat

feat: add EngineMaxTemperature support for diesel locomotive overheat detection
This commit is contained in:
2026-04-14 20:49:37 +02:00
committed by GitHub
2 changed files with 7 additions and 2 deletions

View File

@@ -1056,7 +1056,7 @@ class TMoverParameters
bool is_warm{false}; // fluid is too hot
bool is_hot{false}; // fluid temperature crossed cooling threshold
bool is_flowing{false}; // fluid is being pushed through the circuit
} water, water_aux, oil;
} water, water_aux, oil, engine;
// output, state of affected devices
bool PA{false}; // malfunction flag
float rpmw{0.0}; // current main circuit fan revolutions