Skip to main content

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​

ParameterTypeDescription
instrumentBaseInstrumentThe instrument for which this config is being created.
avionicsConfigAvionicsConfigThe general avionics configuration object.
configDocumentDocumentAn XML configuration document.
instrumentConfigElementundefined | ElementThe root element of the configuration document's section pertaining to the config's instrument.

Returns​

InstrumentConfig

Properties​

airspeedIndicator​

readonly airspeedIndicator: 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​

readonly backlight: BacklightConfig

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/InstrumentConfig/InstrumentConfig.ts:29

A config which defines backlight options.


bingMapOptimization​

readonly bingMapOptimization: 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​

readonly gduFormat: GduFormat

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/InstrumentConfig/InstrumentConfig.ts:20

The instrument's GDU format.


horizon​

readonly horizon: 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​

readonly pfdTrimFlapGauges: 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​

readonly type: InstrumentType

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/InstrumentConfig/InstrumentConfig.ts:23

The instrument's configured type.


typeIndex​

readonly typeIndex: number

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/InstrumentConfig/InstrumentConfig.ts:26

The instrument's configured type index.


vsi​

readonly vsi: 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​

readonly vSpeeds: readonly VSpeedDefinition[]

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/InstrumentConfig/InstrumentConfig.ts:32

Reference V-speed definitions.