Class: InstrumentConfig
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/InstrumentConfig/InstrumentConfig.ts:16
A configuration object which defines options for a G3X Touch instrument.
Constructors
Constructor
new InstrumentConfig(
instrument,avionicsConfig,configDocument,instrumentConfigElement):InstrumentConfig
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/InstrumentConfig/InstrumentConfig.ts:57
Creates an InstrumentConfig from an XML configuration document.
Parameters
| Parameter | Type | Description |
|---|---|---|
instrument | BaseInstrument | The instrument for which this config is being created. |
avionicsConfig | AvionicsConfig | The general avionics configuration object. |
configDocument | Document | An XML configuration document. |
instrumentConfigElement | undefined | Element | The root element of the configuration document's section pertaining to the config's instrument. |
Returns
InstrumentConfig
Properties
airspeedIndicator
readonlyairspeedIndicator:AirspeedIndicatorConfig
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/InstrumentConfig/InstrumentConfig.ts:38
A config which defines options for the airspeed indicator.
backlight
readonlybacklight:BacklightConfig
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/InstrumentConfig/InstrumentConfig.ts:29
A config which defines backlight options.
bingMapOptimization
readonlybingMapOptimization:BingMapOptimizationConfig
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/InstrumentConfig/InstrumentConfig.ts:47
A config which defines options for bing map optimization.
gduFormat
readonlygduFormat:GduFormat
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/InstrumentConfig/InstrumentConfig.ts:20
The instrument's GDU format.
horizon
readonlyhorizon:HorizonConfig
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/InstrumentConfig/InstrumentConfig.ts:35
A config which defines options for the horizon display.
pfdTrimFlapGauges
readonlypfdTrimFlapGauges:PfdTrimFlapGaugesConfig
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/InstrumentConfig/InstrumentConfig.ts:44
A config which defines options for the instrument's PFD trim/flap gauges.
type
readonlytype:InstrumentType
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/InstrumentConfig/InstrumentConfig.ts:23
The instrument's configured type.
typeIndex
readonlytypeIndex:number
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/InstrumentConfig/InstrumentConfig.ts:26
The instrument's configured type index.
vsi
readonlyvsi:G3XVsiConfig
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/InstrumentConfig/InstrumentConfig.ts:41
A config which defines options for the vertical speed indicator.
vSpeeds
readonlyvSpeeds: readonlyVSpeedDefinition[]
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/InstrumentConfig/InstrumentConfig.ts:32
Reference V-speed definitions.