mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-08-05 17:05:57 +08:00
Improved samples and debugging information
* DBus test for CSimulatedAircraft * Output of metatypes in GUI/core * Changed output from qDebug() to QTextStream * Variant test for CSimulatedAircraft
This commit is contained in:
@@ -246,7 +246,7 @@ namespace BlackMiscTest
|
||||
}
|
||||
|
||||
/*
|
||||
* Ping aircrafts
|
||||
* Ping aircraft
|
||||
*/
|
||||
CAircraftList Testservice::pingAircraftList(const CAircraftList &aircraftList)
|
||||
{
|
||||
@@ -326,6 +326,15 @@ namespace BlackMiscTest
|
||||
return aircraft;
|
||||
}
|
||||
|
||||
/*
|
||||
* Ping simulated aircraft
|
||||
*/
|
||||
Simulation::CSimulatedAircraft Testservice::pingSimulatedAircraft(const Simulation::CSimulatedAircraft &aircraft)
|
||||
{
|
||||
qDebug() << "Pid:" << ServiceTool::getPid() << "ping simulated aircraft:" << aircraft;
|
||||
return aircraft;
|
||||
}
|
||||
|
||||
/*
|
||||
* Ping variant
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user