Skip to main content

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

NameTypeDescription
storeFlightPlanStoreThe flight plan store.
flightPlanListManagerFlightPlanListManagerThe list manager to use.

Returns

FlightPlanTextUpdater

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

NameTypeDescription
topRowundefined | FlightPlanTextRowDataReference to the leg or segment list data that should be in the top row.

Returns

FlightPlanTextData

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

NameTypeDescription
itemFlightPlanListDatathe item to check.
originFacility?FacilityThe current origin facility.
destinationFacility?FacilityThe 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