Skip to main content

Class: FlightPlanLegListData

Represents a flight plan leg in a list. Wraps a FlightPlanLegData object. Contains fields specific to flight plan lists.

Implements

Constructors

constructor

new FlightPlanLegListData(legData, segmentListData, store, unitsSettingManager): FlightPlanLegListData

FlightPlanLegListData constructor.

Parameters

NameTypeDescription
legDataFlightPlanLegDataThe flight plan leg data to wrap.
segmentListDataundefined | FlightPlanSegmentListDataThe segment list data that this leg belong's to. Not required for random direct to leg.
storeFlightPlanStoreThe flight plan store this belongs to.
unitsSettingManagerUnitsUserSettingManager<UnitsUserSettingTypes>The units setting manager.

Returns

FlightPlanLegListData

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanLegListData.ts:82

Properties

airwayExitText

Readonly airwayExitText: MappedSubject<[boolean, undefined | string], string>

Airway exit text.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanLegListData.ts:35


displayDistance

Readonly displayDistance: NumberUnitSubject<Distance, SimpleUnit<Distance>>

The leg distance, but meant for display in a list. Can change when active leg, and more. Shows segment distance for collapsed airway exit.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanLegListData.ts:65


displayDtk

Readonly displayDtk: BasicNavAngleSubject

The leg DTK for displaying in certain places like the flight plan page. Changes when this is the active leg and stuff like that.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanLegListData.ts:59


displayEte

Readonly displayEte: NumberUnitSubject<Duration, SimpleUnit<Duration>>

Estimated time Enroute of the leg, in seconds duration. How long it will take to fly the leg. Shows the segment ETE for collapsed airway exit.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanLegListData.ts:70


hasHiddenAirwayLegsBefore

Readonly hasHiddenAirwayLegsBefore: Subject<boolean>

Whether there are hidden airway legs before this one, should only apply to last leg in collapsed airway.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanLegListData.ts:32


isFirstVisibleLegInSegment

Readonly isFirstVisibleLegInSegment: Subject<boolean>

Whether this leg is the first visible leg in a segment.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanLegListData.ts:29


isFullyCollapsedAirwayExit

Readonly isFullyCollapsedAirwayExit: Subscribable<boolean>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanLegListData.ts:55


isVisible

Readonly isVisible: Subscribable<boolean>

Whether this list item is visible in the list.

Implementation of

FlightPlanBaseListData.isVisible

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanLegListData.ts:26


legData

Readonly legData: FlightPlanLegData

The flight plan leg data to wrap.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanLegListData.ts:83


segmentListData

Readonly segmentListData: undefined | FlightPlanSegmentListData

The segment list data that this leg belong's to. Not required for random direct to leg.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanLegListData.ts:84


type

Readonly type: "leg"

The type of flight plan list item.

Implementation of

FlightPlanBaseListData.type

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanLegListData.ts:22

Methods

destroy

destroy(): void

Call when this leg is removed from the list.

Returns

void

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanLegListData.ts:211