Class: CasDisplayController
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/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/Epic2v2/MFD/LowerMFD/Components/CAS/CasDisplayController.ts:45
Creates an instance of CasController.
Parameters
| Parameter | Type | Description |
|---|---|---|
bus | EventBus | The event bus to be used with this instance. |
casSystem | CasSystem | The instruments CAS system. |
Returns
CasDisplayController
Properties
aboveAdvisory
readonlyaboveAdvisory:Subject<scrolledOffCounter>
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/MFD/LowerMFD/Components/CAS/CasDisplayController.ts:31
aboveCaution
readonlyaboveCaution:Subject<scrolledOffCounter>
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/MFD/LowerMFD/Components/CAS/CasDisplayController.ts:29
aboveStatus
readonlyaboveStatus:Subject<scrolledOffCounter>
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/MFD/LowerMFD/Components/CAS/CasDisplayController.ts:33
belowAdvisory
readonlybelowAdvisory:Subject<scrolledOffCounter>
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/MFD/LowerMFD/Components/CAS/CasDisplayController.ts:32
belowCaution
readonlybelowCaution:Subject<scrolledOffCounter>
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/MFD/LowerMFD/Components/CAS/CasDisplayController.ts:30
belowStatus
readonlybelowStatus:Subject<scrolledOffCounter>
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/MFD/LowerMFD/Components/CAS/CasDisplayController.ts:34
displayedAnnunciations
readonlydisplayedAnnunciations:ArraySubject<CasActiveMessage>
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/MFD/LowerMFD/Components/CAS/CasDisplayController.ts:26
hasAnnunciations
readonlyhasAnnunciations:Subject<boolean>
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/MFD/LowerMFD/Components/CAS/CasDisplayController.ts:25
scrollDisabled
readonlyscrollDisabled:Subject<boolean>
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/MFD/LowerMFD/Components/CAS/CasDisplayController.ts:35
MAX_VISIBLE_ROWS
staticMAX_VISIBLE_ROWS:number=12
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/MFD/LowerMFD/Components/CAS/CasDisplayController.ts:19
Methods
addAnnunciation()
protectedaddAnnunciation(idx,item):void
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/MFD/LowerMFD/Components/CAS/CasDisplayController.ts:122
Add an annunciation to the active list.
Parameters
| Parameter | Type | Description |
|---|---|---|
idx | number | The index of the annunciations array for the annunciation. |
item | CasActiveMessage | The annunciation configuration to add |
Returns
void
removeAnnunciation()
protectedremoveAnnunciation(idx):void
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/MFD/LowerMFD/Components/CAS/CasDisplayController.ts:131
Remove an annunciation from the active list if present.
Parameters
| Parameter | Type | Description |
|---|---|---|
idx | number | The index of the annunciations array for the annunciation. |
Returns
void