Skip to main content

Abstract Class: WTG3000FsInstrument

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:51

A common instrument for the G3000.

Extended by

Implements

Constructors

Constructor

new WTG3000FsInstrument(instrumentType, instrument, config): WTG3000FsInstrument

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:171

Constructor.

Parameters

ParameterTypeDescription
instrumentTypeInstrumentTypeThe type of this instrument.
instrumentBaseInstrumentThis instrument's parent BaseInstrument.
configAvionicsConfigThis instrument's general configuration object.

Returns

WTG3000FsInstrument

Properties

adcPublisher

protected readonly adcPublisher: AdcPublisher

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:122


ahrsPublisher

protected readonly ahrsPublisher: AhrsPublisher

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:123


ambientPublisher

protected readonly ambientPublisher: AmbientPublisher

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:121


apInstrument

protected readonly apInstrument: AutopilotInstrument

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:138


avionicsStatus

protected readonly avionicsStatus: Subject<undefined | Readonly<AvionicsStatusChangeEvent>>

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:114


avionicsStatusClient

protected readonly avionicsStatusClient: AvionicsStatusClient

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:111


avionicsStatusEventClient

protected readonly avionicsStatusEventClient: AvionicsStatusEventClient

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:112


avionicsStatusSimVar

protected readonly avionicsStatusSimVar: string

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:113


backlightPublisher

protected readonly backlightPublisher: G3000BacklightPublisher

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:136


backplane

protected readonly backplane: InstrumentBackplane

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:116


baseInstrumentPublisher

protected readonly baseInstrumentPublisher: BaseInstrumentPublisher

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:120


bus

protected readonly bus: EventBus

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:61


casPowerStateManager

protected readonly casPowerStateManager: CasPowerStateManager

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:155


chartsSources

protected readonly chartsSources: G3000ChartsSource[] = []

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:157


checkListDef?

protected optional checkListDef: G3000ChecklistSetDef

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:159


checklistStateProvider?

protected optional checklistStateProvider: DefaultChecklistStateProvider<GarminChecklistItemTypeDefMap, G3000ChecklistMetadata, G3000ChecklistGroupMetadata, void, void>

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:160


clock

protected readonly clock: Clock

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:118


config

protected readonly config: AvionicsConfig

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:174

This instrument's general configuration object.


controlSurfacesPublisher

protected readonly controlSurfacesPublisher: ControlSurfacesPublisher

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:133


displayOverlayController

protected readonly displayOverlayController: DefaultDisplayOverlayController

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:59


eisPublisher

protected readonly eisPublisher: EISPublisher

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:132


facLoader

protected readonly facLoader: FacilityLoader

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:63


facRepo

protected readonly facRepo: FacilityRepository

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:62


flightPathCalculator

protected readonly flightPathCalculator: FlightPathCalculator

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:69


flightPlanner

protected readonly flightPlanner: FlightPlanner<"">

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:85


fms

protected readonly fms: Fms<"">

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:98


fmsPositionSystemSelector

protected readonly fmsPositionSystemSelector: FmsPositionSystemSelector

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:145


fmsSpeedsSettingManager?

protected readonly optional fmsSpeedsSettingManager: FmsSpeedUserSettingManager

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:152


fuelTotalizerPublisher

protected readonly fuelTotalizerPublisher: FuelTotalizerSimVarPublisher

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:135


garminAutopilotPublisher

protected readonly garminAutopilotPublisher: GarminAPSimVarPublisher

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:129


garminNavPublisher

protected readonly garminNavPublisher: GarminNavSimVarPublisher

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:125


gnssPublisher

protected readonly gnssPublisher: GNSSPublisher

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:124


haveUpdatesStarted

protected haveUpdatesStarted: boolean = false

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:163

Whether this instrument has started updating.


hEventPublisher

protected readonly hEventPublisher: HEventPublisher

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:67


instrument

readonly instrument: BaseInstrument

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:173

This instrument's parent BaseInstrument.

Implementation of

FsInstrument.instrument


instrumentType

protected readonly instrumentType: InstrumentType

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:172

The type of this instrument.


isPowered

protected isPowered: undefined | boolean = undefined

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:55


protected readonly lnavObsPublisher: LNavObsSimVarPublisher

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:126


minimumsDataProvider

protected readonly minimumsDataProvider: DefaultMinimumsDataProvider

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:147


minimumsPublisher

protected readonly minimumsPublisher: MinimumsSimVarPublisher

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:130


protected readonly navComSimVarPublisher: NavComSimVarPublisher

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:128


protected readonly navEventsPublisher: NavEventsPublisher

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:131


abstract protected readonly navIndicators: G3000NavIndicators

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:143


abstract protected readonly navSources: G3000NavSources

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:142


pfdSensorsSettingManager

protected readonly pfdSensorsSettingManager: PfdSensorsUserSettingManager

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:150


speedConstraintStore

protected readonly speedConstraintStore: GarminSpeedConstraintStore

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:96


systems

protected readonly systems: AvionicsSystem[] = []

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:140


terrainSystemStateDataProvider

