Skip to main content

Class: PerformancePlanProxy

Defined in: wtlinesdk/performance/PerformancePlanProxy.ts:15

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

Defined in: wtlinesdk/performance/PerformancePlanProxy.ts:67

Ctor

Parameters​

ParameterTypeDescription
defaultValuesPlanPerformancePlanDataplan containing default values
onBeforeEdit(property, newValue) => voidcallback fired before an edit is performed
onAfterEdit(property, newValue) => voidcallback fired after an edit is performed

Returns​

PerformancePlanProxy

Properties​

averagePassengerWeight​

averagePassengerWeight: ProxiedPerformancePlanProperty<"averagePassengerWeight">

Defined in: wtlinesdk/performance/PerformancePlanProxy.ts:18

Implementation of​

PerformancePlanData.averagePassengerWeight


basicOperatingWeight​

basicOperatingWeight: ProxiedPerformancePlanProperty<"basicOperatingWeight">

Defined in: wtlinesdk/performance/PerformancePlanProxy.ts:20

Implementation of​

PerformancePlanData.basicOperatingWeight


cargoWeight​

cargoWeight: ProxiedPerformancePlanProperty<"cargoWeight">

Defined in: wtlinesdk/performance/PerformancePlanProxy.ts:22

Implementation of​

PerformancePlanData.cargoWeight


climbSpeedLimitAltitude​

climbSpeedLimitAltitude: ProxiedPerformancePlanProperty<"climbSpeedLimitAltitude">

Defined in: wtlinesdk/performance/PerformancePlanProxy.ts:36

Implementation of​

PerformancePlanData.climbSpeedLimitAltitude


climbSpeedLimitIas​

climbSpeedLimitIas: ProxiedPerformancePlanProperty<"climbSpeedLimitIas">

Defined in: wtlinesdk/performance/PerformancePlanProxy.ts:34

Implementation of​

PerformancePlanData.climbSpeedLimitIas


climbTargetSpeedIas​

climbTargetSpeedIas: ProxiedPerformancePlanProperty<"climbTargetSpeedIas">

Defined in: wtlinesdk/performance/PerformancePlanProxy.ts:30

Implementation of​

PerformancePlanData.climbTargetSpeedIas


climbTargetSpeedMach​

climbTargetSpeedMach: ProxiedPerformancePlanProperty<"climbTargetSpeedMach">

Defined in: wtlinesdk/performance/PerformancePlanProxy.ts:32

Implementation of​

PerformancePlanData.climbTargetSpeedMach


cruiseAltitude​

cruiseAltitude: ProxiedPerformancePlanProperty<"cruiseAltitude">

Defined in: wtlinesdk/performance/PerformancePlanProxy.ts:43

The cruise altitude in feet, or null when not set.

Implementation of​

PerformancePlanData.cruiseAltitude


cruiseTargetSpeedIas​

cruiseTargetSpeedIas: ProxiedPerformancePlanProperty<"cruiseTargetSpeedIas">

Defined in: wtlinesdk/performance/PerformancePlanProxy.ts:38

Implementation of​

PerformancePlanData.cruiseTargetSpeedIas


cruiseTargetSpeedMach​

cruiseTargetSpeedMach: ProxiedPerformancePlanProperty<"cruiseTargetSpeedMach">

Defined in: wtlinesdk/performance/PerformancePlanProxy.ts:40

Implementation of​

PerformancePlanData.cruiseTargetSpeedMach


defaultValuesPlan​

readonly defaultValuesPlan: PerformancePlanData

Defined in: wtlinesdk/performance/PerformancePlanProxy.ts:68

plan containing default values


descentSpeedLimitAltitude​

descentSpeedLimitAltitude: ProxiedPerformancePlanProperty<"descentSpeedLimitAltitude">

Defined in: wtlinesdk/performance/PerformancePlanProxy.ts:51

Implementation of​

PerformancePlanData.descentSpeedLimitAltitude


descentSpeedLimitIas​

descentSpeedLimitIas: ProxiedPerformancePlanProperty<"descentSpeedLimitIas">

Defined in: wtlinesdk/performance/PerformancePlanProxy.ts:49

Implementation of​

PerformancePlanData.descentSpeedLimitIas


descentTargetSpeedIas​

descentTargetSpeedIas: ProxiedPerformancePlanProperty<"descentTargetSpeedIas">

Defined in: wtlinesdk/performance/PerformancePlanProxy.ts:45

Implementation of​

PerformancePlanData.descentTargetSpeedIas


descentTargetSpeedMach​

descentTargetSpeedMach: ProxiedPerformancePlanProperty<"descentTargetSpeedMach">

Defined in: wtlinesdk/performance/PerformancePlanProxy.ts:47

Implementation of​

PerformancePlanData.descentTargetSpeedMach


descentVPA​

descentVPA: ProxiedPerformancePlanProperty<"descentVPA">

Defined in: wtlinesdk/performance/PerformancePlanProxy.ts:53

Implementation of​

PerformancePlanData.descentVPA


manualGw​

manualGw: ProxiedPerformancePlanProperty<"manualGw">

Defined in: wtlinesdk/performance/PerformancePlanProxy.ts:28

Implementation of​

PerformancePlanData.manualGw


manualLw​

manualLw: ProxiedPerformancePlanProperty<"manualLw">

Defined in: wtlinesdk/performance/PerformancePlanProxy.ts:26

Implementation of​

PerformancePlanData.manualLw


manualZfw​

manualZfw: ProxiedPerformancePlanProperty<"manualZfw">

Defined in: wtlinesdk/performance/PerformancePlanProxy.ts:24

Implementation of​

PerformancePlanData.manualZfw


onAfterEdit()​

readonly onAfterEdit: (property, newValue) => void

Defined in: wtlinesdk/performance/PerformancePlanProxy.ts:70

callback fired after an edit is performed

Parameters​

ParameterType
propertyProxiedPerformancePlanProperty<keyof PerformancePlanData>
newValueany

Returns​

void


onBeforeEdit()​

readonly onBeforeEdit: (property, newValue) => void

Defined in: wtlinesdk/performance/PerformancePlanProxy.ts:69

callback fired before an edit is performed

Parameters​

ParameterType
propertyProxiedPerformancePlanProperty<keyof PerformancePlanData>
newValueany

Returns​

void


paxNumber​

paxNumber: ProxiedPerformancePlanProperty<"paxNumber">

Defined in: wtlinesdk/performance/PerformancePlanProxy.ts:16

Implementation of​

PerformancePlanData.paxNumber


reserveFuel​

reserveFuel: ProxiedPerformancePlanProperty<"reserveFuel">

Defined in: wtlinesdk/performance/PerformancePlanProxy.ts:57

Implementation of​

PerformancePlanData.reserveFuel


transitionAltitude​

transitionAltitude: ProxiedPerformancePlanProperty<"transitionAltitude">

Defined in: wtlinesdk/performance/PerformancePlanProxy.ts:55

Implementation of​

PerformancePlanData.transitionAltitude

Methods​

switchToPlan()​

switchToPlan(plan, initial): void

Defined in: wtlinesdk/performance/PerformancePlanProxy.ts:80

Switches the proxy to another performance plan

Parameters​

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

Returns​

void