Class: Epic2ChartUtils
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/MFD/UpperMFD/Charts/Epic2ChartUtils.ts:6
A utility class for Epic2 charts
Constructors
Constructor
new Epic2ChartUtils():
Epic2ChartUtils
Returns
Epic2ChartUtils
Methods
procedureMatchesIdentifier()
staticprocedureMatchesIdentifier(proc,ident):boolean
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/MFD/UpperMFD/Charts/Epic2ChartUtils.ts:15
Returns whether a given procedure matches a chart procedure identifier
Parameters
| Parameter | Type | Description |
|---|---|---|
proc | ApproachProcedure | Procedure | the procedure |
ident | ChartProcedureIdentifier | the chart identifier to check against |
Returns
boolean
a boolean
selectAutoChartForProcedure()
staticselectAutoChartForProcedure(charts,procedure):null|ChartMetadata<string>
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/MFD/UpperMFD/Charts/Epic2ChartUtils.ts:47
Picks the autoselect chart for a given procedure
Parameters
| Parameter | Type | Description |
|---|---|---|
charts | readonly Epic2ChartListType[] | The charts to filter from |
procedure | ApproachProcedure | Procedure | The procedure selected in the flight plan |
Returns
null | ChartMetadata<string>
The chart metadata for the selected chart