Skip to main content

Class: WT21FixInfoPageController

Fix Info page controller

Constructors

constructor

new WT21FixInfoPageController(bus, fms, store, page, screen): WT21FixInfoPageController

Instantiates a new instance of the controller

Parameters

NameTypeDescription
busEventBusEvent Bus
fmsWT21FmsWT21 FMS
storeWT21FixInfoPageStoreFix Info page store
pageWT21FmcPage<null>Fix Info page
screenWT21FmcScreenFMC page manager.

Returns

WT21FixInfoPageController

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FixInfo/FixInfoPageController.ts:33

Properties

currentPage

Readonly currentPage: Subject<number>

current page number, 1-based

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FixInfo/FixInfoPageController.ts:12


currentPageIndex

Readonly currentPageIndex: MappedSubscribable<number>

current page index, 0-based

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FixInfo/FixInfoPageController.ts:14


pageCount

Readonly pageCount: Subject<number>

total number of pages

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FixInfo/FixInfoPageController.ts:16


simTime

Readonly simTime: ConsumerSubject<number>

sim time as a unix timestamp in milliseconds

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FixInfo/FixInfoPageController.ts:19


transitionAltitudeOrLevel

Readonly transitionAltitudeOrLevel: Subject<number>

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FixInfo/FixInfoPageController.ts:21

Methods

createAbeamPoint

createAbeamPoint(): Promise<boolean>

Creates the abeam point

Returns

Promise<boolean>

true on success

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FixInfo/FixInfoPageController.ts:244


deleteAbeamPoint

deleteAbeamPoint(): boolean

Deletes the abeam point

Returns

boolean

true on success

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FixInfo/FixInfoPageController.ts:254


deleteCurrentFix

deleteCurrentFix(): boolean

Delete the current page fix

Returns

boolean

true

Throws

Help window message if needed

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FixInfo/FixInfoPageController.ts:192


deleteLatLonCross

deleteLatLonCross(): void

Delete the bearing/distance for a row Null entries will be computed.

Returns

void

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FixInfo/FixInfoPageController.ts:236


deleteRadDisCross

deleteRadDisCross(): void

Delete the bearing/distance for a row Null entries will be computed.

Returns

void

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FixInfo/FixInfoPageController.ts:214


getFix

getFix(input): Promise<null | Facility>

Get a fix from a scratchpad entry.

Parameters

NameTypeDescription
inputstringany valid fix format.

Returns

Promise<null | Facility>

Promise with a facility or null if not found.

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FixInfo/FixInfoPageController.ts:169


init

init(): void

Initialise this instance of the controller

Returns

void

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FixInfo/FixInfoPageController.ts:42


next

next(): void

Advance to the next page

Returns

void

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FixInfo/FixInfoPageController.ts:138


pause

pause(): void

Pause the controller and it's subscriptions

Returns

void

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FixInfo/FixInfoPageController.ts:125


previous

previous(): void

Go back to the previous page

Returns

void

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FixInfo/FixInfoPageController.ts:147


resume

resume(): void

Resume the controller and it's subscriptions

Returns

void

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FixInfo/FixInfoPageController.ts:131


setCurrentFix

setCurrentFix(fix): void

Set the current page fix

Parameters

NameTypeDescription
fixFacilityFacility

Returns

void

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FixInfo/FixInfoPageController.ts:182


setCurrentPage

setCurrentPage(page): void

Set the current page

Parameters

NameTypeDescription
pagenumberpage number, 1-based

Returns

void

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FixInfo/FixInfoPageController.ts:159


setLatLonCross

setLatLonCross(latitude, longitude): Promise<boolean>

Set the bearing/distance for a row; either bearing or dist is mandatory. Null entries will be computed.

Parameters

NameTypeDescription
latitudenull | numberLatitude in degrees or null to compute.
longitudenull | numberLongitude in degrees or null to compute.

Returns

Promise<boolean>

true if an intersection was found.

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FixInfo/FixInfoPageController.ts:225


setRadDisCross

setRadDisCross(bearing, dist): Promise<boolean>

Set the bearing/distance for a row; either bearing or dist is mandatory. Null entries will be computed.

Parameters

NameTypeDescription
bearingnull | numberbearing in degrees magnetic or true depending on current ref
distnull | numberdistance in nautical miles

Returns

Promise<boolean>

true if an intersection was found.

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/FixInfo/FixInfoPageController.ts:204