mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-13 15:45:42 +08:00
Ref T609, tristate LED showing if synced with simulator com
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user