Class: FplnPageController
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FplnPageController.ts:20
FPLN page controller
Constructors
Constructor
new FplnPageController(
eventBus,fms,store,page):FplnPageController
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FplnPageController.ts:145
Creates the Controller.
Parameters
| Parameter | Type | Description |
|---|---|---|
eventBus | EventBus | The event bus |
fms | WT21Fms | The FMS. |
store | FplnPageStore | The store. |
page | WT21FmcPage | The FMC Page. |
Returns
FplnPageController
Properties
altnField
readonlyaltnField:TextInputField<null|string,null|string>
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FplnPageController.ts:50
currentPage
readonlycurrentPage:Subject<number>
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FplnPageController.ts:30
destinationField
destinationField:
TextInputField<null|string,null|string>
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FplnPageController.ts:35
fplnLegList
fplnLegList:
FmcListUtility<RoutePageLegItem>
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FplnPageController.ts:132
pageCount
readonlypageCount:ComputedSubject<number,number>
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FplnPageController.ts:31
activeHeaderString
readonlystaticactiveHeaderString:" ACT FPLN[blue]"=' ACT FPLN[blue]'
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FplnPageController.ts:27
discoIdentString
readonlystaticdiscoIdentString:"□□□□□"='□□□□□'
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FplnPageController.ts:24
discontinuityHeader
readonlystaticdiscontinuityHeader:"---- DISCONTINUITY -----"='---- DISCONTINUITY -----'
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FplnPageController.ts:23
emptyAirwayString
readonlystaticemptyAirwayString:"-----"='-----'
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FplnPageController.ts:26
emptyIdentString
readonlystaticemptyIdentString:"-----"='-----'
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FplnPageController.ts:25
modHeaderString
readonlystaticmodHeaderString:" MOD[white] FPLN[blue]"=' MOD[white] FPLN[blue]'
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FplnPageController.ts:28
Methods
destroy()
destroy():
void
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FplnPageController.ts:169
Destroys the Controller.
Returns
void
handleCancelMod()
handleCancelMod():
void
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FplnPageController.ts:806
Handles when Cancel Mod is pressed
Returns
void
init()
init():
void
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FplnPageController.ts:162
Initializes the Controller
Returns
void
onAirwayInput()
onAirwayInput(
data,scratchpadContents,isDelete?):Promise<string|boolean>
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FplnPageController.ts:482
Parameters
| Parameter | Type |
|---|---|
data | undefined | RoutePageLegItem |
scratchpadContents | string |
isDelete? | boolean |
Returns
Promise<string | boolean>
onWaypointInput()
onWaypointInput(
data,scratchpadContents,isDelete?):Promise<string|boolean>
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FplnPageController.ts:498
Takes a waypoint.
Parameters
| Parameter | Type | Description |
|---|---|---|
data | undefined | RoutePageLegItem | The RoutePageLegItem. |
scratchpadContents | string | The Scratchpad Contents. |
isDelete? | boolean | Whether this is a delete. |
Returns
Promise<string | boolean>
Whether this entry was successfully completed.
renderPage()
renderPage():
FmcRenderTemplate
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FplnPageController.ts:229
Renders the Page
Returns
FmcRenderTemplate
The FmcRenderTemplate
renderRow()
renderRow(
page,indexInDisplay,prevData,data):FmcRenderTemplateRow[]
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FplnPageController.ts:88
Parameters
| Parameter | Type |
|---|---|
page | AbstractFmcPage |
indexInDisplay | number |
prevData | undefined | RoutePageLegItem |
data | undefined | RoutePageLegItem |
Returns
FmcRenderTemplateRow[]
setDestination()
setDestination(
ident,isDelete?):Promise<string|boolean>
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FplnPageController.ts:768
Sets the destination for the flight plan.
Parameters
| Parameter | Type | Description |
|---|---|---|
ident | null | string | The ICAO to set |
isDelete? | boolean | Whether this was a delete |
Returns
Promise<string | boolean>
Whether this was successful
setOrigin()
setOrigin(
ident):Promise<void>
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FplnPageController.ts:733
Sets the origin for the flight plan.
Parameters
| Parameter | Type | Description |
|---|---|---|
ident | null | string | The ICAO to set |
Returns
Promise<void>