Skip to main content

Class: UiService

A service which manages the state of a G3X Touch instrument's UI panes and views.

Constructors

constructor

new UiService(instrumentIndex, config, instrumentConfig, bus, isPfdPaneVisible, isMfdPaneVisible, displaySettingManager): UiService

Creates a new instance of UiService.

Parameters

NameTypeDescription
instrumentIndexnumberThe index of this service's parent instrument.
configAvionicsConfigThe general avionics configuration object.
instrumentConfigInstrumentConfigThe configuration object of this service's parent instrument.
busEventBusThe event bus.
isPfdPaneVisibleMutableSubscribable<boolean, boolean>A MutableSubscribable which controls whether this service's parent instrument's PFD UI pane is visible.
isMfdPaneVisibleMutableSubscribable<boolean, boolean>A MutableSubscribable which controls whether this service's parent instrument's MFD UI pane is visible.
displaySettingManagerUserSettingManager<DisplayUserSettingTypes>A manager for display user settings for this service's parent instrument.

Returns

UiService

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiService.ts:173

Properties

bus

Readonly bus: EventBus

The event bus.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiService.ts:177


gdu460EisLayout

Readonly gdu460EisLayout: Subscribable<EisLayouts>

The current EIS layout. Only applicable for GDU460 displays.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiService.ts:78


gdu460EisSize

Readonly gdu460EisSize: undefined | EisSizes

The current EIS size, or undefined if the EIS is not included. Only applicable for GDU460 displays.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiService.ts:81


gdu460PfdPaneSide

Readonly gdu460PfdPaneSide: Subscribable<PfdPaneSide>

The side on which the PFD pane is positioned. Only applicable for GDU460 displays.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiService.ts:54


gduFormat

Readonly gduFormat: GduFormat

The format of this service's parent GDU.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiService.ts:35


gduIndex

Readonly gduIndex: number

The index of this service's parent GDU.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiService.ts:32


instrumentIndex

Readonly instrumentIndex: number

The index of this service's parent instrument.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiService.ts:174


instrumentType

Readonly instrumentType: InstrumentType

The instrument type of this service's parent instrument.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiService.ts:38


isInStartupPhase

Readonly isInStartupPhase: Subscribable<boolean>

Whether this service is in the startup phase.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiService.ts:50


isPaneSplit

Readonly isPaneSplit: Subscribable<boolean>

Whether the UI panes are currently displayed in split mode.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiService.ts:85


isReversionaryMode

Readonly isReversionaryMode: Subscribable<boolean>

Whether this service is operating in reversionary mode.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiService.ts:42


knobLabelState

Readonly knobLabelState: Readonly<Record<UiKnobId, Subscribable<string>>>

This service's computed label state for the bezel rotary knobs.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiService.ts:151


mfdPaneKnobControlSide

Readonly mfdPaneKnobControlSide: Subscribable<number>

The side(s) for which the MFD pane controls the bezel rotary knobs.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiService.ts:137


operatingType

Readonly operatingType: Subscribable<InstrumentType>

The current operating type of this service's parent instrument.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiService.ts:46


pfdPaneKnobControlSide

Readonly pfdPaneKnobControlSide: Subscribable<number>

The side(s) for which the PFD pane controls the bezel rotary knobs.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiService.ts:133


selectedMfdMainPageKey

Readonly selectedMfdMainPageKey: Subscribable<string>

The key of the currently selected MFD main page.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiService.ts:93


selectedMfdNrstPageKey

Readonly selectedMfdNrstPageKey: Subscribable<string>

The key of the currently selected MFD NRST page.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiService.ts:97


selectedPfdPageKey

Readonly selectedPfdPageKey: Subscribable<string>

The key of the currently selected PFD page.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiService.ts:89


validKnobIds

Readonly validKnobIds: readonly UiKnobId[]

An array of IDs of the valid bezel rotary knobs supported by this service's parent GDU.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiService.ts:100

Methods

attachViewStackContainers

attachViewStackContainers(pfdContainer, mfdContainer): void

Attaches containers to this service's view stacks.

Parameters

NameTypeDescription
pfdContainerUiViewStackContainerThe container to which to attach the PFD view stack.
mfdContainerUiViewStackContainerThe container to which to attach the MFD view stack.

Returns

void

Throws

Error if this service's view stacks have already been attached to containers.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiService.ts:192


changeMfdPage

changeMfdPage<T>(key): null | RenderedUiViewEntry<T>

Changes the open MFD page. Changing the page also closes all open MFD popups. If the MFD pane is not visible, then this method does nothing.

Type parameters

NameType
Textends UiView<UiViewProps> = UiView<UiViewProps>

Parameters

