Skip to main content

Class: Gpws

Defined in: workingtitle-instruments-wt21/shared/Systems/gpws/Gpws.ts:16

A Boeing GPWS system.

Constructors​

Constructor​

new Gpws(bus, facLoader): Gpws

Defined in: workingtitle-instruments-wt21/shared/Systems/gpws/Gpws.ts:94

Creates a new instance of Gpws.

Parameters​

ParameterTypeDescription
busEventBusThe event bus.
facLoaderFacilityLoaderThe facility loader.

Returns​

Gpws

Methods​

addModule()​

addModule(module): this

Defined in: workingtitle-instruments-wt21/shared/Systems/gpws/Gpws.ts:120

Adds a module to this system.

Parameters​

ParameterTypeDescription
moduleGpwsModuleThe module to add.

Returns​

this

This system, after the module has been added.


destroy()​

destroy(): void

Defined in: workingtitle-instruments-wt21/shared/Systems/gpws/Gpws.ts:316

Destroys this system.

Returns​

void


init()​

init(): void

Defined in: workingtitle-instruments-wt21/shared/Systems/gpws/Gpws.ts:134

Initializes this system. Once this system is initialized, it will begin collecting data and updating its modules.

Returns​

void

Throws​

Error if this system has been destroyed.


isPowered()​

isPowered(): boolean

Defined in: workingtitle-instruments-wt21/shared/Systems/gpws/Gpws.ts:190

Checks if this system is powered.

Returns​

boolean

Whether this is system is powered.


setPowered()​

setPowered(isPowered): void

Defined in: workingtitle-instruments-wt21/shared/Systems/gpws/Gpws.ts:198

Sets whether this system is powered.

Parameters​

ParameterTypeDescription
isPoweredbooleanWhether this system is powered.

Returns​

void