Ref T275, allow to disable airspace watchdog (needed when debugging to avoid timeouts)

This commit is contained in:
Klaus Basan
2018-06-10 20:59:45 +02:00
parent 444c7a18ba
commit 70c15f62cd
6 changed files with 42 additions and 15 deletions

View File

@@ -303,6 +303,14 @@ namespace BlackCore
m_bookingsRequested = true;
}
void CAirspaceMonitor::enableWatchdog(bool enable)
{
if (this->analyzer())
{
this->analyzer()->setEnabled(enable);
}
}
void CAirspaceMonitor::testCreateDummyOnlineAtcStations(int number)
{
if (number < 1) { return; }