Skip to main content

Class: PerformancePlanProxy

Proxy for accessing the performance plan data for the currently used flight plan.

This exposes all mutable subscribables defined in PerformancePlanData, but reflects them on the appropriate flight plan automatically. It handles switching around subscriptions and notifying the FMS before editing a value (so that a MOD plan can be created).

This is used to tie FMC pages and FMC components to the relevant mutSubs without having to manually switch them around depending on MOD/ACT.

Implements

Constructors

constructor

new PerformancePlanProxy(defaultValuesPlan, onBeforeEdit?, onAfterEdit?): PerformancePlanProxy

Ctor

Parameters

NameTypeDescription
defaultValuesPlanPerformancePlanDataplan containing default values
onBeforeEdit(property: ProxiedPerformancePlanProperty<keyof PerformancePlanData>, newValue: any) => voidcallback fired before an edit is performed
onAfterEdit(property: ProxiedPerformancePlanProperty<keyof PerformancePlanData>, newValue: any) => voidcallback fired after an edit is performed

Returns

PerformancePlanProxy

Defined in

workingtitle-instruments-wt21/shared/Performance/PerformancePlanProxy.ts:66

Properties

averagePassengerWeight

averagePassengerWeight: ProxiedPerformancePlanProperty<"averagePassengerWeight">

Implementation of

PerformancePlanData.averagePassengerWeight

Defined in

workingtitle-instruments-wt21/shared/Performance/PerformancePlanProxy.ts:18


basicOperatingWeight

basicOperatingWeight: ProxiedPerformancePlanProperty<"basicOperatingWeight">

Implementation of

PerformancePlanData.basicOperatingWeight

Defined in

workingtitle-instruments-wt21/shared/Performance/PerformancePlanProxy.ts:20


cargoWeight

cargoWeight: ProxiedPerformancePlanProperty<"cargoWeight">

Implementation of

PerformancePlanData.cargoWeight

Defined in

workingtitle-instruments-wt21/shared/Performance/PerformancePlanProxy.ts:22


climbSpeedLimitAltitude

climbSpeedLimitAltitude: ProxiedPerformancePlanProperty<"climbSpeedLimitAltitude">

Implementation of

PerformancePlanData.climbSpeedLimitAltitude

Defined in

workingtitle-instruments-wt21/shared/Performance/PerformancePlanProxy.ts:36


climbSpeedLimitIas

climbSpeedLimitIas: ProxiedPerformancePlanProperty<"climbSpeedLimitIas">

Implementation of

PerformancePlanData.climbSpeedLimitIas

Defined in

workingtitle-instruments-wt21/shared/Performance/PerformancePlanProxy.ts:34


climbTargetSpeedIas

climbTargetSpeedIas: ProxiedPerformancePlanProperty<"climbTargetSpeedIas">

Implementation of

PerformancePlanData.climbTargetSpeedIas

Defined in

workingtitle-instruments-wt21/shared/Performance/PerformancePlanProxy.ts:30


climbTargetSpeedMach

climbTargetSpeedMach: ProxiedPerformancePlanProperty<"climbTargetSpeedMach">

Implementation of

PerformancePlanData.climbTargetSpeedMach

Defined in

workingtitle-instruments-wt21/shared/Performance/PerformancePlanProxy.ts:32


cruiseAltitude

cruiseAltitude: ProxiedPerformancePlanProperty<"cruiseAltitude">

Implementation of

PerformancePlanData.cruiseAltitude

Defined in

workingtitle-instruments-wt21/shared/Performance/PerformancePlanProxy.ts:42


cruiseTargetSpeedIas

cruiseTargetSpeedIas: ProxiedPerformancePlanProperty<"cruiseTargetSpeedIas">

Implementation of

PerformancePlanData.cruiseTargetSpeedIas

Defined in

workingtitle-instruments-wt21/shared/Performance/PerformancePlanProxy.ts:38


cruiseTargetSpeedMach

cruiseTargetSpeedMach: ProxiedPerformancePlanProperty<"cruiseTargetSpeedMach">

Implementation of

PerformancePlanData.cruiseTargetSpeedMach

Defined in

workingtitle-instruments-wt21/shared/Performance/PerformancePlanProxy.ts:40


defaultValuesPlan

Readonly defaultValuesPlan: PerformancePlanData

plan containing default values

Defined in

workingtitle-instruments-wt21/shared/Performance/PerformancePlanProxy.ts:67


