mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-12 23:35:33 +08:00
Ref T261, detect gnd.flag (from network) suppport, display gnd.flag info in UI
* add flag info in simulated aircraft * allow to display info in UI * unified naming to "contains" in situation list * updated client provider
This commit is contained in:
@@ -243,6 +243,16 @@ namespace BlackMisc
|
||||
m_onGroundDetails = CAircraftSituation::NotSetGroundDetails;
|
||||
}
|
||||
|
||||
bool CAircraftSituation::isOnGroundFromParts() const
|
||||
{
|
||||
return this->isOnGround() && this->getOnGroundDetails() == InFromParts;
|
||||
}
|
||||
|
||||
bool CAircraftSituation::isOnGroundFromNetwork() const
|
||||
{
|
||||
return this->isOnGround() && this->getOnGroundDetails() == InFromNetwork;
|
||||
}
|
||||
|
||||
const QString &CAircraftSituation::onGroundAsString() const
|
||||
{
|
||||
return CAircraftSituation::isOnGroundToString(this->getOnGround());
|
||||
|
||||
Reference in New Issue
Block a user