Class: GarminUnitType
Defined in: src/garminsdk/math/GarminUnitType.ts:6
Predefined unit types for Garmin avionics.
Constructors
Constructor
new GarminUnitType():
GarminUnitType
Returns
GarminUnitType
Properties
GALLON_SIM_FUEL_NAME
readonly
static
GALLON_SIM_FUEL_NAME:"gallon sim fuel"
='gallon sim fuel'
Defined in: src/garminsdk/math/GarminUnitType.ts:16
The standard name for a weight unit equivalent to one gallon of fuel with the density given by the
FUEL WEIGHT PER GALLON
SimVar.
GPH_SIM_FUEL_NAME
readonly
static
GPH_SIM_FUEL_NAME:"gallon sim fuel per hour"
='gallon sim fuel per hour'
Defined in: src/garminsdk/math/GarminUnitType.ts:32
The standard name for a weight flux unit equivalent to one gallon of fuel per hour with the density given by the
FUEL WEIGHT PER GALLON
SimVar.
IGPH_SIM_FUEL_NAME
readonly
static
IGPH_SIM_FUEL_NAME:"imperial gallon sim fuel per hour"
='imperial gallon sim fuel per hour'
Defined in: src/garminsdk/math/GarminUnitType.ts:37
The standard name for a weight flux unit equivalent to one imperial gallon of fuel per hour with the density given
by the FUEL WEIGHT PER GALLON
SimVar.
IMP_GALLON_SIM_FUEL_NAME
readonly
static
IMP_GALLON_SIM_FUEL_NAME:"imperial gallon sim fuel"
='imperial gallon sim fuel'
Defined in: src/garminsdk/math/GarminUnitType.ts:21
The standard name for a weight unit equivalent to one imperial gallon of fuel with the density given by the
FUEL WEIGHT PER GALLON
SimVar.
LITER_SIM_FUEL_NAME
readonly
static
LITER_SIM_FUEL_NAME:"liter sim fuel"
='liter sim fuel'
Defined in: src/garminsdk/math/GarminUnitType.ts:11
The standard name for a weight unit equivalent to one liter of fuel with the density given by the
FUEL WEIGHT PER GALLON
SimVar.
LPH_SIM_FUEL_NAME
readonly
static
LPH_SIM_FUEL_NAME:"liter sim fuel per hour"
='liter sim fuel per hour'
Defined in: src/garminsdk/math/GarminUnitType.ts:27
The standard name for a weight flux unit equivalent to one liter of fuel per hour with the density given by the
FUEL WEIGHT PER GALLON
SimVar.
Methods
createFuelFlowUnits()
static
createFuelFlowUnits(weightUnits
): [Unit
<WeightFlux
>,Unit
<WeightFlux
>,Unit
<WeightFlux
>]
Defined in: src/garminsdk/math/GarminUnitType.ts:74
Creates a set of weight flux units that are equivalent to one liter, gallon, and imperial gallon of fuel per hour.
Parameters
Parameter | Type | Description |
---|---|---|
weightUnits | readonly [CompoundableUnit <Weight >, CompoundableUnit <Weight >, CompoundableUnit <Weight >] | An array containing the set of weight units that define the equivalent of one liter, gallon, and imperial gallon of fuel. |
Returns
[Unit
<WeightFlux
>, Unit
<WeightFlux
>, Unit
<WeightFlux
>]
An array containing a set of weight flux units that are equivalent to one liter, gallon, and imperial gallon of fuel per hour using the specified fuel weight units.
createSimFuelWeightUnits()
static
createSimFuelWeightUnits(): [CompoundableUnit
<Weight
>,CompoundableUnit
<Weight
>,CompoundableUnit
<Weight
>]
Defined in: src/garminsdk/math/GarminUnitType.ts:45
Creates a set of weight units that are equivalent to one liter, gallon, and imperial gallon of fuel with the
density given by the FUEL WEIGHT PER GALLON
SimVar.
Returns
[CompoundableUnit
<Weight
>, CompoundableUnit
<Weight
>, CompoundableUnit
<Weight
>]
An array containing a set of weight units that are equivalent to one liter, gallon, and imperial gallon
of fuel with the density given by the FUEL WEIGHT PER GALLON
SimVar.