descentSpeedLimitAltitude

descentSpeedLimitAltitude: ProxiedPerformancePlanProperty<"descentSpeedLimitAltitude">

Implementation of

PerformancePlanData.descentSpeedLimitAltitude

Defined in

workingtitle-instruments-wt21/shared/Performance/PerformancePlanProxy.ts:50


descentSpeedLimitIas

descentSpeedLimitIas: ProxiedPerformancePlanProperty<"descentSpeedLimitIas">

Implementation of

PerformancePlanData.descentSpeedLimitIas

Defined in

workingtitle-instruments-wt21/shared/Performance/PerformancePlanProxy.ts:48


descentTargetSpeedIas

descentTargetSpeedIas: ProxiedPerformancePlanProperty<"descentTargetSpeedIas">

Implementation of

PerformancePlanData.descentTargetSpeedIas

Defined in

workingtitle-instruments-wt21/shared/Performance/PerformancePlanProxy.ts:44


descentTargetSpeedMach

descentTargetSpeedMach: ProxiedPerformancePlanProperty<"descentTargetSpeedMach">

Implementation of

PerformancePlanData.descentTargetSpeedMach

Defined in

workingtitle-instruments-wt21/shared/Performance/PerformancePlanProxy.ts:46


descentVPA

descentVPA: ProxiedPerformancePlanProperty<"descentVPA">

Implementation of

PerformancePlanData.descentVPA

Defined in

workingtitle-instruments-wt21/shared/Performance/PerformancePlanProxy.ts:52


manualGw

manualGw: ProxiedPerformancePlanProperty<"manualGw">

Implementation of

PerformancePlanData.manualGw

Defined in

workingtitle-instruments-wt21/shared/Performance/PerformancePlanProxy.ts:28


manualLw

manualLw: ProxiedPerformancePlanProperty<"manualLw">

Implementation of

PerformancePlanData.manualLw

Defined in

workingtitle-instruments-wt21/shared/Performance/PerformancePlanProxy.ts:26


manualZfw

manualZfw: ProxiedPerformancePlanProperty<"manualZfw">

Implementation of

PerformancePlanData.manualZfw

Defined in

workingtitle-instruments-wt21/shared/Performance/PerformancePlanProxy.ts:24


onAfterEdit

Readonly onAfterEdit: (property: ProxiedPerformancePlanProperty<keyof PerformancePlanData>, newValue: any) => void

callback fired after an edit is performed

Type declaration

▸ (property, newValue): void

callback fired after an edit is performed

Parameters
NameType
propertyProxiedPerformancePlanProperty<keyof PerformancePlanData>
newValueany
Returns

void

Defined in

workingtitle-instruments-wt21/shared/Performance/PerformancePlanProxy.ts:69


onBeforeEdit

Readonly onBeforeEdit: (property: ProxiedPerformancePlanProperty<keyof PerformancePlanData>, newValue: any) => void

callback fired before an edit is performed

Type declaration

▸ (property, newValue): void

callback fired before an edit is performed

Parameters
NameType
propertyProxiedPerformancePlanProperty<keyof PerformancePlanData>
newValueany
Returns

void

Defined in

workingtitle-instruments-wt21/shared/Performance/PerformancePlanProxy.ts:68


paxNumber

paxNumber: ProxiedPerformancePlanProperty<"paxNumber">

Implementation of

PerformancePlanData.paxNumber

Defined in

workingtitle-instruments-wt21/shared/Performance/PerformancePlanProxy.ts:16


reserveFuel

reserveFuel: ProxiedPerformancePlanProperty<"reserveFuel">

Implementation of

PerformancePlanData.reserveFuel

Defined in

workingtitle-instruments-wt21/shared/Performance/PerformancePlanProxy.ts:56


transitionAltitude

transitionAltitude: ProxiedPerformancePlanProperty<"transitionAltitude">

Implementation of

PerformancePlanData.transitionAltitude

Defined in

workingtitle-instruments-wt21/shared/Performance/PerformancePlanProxy.ts:54

Methods

switchToPlan

switchToPlan(plan, initial?): void

Switches the proxy to another performance plan

Parameters

NameTypeDefault valueDescription
planPerformancePlanundefinedthe performance plan to switch to
initialbooleanfalsewhether this is the initial setting of the backing performance plan

Returns

void

Defined in

workingtitle-instruments-wt21/shared/Performance/PerformancePlanProxy.ts:79