Skip to main content

Class: CasPowerStateManager

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/MFD/LowerMFD/Components/CAS/CasPowerStateManager.ts:6

A manager of CAS alert acknowledgement state in response to avionics power.

Constructors​

Constructor​

new CasPowerStateManager(bus): CasPowerStateManager

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/MFD/LowerMFD/Components/CAS/CasPowerStateManager.ts:18

Constructor.

Parameters​

ParameterTypeDescription
busEventBusThe event bus.

Returns​

CasPowerStateManager

Methods​

onPowerChanged()​

onPowerChanged(current, previous): void

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/MFD/LowerMFD/Components/CAS/CasPowerStateManager.ts:43

Responds to changes in the avionics power state.

Parameters​

ParameterTypeDescription
currentbooleanThe current power state.
previousboolean | undefinedThe previous power state.

Returns​

void