Query real names for ATC stations again,

so we learn about changed "persons" (i.e. real name)

see https://discordapp.com/channels/539048679160676382/632279098244333581/655740912336633868
This commit is contained in:
Klaus Basan
2019-12-28 00:27:06 +01:00
committed by Mat Sutcliffe
parent 524a9b3793
commit b3ad7ccdd9
2 changed files with 49 additions and 15 deletions

View File

@@ -294,12 +294,19 @@ namespace BlackCore
int m_maxDistanceNM = 125; //!< position range / FSD range
int m_maxDistanceNMHysteresis = qRound(1.1 * m_maxDistanceNM);
// Processing interval
static constexpr int ProcessIntervalMs = 50; // in ms
QTimer m_processTimer;
// Processing for queries etc. (fast)
static constexpr int FastProcessIntervalMs = 50; //!< interval in ms
QTimer m_fastProcessTimer; //!< process timer for fast updates
//! Processing by timer
void process();
void fastProcessing();
// Processing for validations etc. (slow)
static constexpr int SlowProcessIntervalMs = 125 * 1000; //!< interval in ms
QTimer m_slowProcessTimer; //!< process timer for slow updates
//! Slow processing
void slowProcessing();
// model matching times
static constexpr qint64 MMCheckAgainMs = 2000;
@@ -321,6 +328,9 @@ namespace BlackCore
//! Network queries for ATC
void sendInitialAtcQueries(const BlackMisc::Aviation::CCallsign &callsign);
//! Query all online ATC stations
void queryAllOnlineAtcStations();
//! Network queries for ATIS
bool sendNextStaggeredAtisQuery();