Class: Gpws
A Boeing GPWS system.
Constructors
constructor
• new Gpws(bus
, facLoader
): Gpws
Creates a new instance of Gpws.
Parameters
Name | Type | Description |
---|---|---|
bus | EventBus | The event bus. |
facLoader | FacilityLoader | The facility loader. |
Returns
Defined in
workingtitle-instruments-wt21/shared/Systems/gpws/Gpws.ts:94
Methods
addModule
▸ addModule(module
): this
Adds a module to this system.
Parameters
Name | Type | Description |
---|---|---|
module | GpwsModule | The 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
Name | Type | Description |
---|---|---|
isPowered | boolean | Whether this system is powered. |
Returns
void
Defined in
workingtitle-instruments-wt21/shared/Systems/gpws/Gpws.ts:198