Class: FplnPageController
FPLN page controller
Constructors
constructor
• new FplnPageController(eventBus
, fms
, store
, page
): FplnPageController
Creates the Controller.
Parameters
Name | Type | Description |
---|---|---|
eventBus | EventBus | The event bus |
fms | WT21Fms | The FMS. |
store | FplnPageStore | The store. |
page | WT21FmcPage <null > | The FMC Page. |
Returns
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FplnPageController.ts:145
Properties
altnField
• Readonly
altnField: TextInputField
<null
| string
, null
| string
>
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FplnPageController.ts:50
currentPage
• Readonly
currentPage: 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
• Readonly
pageCount: ComputedSubject
<number
, number
>
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FplnPageController.ts:31
activeHeaderString
▪ Static
Readonly
activeHeaderString: " ACT FPLN[blue]"
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FplnPageController.ts:27
discoIdentString
▪ Static
Readonly
discoIdentString: "□□□□□"
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FplnPageController.ts:24
discontinuityHeader
▪ Static
Readonly
discontinuityHeader: "---- DISCONTINUITY -----"
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FplnPageController.ts:23
emptyAirwayString
▪ Static
Readonly
emptyAirwayString: "-----"
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FplnPageController.ts:26
emptyIdentString
▪ Static
Readonly
emptyIdentString: "-----"
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FplnPageController.ts:25
modHeaderString
▪ Static
Readonly
modHeaderString: " 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
Destroys the Controller.
Returns
void
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FplnPageController.ts:169
handleCancelMod
▸ handleCancelMod(): void
Handles when Cancel Mod is pressed
Returns
void
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FplnPageController.ts:806
init
▸ init(): void
Initializes the Controller
Returns
void
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FplnPageController.ts:162
onAirwayInput
▸ onAirwayInput(data
, scratchpadContents
, isDelete?
): Promise
<string
| boolean
>
Parameters
Name | Type |
---|---|
data | undefined | RoutePageLegItem |
scratchpadContents | string |
isDelete? | boolean |
Returns
Promise
<string
| boolean
>
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FplnPageController.ts:482
onWaypointInput
▸ onWaypointInput(data
, scratchpadContents
, isDelete?
): Promise
<string
| boolean
>
Takes a waypoint.
Parameters
Name | 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.
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FplnPageController.ts:498
renderPage
▸ renderPage(): FmcRenderTemplate
Renders the Page
Returns
FmcRenderTemplate
The FmcRenderTemplate
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FplnPageController.ts:229
renderRow
▸ renderRow(page
, indexInDisplay
, prevData
, data
): FmcRenderTemplateRow
[]
Parameters
Name | Type |
---|---|
page | AbstractFmcPage <any > |
indexInDisplay | number |
prevData | undefined | RoutePageLegItem |
data | undefined | RoutePageLegItem |
Returns
FmcRenderTemplateRow
[]
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FplnPageController.ts:88
setDestination
▸ setDestination(ident
, isDelete?
): Promise
<string
| boolean
>
Sets the destination for the flight plan.
Parameters
Name | Type | Description |
---|---|---|
ident | null | string | The ICAO to set |
isDelete? | boolean | Whether this was a delete |
Returns
Promise
<string
| boolean
>
Whether this was successful
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FplnPageController.ts:768
setOrigin
▸ setOrigin(ident
): Promise
<void
>
Sets the origin for the flight plan.
Parameters
Name | Type | Description |
---|---|---|
ident | null | string | The ICAO to set |
Returns
Promise
<void
>
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FplnPageController.ts:733