mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 11:05:33 +08:00
resolved pressure constants 1013.2hPa != 29.92inHg
This commit is contained in:
@@ -40,15 +40,35 @@ public:
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Standard pressure 1013,25mbar / 29.92inHg
|
||||
* \brief International Standard Atmosphere pressure at mean sea level, 1013.25hPa
|
||||
* \return
|
||||
*/
|
||||
static const CPressure& InternationalStandardSeaLevelPressure()
|
||||
static const CPressure& ISASeaLevelPressure()
|
||||
{
|
||||
static CPressure p(1013.25, CPressureUnit::hPa());
|
||||
return p;
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief ICAO standard pressure datum for flight levels, 1013.2hPa
|
||||
* \return
|
||||
*/
|
||||
static const CPressure& ICAOFlightLevelPressure()
|
||||
{
|
||||
static CPressure p(1013.2, CPressureUnit::hPa());
|
||||
return p;
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Standard pressure datum for flight levels in USA, Canada, parts of Latin America, 29.92inHg
|
||||
* \return
|
||||
*/
|
||||
static const CPressure& USFlightLevelPressure()
|
||||
{
|
||||
static CPressure p(29.92, CPressureUnit::inHg());
|
||||
return p;
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Unicom frequency
|
||||
* \return
|
||||
|
||||
Reference in New Issue
Block a user