Ref T129, added callsign in flight plan and made flight plan timestamp interface compliant

This commit is contained in:
Klaus Basan
2017-10-01 00:10:01 +02:00
committed by Mathew Sutcliffe
parent 5f75943bbb
commit 1daa640972
6 changed files with 120 additions and 40 deletions

View File

@@ -81,7 +81,8 @@ namespace BlackMisc
const CFlightPlan &CTestData::getFlightPlan()
{
static const CFlightPlan fp("T/A320/F", "EDDF", "EDDM", "EDDN",
static const CFlightPlan fp(CCallsign("DAMBZ", CCallsign::Aircraft),
"T/A320/F", "EDDF", "EDDM", "EDDN",
QDateTime::currentDateTimeUtc(), QDateTime::currentDateTime().addSecs(600),
CTime(1.0, CTimeUnit::h()), CTime(2.0, CTimeUnit::h()),
CAltitude(10000, CAltitude::MeanSeaLevel, CLengthUnit::ft()), CSpeed(400, CSpeedUnit::kts()), CFlightPlan::IFR,