Class: FlightPlanTextUpdater
Generates the rows to be used in the flight plan text inset.
Constructors
constructor
• new FlightPlanTextUpdater(store
, flightPlanListManager
): FlightPlanTextUpdater
Creates a new FlightPlanTextUpdater.
Parameters
Name | Type | Description |
---|---|---|
store | FlightPlanStore | The flight plan store. |
flightPlanListManager | FlightPlanListManager | The list manager to use. |
Returns
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanTextUpdater.ts:31
Methods
destroy
▸ destroy(): void
Destroys subs and comps.
Returns
void
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanTextUpdater.ts:201
getUpdateData
▸ getUpdateData(topRow
): FlightPlanTextData
Generates the data for the flight plan text inset.
Parameters
Name | Type | Description |
---|---|---|
topRow | undefined | FlightPlanTextRowData | Reference to the leg or segment list data that should be in the top row. |
Returns
the data for the flight plan text inset.
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanTextUpdater.ts:41
shouldIgnoreItem
▸ shouldIgnoreItem(item
, originFacility?
, destinationFacility?
): boolean
Whether an item should be left out of the text rows.
Parameters
Name | Type | Description |
---|---|---|
item | FlightPlanListData | the item to check. |
originFacility? | Facility | The current origin facility. |
destinationFacility? | Facility | The current destination facility. |
Returns
boolean
True if item should be ignored.
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanTextUpdater.ts:188