NameTypeDescription
keystringThe key of the view to open.

Returns

null | RenderedUiViewEntry<T>

The entry of the opened view, or null if the MFD pane is not visible.

Throws

Error if this service is not initialized, the specified key is equal to UiViewKeys.EmptyPage, there is no view registered under the specified key, or the view to open is already open.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiService.ts:793


closeAllMfdOverlayViews

closeAllMfdOverlayViews(closeMfdPaneIfEmpty?): null | RenderedUiViewEntry

Returns to the most recent history state of the MFD view stack in which the overlay layer contains no open views. If the MFD pane is not visible, then this method does nothing.

Parameters

NameTypeDefault valueDescription
closeMfdPaneIfEmptybooleantrueWhether to close the MFD pane if possible should the operation result in the MFD view stack containing no open views except the empty page. Defaults to true.

Returns

null | RenderedUiViewEntry

The active view entry in the MFD view stack after the operation is complete, or null if the MFD pane is not visible after the operation is complete.

Throws

Error if this service is not initialized.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiService.ts:1034


closeAllMfdPopups

closeAllMfdPopups(closeMfdPaneIfEmpty?): null | RenderedUiViewEntry

Returns to the most recent history state of the MFD view stack in which the MFD view stack contains no open popups. If the MFD pane is not visible, then this method does nothing.

Parameters

NameTypeDefault valueDescription
closeMfdPaneIfEmptybooleantrueWhether to close the MFD pane if possible should the operation result in the MFD view stack containing no open views except the empty page. Defaults to true.

Returns

null | RenderedUiViewEntry

The active view entry in the MFD view stack after the operation is complete, or null if the MFD pane is not visible after the operation is complete.

Throws

Error if this service is not initialized.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiService.ts:1062


closeAllPfdPopups

closeAllPfdPopups(): null | RenderedUiViewEntry

Returns to the most recent history state of the PFD view stack in which the view stack contains no open popups. If the PFD pane is not visible, then this method does nothing.

Returns

null | RenderedUiViewEntry

The active view entry in the PFD view stack after the operation is complete, or null if the PFD pane is not visible.

Throws

Error if this service is not initialized.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiService.ts:739


closeMfdPopup

closeMfdPopup<F>(filter, closeMfdPaneIfEmpty?): boolean

Attempts to close a popup in the MFD view stack by rewinding the history state of the view stack until the target popup is no longer open. If the MFD pane is not visible, then this method does nothing.

Type parameters

NameType
Fextends RenderedUiViewEntry = RenderedUiViewEntry

Parameters

NameTypeDefault valueDescription
filter(popup: F) => booleanundefinedA filter function which takes in a popup with the specified key and returns whether it is the popup to close.
closeMfdPaneIfEmptybooleantrueWhether to close the MFD pane if possible should the operation result in the MFD view stack containing no open views except the empty page. Defaults to true.

Returns

boolean

true if the specified popup was closed, or false if the popup was not open in the first place.

Throws

Error if this service is not initialized.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiService.ts:988


closePfdPopup

closePfdPopup<F>(filter): boolean

Attempts to close a popup in the PFD view stack by rewinding the history state of the view stack until the target popup is no longer open. If the PFD pane is not visible, then this method does nothing.

Type parameters

NameType
Fextends RenderedUiViewEntry = RenderedUiViewEntry

Parameters

NameTypeDescription
filter(popup: F) => booleanA filter function which takes in a popup with the specified key and returns whether it is the popup to close.

Returns

boolean

true if the specified popup was closed, or false if the popup was not open in the first place.

Throws

Error if this service is not initialized.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiService.ts:700


enterStartupPhase

enterStartupPhase(): void

