Skip to main content

Class: CasDisplayController

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2/MFD/LowerMFD/Components/CAS/CasDisplayController.ts:15

Controller of Epic2 CAS window responsible for the display's logic.

Constructors​

Constructor​

new CasDisplayController(bus, casSystem): CasDisplayController

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2/MFD/LowerMFD/Components/CAS/CasDisplayController.ts:45

Creates an instance of CasController.

Parameters​

ParameterTypeDescription
busEventBusThe event bus to be used with this instance.
casSystemCasSystemThe instruments CAS system.

Returns​

CasDisplayController

Properties​

aboveAdvisory​

readonly aboveAdvisory: Subject<scrolledOffCounter>

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2/MFD/LowerMFD/Components/CAS/CasDisplayController.ts:31


aboveCaution​

readonly aboveCaution: Subject<scrolledOffCounter>

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2/MFD/LowerMFD/Components/CAS/CasDisplayController.ts:29


aboveStatus​

readonly aboveStatus: Subject<scrolledOffCounter>

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2/MFD/LowerMFD/Components/CAS/CasDisplayController.ts:33


belowAdvisory​

readonly belowAdvisory: Subject<scrolledOffCounter>

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2/MFD/LowerMFD/Components/CAS/CasDisplayController.ts:32


belowCaution​

readonly belowCaution: Subject<scrolledOffCounter>

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2/MFD/LowerMFD/Components/CAS/CasDisplayController.ts:30


belowStatus​

readonly belowStatus: Subject<scrolledOffCounter>

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2/MFD/LowerMFD/Components/CAS/CasDisplayController.ts:34


displayedAnnunciations​

readonly displayedAnnunciations: ArraySubject<CasActiveMessage>

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2/MFD/LowerMFD/Components/CAS/CasDisplayController.ts:26


hasAnnunciations​

readonly hasAnnunciations: Subject<boolean>

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2/MFD/LowerMFD/Components/CAS/CasDisplayController.ts:25


scrollDisabled​

readonly scrollDisabled: Subject<boolean>

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2/MFD/LowerMFD/Components/CAS/CasDisplayController.ts:35


MAX_VISIBLE_ROWS​

static MAX_VISIBLE_ROWS: number = 12

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2/MFD/LowerMFD/Components/CAS/CasDisplayController.ts:19

Methods​

addAnnunciation()​

protected addAnnunciation(idx, item): void

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2/MFD/LowerMFD/Components/CAS/CasDisplayController.ts:122

Add an annunciation to the active list.

Parameters​

ParameterTypeDescription
idxnumberThe index of the annunciations array for the annunciation.
itemCasActiveMessageThe annunciation configuration to add

Returns​

void


removeAnnunciation()​

protected removeAnnunciation(idx): void

Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2/MFD/LowerMFD/Components/CAS/CasDisplayController.ts:131

Remove an annunciation from the active list if present.

Parameters​

ParameterTypeDescription
idxnumberThe index of the annunciations array for the annunciation.

Returns​

void