protected readonly terrainSystemStateDataProvider: DefaultTerrainSystemStateDataProvider

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:148


timerPublisher

protected readonly timerPublisher: FlightTimerPublisher<any>

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:134


verticalPathCalculator

protected readonly verticalPathCalculator: SmoothingPathCalculator

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:87


vNavPublisher

protected readonly vNavPublisher: VNavSimVarPublisher

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:127


vSpeedSettingManager

protected readonly vSpeedSettingManager: VSpeedUserSettingManager

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:151


weightBalanceSettingManager?

protected readonly optional weightBalanceSettingManager: WeightBalanceUserSettingManager

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:153

Methods

createNavReferenceIndicatorCollection()

protected createNavReferenceIndicatorCollection(): G3000NavIndicators

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:362

Creates a navigation reference indicator collection for this instrument to use.

Returns

G3000NavIndicators

A navigation reference indicator collection for this instrument to use.


createNavReferenceIndicators()

protected createNavReferenceIndicators(): [G3000NavIndicatorName, G3000NavIndicator][]

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:385

Creates an array of tuples of the navigation reference indicator names and their associated indicators for this instrument to use.

Returns

[G3000NavIndicatorName, G3000NavIndicator][]

An array of tuples of the navigation reference indicator names and their associated indicators for this instrument to use.


createNavReferenceSourceCollection()

protected createNavReferenceSourceCollection(): G3000NavSources

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:354

Creates a navigation reference source collection for this instrument to use.

Returns

G3000NavSources

A navigation reference source collection for this instrument to use.


createNavReferenceSources()

protected createNavReferenceSources(): G3000NavSource[]

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:370

Creates an array of the navigation reference sources for this instrument to use.

Returns

G3000NavSource[]

An array of the navigation reference sources for this instrument to use.


createSystems()

protected createSystems(): void

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:228

Creates this instrument's avionics systems. This method should be called after this.iauIndex has been defined.

Returns

void


getBootDuration()

abstract protected getBootDuration(): number

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:507

Gets the duration, in milliseconds, required for this instrument to boot on power up.

Returns

number

The duration, in milliseconds, required for this instrument to boot on power up.


initAvionicsStatusListener()

protected initAvionicsStatusListener(): void

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:499

Initializes this instrument's avionics status listener. Once intialized, the listener will call this instrument's onAvionicsStatusChanged() method as appropriate.

Returns

void


initChartSources()

protected initChartSources(pluginSystem): void

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:432

Initializes this instrument's electronic charts sources.

Parameters

ParameterTypeDescription
pluginSystemPluginSystem<G3000Plugin<G3000PluginBinder>, G3000PluginBinder>This instrument's plugin system.

Returns

void

Throws

Error if a charts source factory produces a source with an improper ID.


initChecklist()

protected initChecklist(pluginSystem): Promise<void>

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:473

Initializes this instrument's checklist system.

Parameters

ParameterTypeDescription
pluginSystemPluginSystem<G3000Plugin<G3000PluginBinder>, G3000PluginBinder>This instrument's plugin system.

Returns

Promise<void>


onAvionicsStatusChanged()

protected onAvionicsStatusChanged(event): void

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:614

Responds to when the avionics status of this instrument changes.

Parameters

ParameterTypeDescription
eventReadonly<AvionicsStatusChangeEvent>The event describing the avionics status change.

Returns

void


onBootFinished()

protected onBootFinished(): void

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:606

Responds to when this instrument is finished booting.

Returns

void


onFlightStart()

onFlightStart(): void

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:532

Returns

void

Inherit Doc

Implementation of

FsInstrument.onFlightStart


onGameStateChanged()

onGameStateChanged(oldState, newState): void

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:538

Parameters

ParameterType
oldStateGameState
newStateGameState

Returns

void

Inherit Doc

Implementation of

FsInstrument.onGameStateChanged


onInteractionEvent()

onInteractionEvent(args): void

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:527

Parameters

ParameterType
argsstring[]

Returns

void

Inherit Doc

Implementation of

FsInstrument.onInteractionEvent


onPowerChanged()

protected onPowerChanged(current, previous): void

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:586

Responds to when this instrument's power state changes.

Parameters

ParameterTypeDescription
currentbooleanThe current power state.
previousundefined | booleanThe previous power state, or undefined if the previous state was invalid.

Returns

void


onPowerOff()

onPowerOff(): void

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:567

A callback which is executed when this instrument transitions from a power-on to power-off state.

Returns

void


onPowerOn()

onPowerOn(): void

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:551

A callback which is executed when this instrument transitions from a power-off to power-on state.

Returns

void


onSoundEnd()

onSoundEnd(soundEventId): void

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:544

Parameters

ParameterType
soundEventIdName_Z

Returns

void

Inherit Doc

Implementation of

FsInstrument.onSoundEnd


Update()

Update(): void

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:510

Returns

void

Inherit Doc

Implementation of

FsInstrument.Update


updateSystems()

protected updateSystems(): void

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:519

Updates this instrument's systems.

Returns

void