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

Reverser buttons

This commit is contained in:
stele
2020-07-02 22:57:21 +02:00
parent fccb1c6c16
commit a0279e19d3
4 changed files with 85 additions and 12 deletions

View File

@@ -465,6 +465,9 @@ public: // reszta może by?publiczna
TGauge ggScndCtrl;
TGauge ggScndCtrlButton;
TGauge ggDirKey;
TGauge ggDirForwardButton;
TGauge ggDirNeutralButton;
TGauge ggDirBackwardButton;
TGauge ggBrakeCtrl;
TGauge ggLocalBrake;
TGauge ggAlarmChain;
@@ -789,6 +792,9 @@ private:
double m_brakehandlecp{ 0.0 };
int m_pantselection{ 0 };
bool m_doors{ false }; // helper, true if any door is open
bool m_dirforward{ false }; // helper, true if direction set to forward
bool m_dirneutral{ false }; // helper, true if direction set to neutral
bool m_dirbackward{ false }; // helper, true if direction set to backward
// ld substitute
bool m_couplingdisconnect { false };