Class: SpeedConfig
Defined in: workingtitle-instruments-g1000/html_ui/Shared/Config/SpeedConfig.ts:28
A configuration object which defines a factory for an airspeed value presented as knots indicated airspeed.
The airspeed value can be defined from a specific indicated airspeed, mach number, true airspeed, or angle-of-attack value, from a one-dimensional lookup table of any of the previous value types keyed on pressure altitude, from an aircraft reference speed, or from an arbitrary event bus topic.
Implements
Constructors
Constructor
new SpeedConfig(
element):SpeedConfig
Defined in: workingtitle-instruments-g1000/html_ui/Shared/Config/SpeedConfig.ts:45
Creates a new SpeedConfig from a configuration document element.
Parameters
| Parameter | Type | Description |
|---|---|---|
element | Element | A configuration document element. |
Returns
SpeedConfig
Properties
isNumericConfig
readonlyisNumericConfig:true=true
Defined in: workingtitle-instruments-g1000/html_ui/Shared/Config/SpeedConfig.ts:33
Flags this object as a NumericConfig.
Implementation of
isResolvableConfig
readonlyisResolvableConfig:true=true
Defined in: workingtitle-instruments-g1000/html_ui/Shared/Config/SpeedConfig.ts:30
Flags this object as a ResolvableConfig.
Implementation of
NumericConfig.isResolvableConfig
type
readonlytype:SpeedConfigType
Defined in: workingtitle-instruments-g1000/html_ui/Shared/Config/SpeedConfig.ts:36
The type of this config.
value
readonlyvalue:string|number|LookupTableConfig
Defined in: workingtitle-instruments-g1000/html_ui/Shared/Config/SpeedConfig.ts:39
The value of this config.
Methods
resolve()
resolve(): (
context) =>NumericConfigResult
Defined in: workingtitle-instruments-g1000/html_ui/Shared/Config/SpeedConfig.ts:104
Resolves this config to a value.
Returns
This config's resolved value.
(
context):NumericConfigResult
Parameters
| Parameter | Type |
|---|---|
context | AirspeedDefinitionContext |