Ref T609, tristate LED showing if synced with simulator com

This commit is contained in:
Klaus Basan
2019-04-20 01:03:53 +02:00
parent 90373c3a34
commit 2d654e2fef
7 changed files with 51 additions and 13 deletions

View File

@@ -91,6 +91,8 @@ namespace BlackGui
//! @}
private:
bool m_integratedWithSim = false; //!< Synced with simulator
//! Init LEDs
void initLeds();
@@ -109,6 +111,9 @@ namespace BlackGui
//! Update UI for COM unit
void updateActiveCOMUnitLEDs(bool integratedWithSim, bool com1S, bool com1R, bool com2S, bool com2R);
//! Update from simulator context
void updateIntegrateFromSimulatorContext();
//! Compare 2 frequencies (consider epsilon)
static bool isFrequenceEqual(double f1, double f2);