Skip to main content

Class: WT21FixInfoManager

Defined in: wtlinesdk/fms/WTLineFixInfoManager.ts:29

WT21 Fix Info Implementation

Constructors​

Constructor​

new WT21FixInfoManager(bus, facLoader, activeRoutePlanIndex, flightPlanner, options?, activeRoutePredictor?): WTLineFixInfoManager

Defined in: wtlinesdk/fms/WTLineFixInfoManager.ts:64

Instantiates the Fix Info subsystem

Parameters​

ParameterTypeDescription
busEventBusEvent Bus
facLoaderFacilityLoaderFacility Loader
activeRoutePlanIndexnumberIndex of the active route flight plan
flightPlannerFlightPlannerThe flight planner
options?Partial<WT21FixInfoOptions>Options for fix info.
activeRoutePredictor?FlightPlanPredictionsProviderThe active route predictor

Returns​

WTLineFixInfoManager

Properties​

ndMarkers​

readonly ndMarkers: ArraySubject<WT21FixInfoMarker>

Defined in: wtlinesdk/fms/WTLineFixInfoManager.ts:41


ndWaypoints​

readonly ndWaypoints: ArraySubject<WT21FixInfoWaypoint>

Defined in: wtlinesdk/fms/WTLineFixInfoManager.ts:43


trueRef​

readonly trueRef: Subject<boolean>

Defined in: wtlinesdk/fms/WTLineFixInfoManager.ts:49

FIXME hook up when true ref exists

Methods​

clearBearingDistance()​

clearBearingDistance(fixIndex, brgDistIndex): boolean

Defined in: wtlinesdk/fms/WTLineFixInfoManager.ts:541

Clear a pilot-entered bearing/distance pair

Parameters​

ParameterTypeDescription
fixIndexnumberIndex of the fix info/page (0-based).
brgDistIndexnumberIndex/row of the bearing/dist pair (0-based).

Returns​

boolean

true if the operation succeeded.


clearFix()​

clearFix(fixIndex, omitSync): boolean

Defined in: wtlinesdk/fms/WTLineFixInfoManager.ts:656

Clear a fix info page

Parameters​

ParameterTypeDefault valueDescription
fixIndexnumberundefinedIndex of the fix info/page (0-based).
omitSyncbooleanfalsetrue if the flight plan user data sync will be done later

Returns​

boolean

true if the operation succeeded.


clearLatitudeLongitude()​

clearLatitudeLongitude(fixIndex, latLonIndex): boolean

Defined in: wtlinesdk/fms/WTLineFixInfoManager.ts:597

Clear a pilot-entered latitude/longitude pair

Parameters​

ParameterTypeDescription
fixIndexnumberIndex of the fix info/page (0-based).
latLonIndexnumberIndex/row of the lat/lon pair (0-based).

Returns​

boolean

true if the operation succeeded.


clearPrediction()​

clearPrediction(fixIndex): boolean

Defined in: wtlinesdk/fms/WTLineFixInfoManager.ts:728

Clear the time or altitude to predict along-track location for.

Parameters​

ParameterTypeDescription
fixIndexnumberIndex of the fix info/page (0-based).

Returns​

boolean

true if the operation succeeded.


createAbeamPoint()​

createAbeamPoint(fixIndex): Promise<boolean>

Defined in: wtlinesdk/fms/WTLineFixInfoManager.ts:748

Attempts to find the closest abeam intersection and saves it on this fix info

Parameters​

ParameterTypeDescription
fixIndexnumberof the fix info/page (0-based).

Returns​

Promise<boolean>

true if an intersection was found, false otherwise


deleteAbeamPoint()​

deleteAbeamPoint(fixIndex): boolean

Defined in: wtlinesdk/fms/WTLineFixInfoManager.ts:774

Removes the abeam fix calculation.

Parameters​

ParameterTypeDescription
fixIndexnumberof the fix info/page (0-based).

Returns​

boolean

true on success


getCalculatedData()​

getCalculatedData(fixIndex): WT21FixInfoCalculatedData | undefined

Defined in: wtlinesdk/fms/WTLineFixInfoManager.ts:794

Get the calculated data for CDU page rendering

Parameters​

ParameterTypeDescription
fixIndexnumberIndex of the fix info/page (0-based).

Returns​

WT21FixInfoCalculatedData | undefined

the calculated data


getEnteredData()​

getEnteredData(fixIndex): WT21FixInfoData | undefined

Defined in: wtlinesdk/fms/WTLineFixInfoManager.ts:803

Get the entered data for CDU page rendering

Parameters​

ParameterTypeDescription
fixIndexnumberIndex of the fix info/page (0-based).

Returns​

WT21FixInfoData | undefined

the entered data


getNumberOfFixes()​

getNumberOfFixes(): number

Defined in: wtlinesdk/fms/WTLineFixInfoManager.ts:834

Get the number of fixes supported by this manager.

Returns​

number

The number of fixes.


setAltitudePrediction()​

setAltitudePrediction(fixIndex, altitude): boolean

Defined in: wtlinesdk/fms/WTLineFixInfoManager.ts:708

Set an altitude to predict the distance/along-track location for. This will clear the time to predict if set.

Parameters​

ParameterTypeDescription
fixIndexnumberIndex of the fix info/page (0-based).
altitudenumberAltitude in metres.

Returns​

boolean

true if the operation succeeded.


setBearingDistance()​

setBearingDistance(fixIndex, brgDistIndex, bearing, distance): Promise<boolean>

Defined in: wtlinesdk/fms/WTLineFixInfoManager.ts:510

Set a pilot-entered bearing and/or distance.

Parameters​

ParameterTypeDescription
fixIndexnumberIndex of the fix info/page (0-based).
brgDistIndexnumberIndex/row of the bearing/dist pair (0-based).
bearingnumber | nullBearing in degrees, true or magnetic depending on reference mode, or null to allow FMS intersection computation.
distancenumber | nullDistance/radius in metres, or null to allow FMS intersection computation.

Returns​

Promise<boolean>

true if the operation succeeded.


setFix()​

setFix(fixIndex, fix): boolean

Defined in: wtlinesdk/fms/WTLineFixInfoManager.ts:621

Set the fix for a fix info page, clearing all other data on the page

Parameters​

ParameterTypeDescription
fixIndexnumberIndex of the fix info/page (0-based).
fixFacilityThe fix facility

Returns​

boolean

true if the operation succeeded.


setLatitudeLongitude()​

setLatitudeLongitude(fixIndex, latLonIndex, latitude, longitude): Promise<boolean>

Defined in: wtlinesdk/fms/WTLineFixInfoManager.ts:567

Set a pilot-entered latitude and/or longitude.

Parameters​

ParameterTypeDescription
fixIndexnumberIndex of the fix info/page (0-based).
latLonIndexnumberIndex/row of the bearing/dist pair (0-based).
latitudenumber | nullLatitude in degrees, or null to allow FMS intersection computation.
longitudenumber | nullLongitude in degrees, or null to allow FMS intersection computation.

Returns​

Promise<boolean>

true if the operation succeeded.


setTimePrediction()​

setTimePrediction(fixIndex, time): boolean

Defined in: wtlinesdk/fms/WTLineFixInfoManager.ts:686

Set a time to predict the distance/along-track location for. This will clear the altitude to predict if set.

Parameters​

ParameterTypeDescription
fixIndexnumberIndex of the fix info/page (0-based).
timenumberUnix timestamp in milliseconds

Returns​

boolean

true if the operation succeeded.