Skip to main content

Interface: FlightPlanDataFieldCalculator

A calculator of flight plan data field values.

Methods

calculate

calculate(dataFieldIndex, dataItems, cumulativeDataField): void

Calculates values for flight plan data fields and writes the values to the fields.

Parameters

NameTypeDescription
dataFieldIndexnumberThe index of the data field for which to calculate values.
dataItemsreadonly FlightPlanDataItem[]The data items describing the flight plan for which to calculate data field values.
cumulativeDataFieldnull | FlightPlanDataField<FlightPlanDataFieldType>The data field representing the cumulative total value over the entire flight plan.

Returns

void

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/FlightPlan/FlightPlanDataFieldCalculator.ts:14