Class: WT21FixInfoPageController
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Pages/FixInfo/FixInfoPageController.ts:10
Fix Info page controller
Constructors
Constructor
new WT21FixInfoPageController(
bus,fms,store,page,screen):WT21FixInfoPageController
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Pages/FixInfo/FixInfoPageController.ts:33
Instantiates a new instance of the controller
Parameters
| Parameter | Type | Description |
|---|---|---|
bus | EventBus | Event Bus |
fms | WT21Fms | WT21 FMS |
store | WT21FixInfoPageStore | Fix Info page store |
page | WT21FmcPage | Fix Info page |
screen | WT21FmcScreen | FMC page manager. |
Returns
WT21FixInfoPageController
Properties
currentPage
readonlycurrentPage:Subject<number>
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Pages/FixInfo/FixInfoPageController.ts:12
current page number, 1-based
currentPageIndex
readonlycurrentPageIndex:MappedSubscribable<number>
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Pages/FixInfo/FixInfoPageController.ts:14
current page index, 0-based
pageCount
readonlypageCount:Subject<number>
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Pages/FixInfo/FixInfoPageController.ts:16
total number of pages
simTime
readonlysimTime:ConsumerSubject<number>
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Pages/FixInfo/FixInfoPageController.ts:19
sim time as a unix timestamp in milliseconds
transitionAltitudeOrLevel
readonlytransitionAltitudeOrLevel:Subject<number>
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Pages/FixInfo/FixInfoPageController.ts:21
Methods
createAbeamPoint()
createAbeamPoint():
Promise<boolean>
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Pages/FixInfo/FixInfoPageController.ts:249
Creates the abeam point
Returns
Promise<boolean>
true on success
deleteAbeamPoint()
deleteAbeamPoint():
boolean
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Pages/FixInfo/FixInfoPageController.ts:259
Deletes the abeam point
Returns
boolean
true on success
deleteCurrentFix()
deleteCurrentFix():
boolean
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Pages/FixInfo/FixInfoPageController.ts:197
Delete the current page fix
Returns
boolean
true
Throws
Help window message if needed
deleteLatLonCross()
deleteLatLonCross():
void
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Pages/FixInfo/FixInfoPageController.ts:241
Delete the bearing/distance for a row Null entries will be computed.
Returns
void
deleteRadDisCross()
deleteRadDisCross():
void
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Pages/FixInfo/FixInfoPageController.ts:219
Delete the bearing/distance for a row Null entries will be computed.
Returns
void
getFix()
getFix(
input):Promise<null|Facility>
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Pages/FixInfo/FixInfoPageController.ts:169
Get a fix from a scratchpad entry.
Parameters
| Parameter | Type | Description |
|---|---|---|
input | string | any valid fix format. |
Returns
Promise<null | Facility>
Promise with a facility or null if not found.
init()
init():
void
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Pages/FixInfo/FixInfoPageController.ts:42
Initialise this instance of the controller
Returns
void
next()
next():
void
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Pages/FixInfo/FixInfoPageController.ts:138
Advance to the next page
Returns
void
pause()
pause():
void
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Pages/FixInfo/FixInfoPageController.ts:125
Pause the controller and it's subscriptions
Returns
void
previous()
previous():
void
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Pages/FixInfo/FixInfoPageController.ts:147
Go back to the previous page
Returns
void
resume()
resume():
void
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Pages/FixInfo/FixInfoPageController.ts:131
Resume the controller and it's subscriptions
Returns
void
setCurrentFix()
setCurrentFix(
fix):void
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Pages/FixInfo/FixInfoPageController.ts:187
Set the current page fix
Parameters
| Parameter | Type | Description |
|---|---|---|
fix | Facility | Facility |
Returns
void
setCurrentPage()
setCurrentPage(
page):void
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Pages/FixInfo/FixInfoPageController.ts:159
Set the current page
Parameters
| Parameter | Type | Description |
|---|---|---|
page | number | page number, 1-based |
Returns
void
setLatLonCross()
setLatLonCross(
latitude,longitude):Promise<boolean>
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Pages/FixInfo/FixInfoPageController.ts:230
Set the bearing/distance for a row; either bearing or dist is mandatory. Null entries will be computed.
Parameters
| Parameter | Type | Description |
|---|---|---|
latitude | null | number | Latitude in degrees or null to compute. |
longitude | null | number | Longitude in degrees or null to compute. |
Returns
Promise<boolean>
true if an intersection was found.
setRadDisCross()
setRadDisCross(
bearing,dist):Promise<boolean>
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Pages/FixInfo/FixInfoPageController.ts:209
Set the bearing/distance for a row; either bearing or dist is mandatory. Null entries will be computed.
Parameters
| Parameter | Type | Description |
|---|---|---|
bearing | null | number | bearing in degrees magnetic or true depending on current ref |
dist | null | number | distance in nautical miles |
Returns
Promise<boolean>
true if an intersection was found.