Skip to main content

Class: LegsPageStore

LEGS Page Store

Constructors

constructor

new LegsPageStore(): LegsPageStore

Returns

LegsPageStore

Properties

holdAtFacilitySubject

holdAtFacilitySubject: Subject<null | Facility>

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/LegsPageStore.ts:44


lastRenderPlanIndex

lastRenderPlanIndex: undefined | number = undefined

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/LegsPageStore.ts:46


legs

Readonly legs: SubscribableArray<LegPageItem>

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/LegsPageStore.ts:40


selectedLeg

selectedLeg: undefined | LegPageItem

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/LegsPageStore.ts:42

Methods

insertLegAt

insertLegAt(index, leg): void

Sets the legs array.

Parameters

NameTypeDescription
indexnumberThe index to insert the leg at.
legLegPageItemThe RoutePageLegItem to insert

Returns

void

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/LegsPageStore.ts:67


setLegs

setLegs(legs): void

Sets the legs array.

Parameters

NameTypeDescription
legsLegPageItem[]The array of RoutePageLegItems

Returns

void

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/LegsPageStore.ts:58


setVNavLegAndConstraint

setVNavLegAndConstraint(globalIndex, vnavLeg?, vnavConstraint?): void

Set the vnavLeg on a LegPageItem

Parameters

NameTypeDescription
globalIndexnumberThe global leg index of the leg.
vnavLeg?VNavLegThe VNavLeg or undefined if none exists.
vnavConstraint?VNavConstraintThe VNavConstraint or undefined if none exists.

Returns

void

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/LegsPageStore.ts:77