Class: EngineConfig
A configuration object which defines options related to the display of engine information.
Implements
Constructors
constructor
• new EngineConfig(baseInstrument
, element
): EngineConfig
Creates a new EngineConfig from a configuration document element.
Parameters
Name | Type | Description |
---|---|---|
baseInstrument | BaseInstrument | The BaseInstrument element associated with the configuration. |
element | undefined | Element | A configuration document element. |
Returns
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/AvionicsConfig/EngineConfig.ts:51
Properties
eisSize
• Readonly
eisSize: undefined
| EisSizes
The size of the EIS, or undefined
if the EIS is not included.
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/AvionicsConfig/EngineConfig.ts:41
includeEis
• Readonly
includeEis: boolean
Whether to include an EIS.
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/AvionicsConfig/EngineConfig.ts:38
includeEnginePage
• Readonly
includeEnginePage: boolean
Whether to include an MFD engine page.
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/AvionicsConfig/EngineConfig.ts:44
Methods
parseEis
▸ parseEis(bus
): undefined
| G3XEisDefinition
Parses an EIS definition object from this config.
Parameters
Name | Type | Description |
---|---|---|
bus | EventBus | The event bus. |
Returns
undefined
| G3XEisDefinition
The EIS definition object defined by this config, or undefined
if the EIS is not to be included.
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/AvionicsConfig/EngineConfig.ts:99
parseEnginePage
▸ parseEnginePage(bus
): undefined
| G3XEnginePageDefinition
Parses an engine page definition object from this config.
Parameters
Name | Type | Description |
---|---|---|
bus | EventBus | The event bus. |
Returns
undefined
| G3XEnginePageDefinition
The engine page definition object defined by this config, or undefined
if the engine page is not to be
included.
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/AvionicsConfig/EngineConfig.ts:125