Skip to main content

Class: WT21AlternatePredictor

Defined in: workingtitle-instruments-wt21/shared/Navigation/WT21AlternatePredictor.ts:10

Utility for predicting ALTN data

Constructors

Constructor

new WT21AlternatePredictor(planner, facLoader, predictor): WT21AlternatePredictor

Defined in: workingtitle-instruments-wt21/shared/Navigation/WT21AlternatePredictor.ts:39

Ctor

Parameters

ParameterTypeDescription
plannerFlightPlannerthe flight planner
facLoaderFacilityLoaderthe facility loader
predictorFlightPlanPredictorthe flight plan predictor

Returns

WT21AlternatePredictor

Properties

alternatePredictions

alternatePredictions: null | ActiveOrUpcomingLegPredictions = null

Defined in: workingtitle-instruments-wt21/shared/Navigation/WT21AlternatePredictor.ts:23

Methods

update()

update(): Promise<void>

Defined in: workingtitle-instruments-wt21/shared/Navigation/WT21AlternatePredictor.ts:49

Update loop

Returns

Promise<void>