mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
Aircraft ICAO data should use ICAO code as attribute, this somehow got lost in the merge session, re-applied
This commit is contained in:
@@ -58,7 +58,11 @@ namespace BlackMiscTest
|
||||
aircraft.setCom1System(CComSystem::getCom1System(122.8, 118.75));
|
||||
aircraft.setCom2System(CComSystem::getCom2System(123.8, 124.00));
|
||||
aircraft.setTransponder(CTransponder::getStandardTransponder(7000, CTransponder::ModeC));
|
||||
aircraft.setIcaoInfo(CAircraftIcaoData("B737", "L2J", "DLH", "FREIGHT", "CCDDFF"));
|
||||
aircraft.setIcaoInfo(CAircraftIcaoData(
|
||||
CAircraftIcaoCode("B737", "L2J"),
|
||||
CAirlineIcaoCode("DLH"),
|
||||
"CCDDFF"
|
||||
));
|
||||
|
||||
json = aircraft.toJson();
|
||||
doc = QJsonDocument(json);
|
||||
|
||||
Reference in New Issue
Block a user