Skip to main content

Class: Gpws

A Boeing GPWS system.

Constructors

constructor

new Gpws(bus, facLoader): Gpws

Creates a new instance of Gpws.

Parameters

NameTypeDescription
busEventBusThe event bus.
facLoaderFacilityLoaderThe facility loader.

Returns

Gpws

Defined in

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

Methods

addModule

addModule(module): this

Adds a module to this system.

Parameters

NameTypeDescription
moduleGpwsModuleThe module to add.

Returns

this

This system, after the module has been added.

Defined in

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


destroy

destroy(): void

Destroys this system.

Returns

void

Defined in

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


init

init(): void

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.

Defined in

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


isPowered

isPowered(): boolean

Checks if this system is powered.

Returns

boolean

Whether this is system is powered.

Defined in

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


setPowered

setPowered(isPowered): void

Sets whether this system is powered.

Parameters

NameTypeDescription
isPoweredbooleanWhether this system is powered.

Returns

void

Defined in

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