Enters the startup phase. When entering the startup phase, the MFD pane is made visible (split screen if this service's parent instrument is operating as a PFD, and full screen if operating as an MFD), all popups on both panes are closed, and the MFD startup view is opened.

Returns

void

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiService.ts:357


exitStartupPhase

exitStartupPhase(): void

Exits the startup phase. When exiting the startup phase, the full/split screen mode defined by the displayStartupSplitMode user setting is applied, and if the MFD pane is visible the MFD main view is opened.

Returns

void

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiService.ts:389


goBackMfd

goBackMfd(closeMfdPaneIfEmpty?): null | RenderedUiViewEntry

Returns to the most recent previous history state of the MFD view stack. If the MFD pane is not visible, then this method does nothing.

Parameters

NameTypeDefault valueDescription
closeMfdPaneIfEmptybooleantrueWhether to close the MFD pane if possible should there be no previous history state to which to return or should the operation result in the MFD view stack containing no open views except the empty page. Defaults to true.

Returns

null | RenderedUiViewEntry

The active view entry in the MFD view stack after the operation is complete, or null if the MFD pane is not visible after the operation is complete.

Throws

Error if this service is not initialized.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiService.ts:864


goBackPfd

goBackPfd(): null | RenderedUiViewEntry

Returns to the most recent previous history state of the PFD view stack. If the PFD pane is not visible, then this method does nothing.

Returns

null | RenderedUiViewEntry

The active view entry in the PFD view stack after the operation is complete, or null if the PFD pane is not visible.

Throws

Error if this service is not initialized.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiService.ts:631


goBackToMfd

goBackToMfd(selector, closeMfdPaneIfEmpty?): null | RenderedUiViewEntry

Attempts to return to a previous history state of the MFD view stack. If the MFD pane is not visible, then this method does nothing.

Parameters

NameTypeDefault valueDescription
selector(steps: number, stackPeeker: (depth: number) => undefined | UiViewStackItem) => booleanundefinedA function which selects the history state to which to return. The function is called once for each history state in order of increasing age and takes two arguments: the number of steps from the present state to the selected state and a function which allows one to peek into the selected state's view stack. The function should return true if the operation should return to the selected state and false otherwise. If the function returns false for every selected state, then the operation is aborted.
closeMfdPaneIfEmptybooleantrueWhether to close the MFD pane if possible should the operation result in the MFD view stack containing no open views except the empty page. Defaults to true.

Returns

null | RenderedUiViewEntry

The active view entry in the MFD view stack after the operation is complete, or null if the MFD pane is not visible after the operation is complete.

Throws

Error if this service is not initialized.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiService.ts:930


goBackToPfd

goBackToPfd(selector): null | RenderedUiViewEntry

Attempts to return to a previous history state of the PFD view stack. If the PFD pane is not visible, then this method does nothing.

Parameters

NameTypeDescription
selector(steps: number, stackPeeker: (depth: number) => undefined | UiViewStackItem) => booleanA function which selects the history state to which to return. The function is called once for each history state in order of increasing age and takes two arguments: the number of steps from the present state to the selected state and a function which allows one to peek into the selected state's view stack. The function should return true if the operation should return to the selected state and false otherwise. If the function returns false for every selected state, then the operation is aborted.

Returns

null | RenderedUiViewEntry

The active view entry in the MFD view stack after the operation is complete, or null if the MFD pane is not visible after the operation is complete.

Throws

Error if this service is not initialized.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiService.ts:662


initialize

initialize(): void

Initializes this service.

Returns

void

Throws

Error if this service's view stacks are not attached to containers.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiService.ts:243


openMfdPane

openMfdPane(openMfdPageKey?): void

Opens the MFD pane. This method does nothing if the MFD pane is already visible.

Parameters

NameTypeDefault valueDescription
openMfdPageKeystringUiViewKeys.MfdMainThe MFD view page to open if the MFD pane is made visible as a result of this operation. Defaults to UiViewKeys.MfdMain.

Returns

void

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiService.ts:505


openMfdPopup

openMfdPopup<T>(layer, key, closeOtherPopups?, popupOptions?): RenderedUiViewEntry<T>

Opens an MFD view as a popup. The opened view will be brought to the top of its view stack layer.

Type parameters

NameType
Textends UiView<UiViewProps> = UiView<UiViewProps>

Parameters

NameTypeDefault valueDescription
layerUiViewStackLayerundefinedThe view stack layer in which to open the view.
keystringundefinedThe key of the view to open.
closeOtherPopupsbooleanfalseWhether to close other popups before opening the new popup. If true and the new popup is opened in the overlay layer, then all popups in the overlay layer will be closed. If true and the new popup is opened in the main layer, then all popups in both the main and overlay layers will be closed. Defaults to false.
popupOptions?Readonly<UiPopupOpenOptions>undefinedOptions describing how to open the popup. If not defined, then the popup will default to type 'normal' and with a background occlusion type of 'darken'.

Returns

RenderedUiViewEntry<T>

The entry of the opened view.

Throws

Error if this service is not initialized, the specified key is equal to UiViewKeys.EmptyPage, there is no view registered under the specified key, or the view to open is already open.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiService.ts:824


openPfdPopup

openPfdPopup<T>(key, closeOtherPopups?, popupOptions?): RenderedUiViewEntry<T>

Opens a PFD view as a popup. The opened view will be brought to the top of the view stack.

Type parameters

NameType
Textends UiView<UiViewProps> = UiView<UiViewProps>

Parameters

NameTypeDefault valueDescription
keystringundefinedThe key of the view to open.
closeOtherPopupsbooleanfalseWhether to close other popups before opening the new popup. If true and the new popup is opened in the overlay layer, then all popups in the overlay layer will be closed. If true and the new popup is opened in the main layer, then all popups in both the main and overlay layers will be closed. Defaults to false.
popupOptions?Readonly<UiPopupOpenOptions>undefinedOptions describing how to open the popup. If not defined, then the popup will default to type 'normal' and with a background occlusion type of 'darken'.

Returns

RenderedUiViewEntry<T>

The entry of the opened view.

Throws

Error if this service is not initialized, the specified key is equal to UiViewKeys.EmptyPage, there is no view registered under the specified key, or the view to open is already open.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiService.ts:599


registerMfdView

registerMfdView(layer, lifecyclePolicy, key, factory): void

Registers and renders a view with this service's MFD view stack. Once a view is registered, it may be opened by referencing its key.

Parameters

NameTypeDescription
layerUiViewStackLayerThe view stack layer to which to assign the view.
lifecyclePolicyUiViewLifecyclePolicyThe lifecycle policy to apply to the view.
keystringThe key to register the view under.
factory(uiService: UiService, containerRef: NodeReference<HTMLElement>) => VNodeA function which renders the view.

Returns

void

Throws

Error if the specified key is invalid.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiService.ts:230


registerPfdView

registerPfdView(layer, lifecyclePolicy, key, factory): void

Registers and renders a view with this service's PFD view stack. Once a view is registered, it may be opened by referencing its key.

Parameters

NameTypeDescription
layerUiViewStackLayerThe view stack layer to which to assign the view.
lifecyclePolicyUiViewLifecyclePolicyThe lifecycle policy to apply to the view.
keystringThe key to register the view under.
factory(uiService: UiService, containerRef: NodeReference<HTMLElement>) => VNodeA function which renders the view.

Returns

void

Throws

Error if the specified key is invalid.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiService.ts:212


resetMfdToPage

resetMfdToPage<T>(key): null | RenderedUiViewEntry<T>

Resets the state of the MFD pane such that the open page and active view is a page with a given key. First, an attempt is made to rewind the history state of the MFD pane until the above conditions are met. If this is not possible, then the history state is rewound until only the empty page is open and then the page with the specified key is opened. If the MFD pane is not visible, then this method does nothing.

Type parameters

NameType
Textends UiView<UiViewProps> = UiView<UiViewProps>

Parameters

NameTypeDescription
keystringThe key of the page view to which to reset.

Returns

null | RenderedUiViewEntry<T>

The entry of the page view to which the MFD pane was reset, or null if the MFD pane is not visible.

Throws

Error if this service is not initialized, the specified key is equal to UiViewKeys.EmptyPage, or there is no view registered under the specified key.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiService.ts:761


selectMfdMainPage

selectMfdMainPage(key): void

Selects an MFD main page to display.

Parameters

NameTypeDescription
keystringThe key of the page to select.

Returns

void

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiService.ts:1085


selectMfdNrstPage

selectMfdNrstPage(key): void

Selects an MFD NRST page to display.

Parameters

NameTypeDescription
keystringThe key of the page to select.

Returns

void

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiService.ts:1093


setReversionaryMode

setReversionaryMode(isReversionaryMode): void

Sets whether this service is operating in reversionary mode.

Parameters

NameTypeDescription
isReversionaryModebooleanWhether this service is operating in reversionary mode.

Returns

void

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiService.ts:416


sleep

sleep(): void

Puts this service to sleep.

Returns

void

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiService.ts:341


toggleSplitPaneMode

toggleSplitPaneMode(force?, openMfdPageKey?): void

Toggles whether the UI panes should be displayed in split mode.

Parameters

NameTypeDefault valueDescription
force?booleanundefinedThe split mode state to which to toggle (true = split, false = full). If not defined, then the state will be toggled to the opposite of the current state.
openMfdPageKeystringUiViewKeys.MfdMainThe MFD view page to open if the MFD pane is made visible as a result of turning split mode on. Defaults to UiViewKeys.MfdMain.

Returns

void

Throws

Error if this service is not initialized.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiService.ts:519


updateMfdViewStack

updateMfdViewStack(time): void

Updates this service's MFD view stack. Has no effect if this service is not initialized or is asleep.

Parameters

NameTypeDescription
timenumberThe current real (operating system) time, as a Javascript timestamp.

Returns

void

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiService.ts:494


updatePfdViewStack

updatePfdViewStack(time): void

Updates this service's PFD view stack. Has no effect if this service is not initialized or is asleep.

Parameters

NameTypeDescription
timenumberThe current real (operating system) time, as a Javascript timestamp.

Returns

void

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiService.ts:484


wake

wake(): void

Wakes this service.

Returns

void

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiService.ts:327