Skip to main content

Class: TerrainSystemConfig

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Terrain/TerrainSystemConfig.ts:72

A configuration object which defines options related to terrain alerting systems.

Implements

Constructors

Constructor

new TerrainSystemConfig(baseInstrument, element, tawsElement): TerrainSystemConfig

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Terrain/TerrainSystemConfig.ts:109

Creates a new TerrainSystemConfig from a configuration document element.

Parameters

ParameterTypeDescription
baseInstrumentBaseInstrumentThe BaseInstrument element associated with the configuration.
elementundefined | ElementThe configuration document element from which to parse the configuration object.
tawsElementnull | ElementA configuration document element that defines a TAWS configuration object.

Returns

TerrainSystemConfig

Properties

isResolvableConfig

readonly isResolvableConfig: true = true

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Terrain/TerrainSystemConfig.ts:77

Flags this object as a ResolvableConfig.

Implementation of

ResolvableConfig.isResolvableConfig


moduleConfigs

readonly moduleConfigs: readonly TerrainSystemModuleConfig[]

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Terrain/TerrainSystemConfig.ts:83

Configuration objects defining the modules to be included by the terrain system.


pfdAnnuncOptions

readonly pfdAnnuncOptions: Readonly<PfdTerrainSystemAnnuncOptions>

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Terrain/TerrainSystemConfig.ts:101

Options for PFD terrain system annunciations.


primaryInhibitFlagDefs

readonly primaryInhibitFlagDefs: ReadonlyMap<string, Readonly<TerrainSystemModulePrimaryInhibitFlagDef>>

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Terrain/TerrainSystemConfig.ts:92

A map of terrain system alerts to their associated primary inhibit flag definitions.


settingsPageInhibitDefs

readonly settingsPageInhibitDefs: readonly Readonly<TerrainSystemSettingsPageInhibitDef>[]

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Terrain/TerrainSystemConfig.ts:98

An array of definitions for all GTC Terrain Settings page inhibit toggles. The definitions are in order of decreasing priority.


touchdownCallouts?

readonly optional touchdownCallouts: TouchdownCalloutsConfig

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Terrain/TerrainSystemConfig.ts:89

A config which defines options for touchdown callouts, or undefined if the terrain system does not support touchdown callouts.


type

readonly type: null | G3000TerrainSystemType

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Terrain/TerrainSystemConfig.ts:80

The terrain system type.

Methods

resolve()

resolve(): (bus, fms, dataProvider) => null | TerrainSystem

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Terrain/TerrainSystemConfig.ts:396

Resolves this config to a value.

Returns

This config's resolved value.

(bus, fms, dataProvider): null | TerrainSystem

Parameters
ParameterType
busEventBus
fmsFms<"">
dataProviderTerrainSystemDataProvider
Returns

null | TerrainSystem

Implementation of

ResolvableConfig.resolve