Ejemplo n.º 1
0
fixed
Units::ConvertUnits(fixed Value, Units_t From, Units_t To)
{
    return ToUserUnit(ToSysUnit(Value, From), To);
}
Ejemplo n.º 2
0
 static inline fixed
 ToSysWindSpeed(fixed value)
 {
   return ToSysUnit(value, current.wind_speed_unit);
 }
Ejemplo n.º 3
0
 static inline fixed
 ToSysPressure(fixed Value)
 {
   return ToSysUnit(Value, current.pressure_unit);
 }
Ejemplo n.º 4
0
 static inline fixed
 ToSysTaskSpeed(fixed value)
 {
   return ToSysUnit(value, current.task_speed_unit);
 }
Ejemplo n.º 5
0
 static inline fixed
 ToSysVSpeed(fixed value)
 {
   return ToSysUnit(value, current.vertical_speed_unit);
 }
Ejemplo n.º 6
0
 static inline fixed
 ToSysDistance(fixed value)
 {
   return ToSysUnit(value, current.distance_unit);
 }
Ejemplo n.º 7
0
 static inline fixed
 ToSysTemperature(fixed value)
 {
   return ToSysUnit(value, current.temperature_unit);
 }
Ejemplo n.º 8
0
 static inline fixed
 ToSysAltitude(fixed value)
 {
   return ToSysUnit(value, current.altitude_unit);
 }