Class: WT21FixInfoManager
WT21 Fix Info Implementation
Constructors
constructor
• new WT21FixInfoManager(bus
, facLoader
, activeRoutePlanIndex
, flightPlanner
, options?
, activeRoutePredictor?
): WT21FixInfoManager
Instantiates the Fix Info subsystem
Parameters
Name | Type | Description |
---|---|---|
bus | EventBus | Event Bus |
facLoader | FacilityLoader | Facility Loader |
activeRoutePlanIndex | number | Index of the active route flight plan |
flightPlanner | FlightPlanner <any > | The flight planner |
options? | Partial <WT21FixInfoOptions > | Options for fix info. |
activeRoutePredictor? | FlightPlanPredictionsProvider | The active route predictor |
Returns
Defined in
workingtitle-instruments-wt21/shared/Systems/FixInfo/WT21FixInfoManager.ts:64
Properties
ndMarkers
• Readonly
ndMarkers: ArraySubject
<WT21FixInfoMarker
>
Defined in
workingtitle-instruments-wt21/shared/Systems/FixInfo/WT21FixInfoManager.ts:41
ndWaypoints
• Readonly
ndWaypoints: ArraySubject
<WT21FixInfoWaypoint
>
Defined in
workingtitle-instruments-wt21/shared/Systems/FixInfo/WT21FixInfoManager.ts:43
trueRef
• Readonly
trueRef: Subject
<boolean
>
FIXME hook up when true ref exists
Defined in
workingtitle-instruments-wt21/shared/Systems/FixInfo/WT21FixInfoManager.ts:49
Methods
clearBearingDistance
▸ clearBearingDistance(fixIndex
, brgDistIndex
): boolean
Clear a pilot-entered bearing/distance pair
Parameters
Name | Type | Description |
---|---|---|
fixIndex | number | Index of the fix info/page (0-based). |
brgDistIndex | number | Index/row of the bearing/dist pair (0-based). |
Returns
boolean
true if the operation succeeded.
Defined in
workingtitle-instruments-wt21/shared/Systems/FixInfo/WT21FixInfoManager.ts:541
clearFix
▸ clearFix(fixIndex
, omitSync?
): boolean
Clear a fix info page
Parameters
Name | Type | Default value | Description |
---|---|---|---|
fixIndex | number | undefined | Index of the fix info/page (0-based). |
omitSync | boolean | false | true if the flight plan user data sync will be done later |
Returns
boolean
true if the operation succeeded.
Defined in
workingtitle-instruments-wt21/shared/Systems/FixInfo/WT21FixInfoManager.ts:656
clearLatitudeLongitude
▸ clearLatitudeLongitude(fixIndex
, latLonIndex
): boolean
Clear a pilot-entered latitude/longitude pair
Parameters
Name | Type | Description |
---|---|---|
fixIndex | number | Index of the fix info/page (0-based). |
latLonIndex | number | Index/row of the lat/lon pair (0-based). |
Returns
boolean
true if the operation succeeded.
Defined in
workingtitle-instruments-wt21/shared/Systems/FixInfo/WT21FixInfoManager.ts:597
clearPrediction
▸ clearPrediction(fixIndex
): boolean
Clear the time or altitude to predict along-track location for.
Parameters
Name | Type | Description |
---|---|---|
fixIndex | number | Index of the fix info/page (0-based). |
Returns
boolean
true if the operation succeeded.
Defined in
workingtitle-instruments-wt21/shared/Systems/FixInfo/WT21FixInfoManager.ts:728
createAbeamPoint
▸ createAbeamPoint(fixIndex
): Promise
<boolean
>
Attempts to find the closest abeam intersection and saves it on this fix info
Parameters
Name | Type | Description |
---|---|---|
fixIndex | number | of the fix info/page (0-based). |
Returns
Promise
<boolean
>
true if an intersection was found, false otherwise
Defined in
workingtitle-instruments-wt21/shared/Systems/FixInfo/WT21FixInfoManager.ts:748
deleteAbeamPoint
▸ deleteAbeamPoint(fixIndex
): boolean
Removes the abeam fix calculation.
Parameters
Name | Type | Description |
---|---|---|
fixIndex | number | of the fix info/page (0-based). |
Returns
boolean
true on success
Defined in
workingtitle-instruments-wt21/shared/Systems/FixInfo/WT21FixInfoManager.ts:774
getCalculatedData
▸ getCalculatedData(fixIndex
): undefined
| WT21FixInfoCalculatedData
Get the calculated data for CDU page rendering
Parameters
Name | Type | Description |
---|---|---|
fixIndex | number | Index of the fix info/page (0-based). |
Returns
undefined
| WT21FixInfoCalculatedData
the calculated data
Defined in
workingtitle-instruments-wt21/shared/Systems/FixInfo/WT21FixInfoManager.ts:794
getEnteredData
▸ getEnteredData(fixIndex
): undefined
| WT21FixInfoData
Get the entered data for CDU page rendering
Parameters
Name | Type | Description |
---|---|---|
fixIndex | number | Index of the fix info/page (0-based). |
Returns
undefined
| WT21FixInfoData
the entered data
Defined in
workingtitle-instruments-wt21/shared/Systems/FixInfo/WT21FixInfoManager.ts:803
getNumberOfFixes
▸ getNumberOfFixes(): number
Get the number of fixes supported by this manager.
Returns
number
The number of fixes.
Defined in
workingtitle-instruments-wt21/shared/Systems/FixInfo/WT21FixInfoManager.ts:834
setAltitudePrediction
▸ setAltitudePrediction(fixIndex
, altitude
): boolean
Set an altitude to predict the distance/along-track location for. This will clear the time to predict if set.
Parameters
Name | Type | Description |
---|---|---|
fixIndex | number | Index of the fix info/page (0-based). |
altitude | number | Altitude in metres. |
Returns
boolean
true if the operation succeeded.
Defined in
workingtitle-instruments-wt21/shared/Systems/FixInfo/WT21FixInfoManager.ts:708
setBearingDistance
▸ setBearingDistance(fixIndex
, brgDistIndex
, bearing
, distance
): Promise
<boolean
>
Set a pilot-entered bearing and/or distance.
Parameters
Name | Type | Description |
---|---|---|
fixIndex | number | Index of the fix info/page (0-based). |
brgDistIndex | number | Index/row of the bearing/dist pair (0-based). |
bearing | null | number | Bearing in degrees, true or magnetic depending on reference mode, or null to allow FMS intersection computation. |
distance | null | number | Distance/radius in metres, or null to allow FMS intersection computation. |
Returns
Promise
<boolean
>
true if the operation succeeded.
Defined in
workingtitle-instruments-wt21/shared/Systems/FixInfo/WT21FixInfoManager.ts:510
setFix
▸ setFix(fixIndex
, fix
): boolean
Set the fix for a fix info page, clearing all other data on the page
Parameters
Name | Type | Description |
---|---|---|
fixIndex | number | Index of the fix info/page (0-based). |
fix | Facility | The fix facility |
Returns
boolean
true if the operation succeeded.
Defined in
workingtitle-instruments-wt21/shared/Systems/FixInfo/WT21FixInfoManager.ts:621
setLatitudeLongitude
▸ setLatitudeLongitude(fixIndex
, latLonIndex
, latitude
, longitude
): Promise
<boolean
>
Set a pilot-entered latitude and/or longitude.
Parameters
Name | Type | Description |
---|---|---|
fixIndex | number | Index of the fix info/page (0-based). |
latLonIndex | number | Index/row of the bearing/dist pair (0-based). |
latitude | null | number | Latitude in degrees, or null to allow FMS intersection computation. |
longitude | null | number | Longitude in degrees, or null to allow FMS intersection computation. |
Returns
Promise
<boolean
>
true if the operation succeeded.
Defined in
workingtitle-instruments-wt21/shared/Systems/FixInfo/WT21FixInfoManager.ts:567
setTimePrediction
▸ setTimePrediction(fixIndex
, time
): boolean
Set a time to predict the distance/along-track location for. This will clear the altitude to predict if set.
Parameters
Name | Type | Description |
---|---|---|
fixIndex | number | Index of the fix info/page (0-based). |
time | number | Unix timestamp in milliseconds |
Returns
boolean
true if the operation succeeded.
Defined in
workingtitle-instruments-wt21/shared/Systems/FixInfo/WT21FixInfoManager.ts:686