mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 01:05:34 +08:00
Ref T251, also set GND info for own aircraft
This commit is contained in:
@@ -84,6 +84,7 @@ namespace BlackMisc
|
||||
static const QString inter("interpolation");
|
||||
static const QString guess("guessing");
|
||||
static const QString unknown("unknown");
|
||||
static const QString ownAircraft("own aircraft");
|
||||
|
||||
switch (reliability)
|
||||
{
|
||||
@@ -91,6 +92,7 @@ namespace BlackMisc
|
||||
case CAircraftSituation::OnGroundByElevationAndCG: return elvCg;
|
||||
case CAircraftSituation::OnGroundByGuessing: return guess;
|
||||
case CAircraftSituation::OnGroundByInterpolation: return inter;
|
||||
case CAircraftSituation::OnGroundOwnAircraft: return ownAircraft;
|
||||
case CAircraftSituation::OnGroundReliabilityNoSet:
|
||||
default:
|
||||
return unknown;
|
||||
|
||||
@@ -75,11 +75,12 @@ namespace BlackMisc
|
||||
//! Reliability of on ground information
|
||||
enum OnGroundReliability
|
||||
{
|
||||
OnGroundByInterpolation, //!< strongest
|
||||
OnGroundByInterpolation, //!< strongest for remote aircraft
|
||||
OnGroundByElevationAndCG,
|
||||
OnGroundByElevation,
|
||||
OnGroundByGuessing, //!< weakest
|
||||
OnGroundReliabilityNoSet
|
||||
OnGroundReliabilityNoSet,
|
||||
OnGroundOwnAircraft, //!< sending on ground
|
||||
};
|
||||
|
||||
//! Default constructor.
|
||||
|
||||
Reference in New Issue
Block a user