Abstract Class: WTG3000FsInstrument
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:47
A common instrument for the G3000.
Implements
FsInstrument
Constructors
Constructor
new WTG3000FsInstrument(
instrumentType
,instrument
,config
):WTG3000FsInstrument
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:165
Constructor.
Parameters
Parameter | Type | Description |
---|---|---|
instrumentType | InstrumentType | The type of this instrument. |
instrument | BaseInstrument | This instrument's parent BaseInstrument. |
config | AvionicsConfig | This instrument's general configuration object. |
Returns
WTG3000FsInstrument
Properties
adcPublisher
protected
readonly
adcPublisher:AdcPublisher
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:113
ahrsPublisher
protected
readonly
ahrsPublisher:AhrsPublisher
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:114
apInstrument
protected
readonly
apInstrument:AutopilotInstrument
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:134
avionicsStatusClient
protected
readonly
avionicsStatusClient:AvionicsStatusClient
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:104
avionicsStatusEventClient
protected
readonly
avionicsStatusEventClient:AvionicsStatusEventClient
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:105
avionicsStatusSimVar
protected
readonly
avionicsStatusSimVar:string
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:106
backplane
protected
readonly
backplane:InstrumentBackplane
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:108
baseInstrumentPublisher
protected
readonly
baseInstrumentPublisher:BaseInstrumentPublisher
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:112
bus
protected
readonly
bus:EventBus
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:58
casPowerStateManager
protected
readonly
casPowerStateManager:CasPowerStateManager
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:149
checkListDef?
protected
optional
checkListDef:G3000ChecklistSetDef
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:151
checklistStateProvider?
protected
optional
checklistStateProvider:DefaultChecklistStateProvider
<GarminChecklistItemTypeDefMap
,G3000ChecklistMetadata
,G3000ChecklistGroupMetadata
,void
,void
>
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:152
clock
protected
readonly
clock:Clock
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:110
config
protected
readonly
config:AvionicsConfig
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:168
This instrument's general configuration object.
controlSurfacesPublisher
protected
readonly
controlSurfacesPublisher:ControlSurfacesPublisher
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:126
eisPublisher
protected
readonly
eisPublisher:EISPublisher
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:125
facLoader
protected
readonly
facLoader:FacilityLoader
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:60
facRepo
protected
readonly
facRepo:FacilityRepository
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:59
flightPathCalculator
protected
readonly
flightPathCalculator:FlightPathCalculator
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:64
flightPlanner
protected
readonly
flightPlanner:FlightPlanner
<""
>
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:79
fms
protected
readonly
fms:Fms
<""
>
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:92
fmsSpeedsSettingManager?
protected
readonly
optional
fmsSpeedsSettingManager:FmsSpeedUserSettingManager
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:146
fuelTotalizerPublisher
protected
readonly
fuelTotalizerPublisher:FuelTotalizerSimVarPublisher
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:128
garminAutopilotPublisher
protected
readonly
garminAutopilotPublisher:GarminAPSimVarPublisher
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:122
garminNavPublisher
protected
readonly
garminNavPublisher:GarminNavSimVarPublisher
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:116
gnssPublisher
protected
readonly
gnssPublisher:GNSSPublisher
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:115
gpsReceiverSelector?
protected
optional
gpsReceiverSelector:GpsReceiverSelector
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:154
haveUpdatesStarted
protected
haveUpdatesStarted:boolean
=false
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:157
Whether this instrument has started updating.
hEventPublisher
protected
readonly
hEventPublisher:HEventPublisher
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:62
iauIndex
abstract
protected
readonly
iauIndex:number
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:50
The index of the IAU (integrated avionics unit) linked to this instrument.
iauSettingManager
protected
readonly
iauSettingManager:IauUserSettingManager
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:144
instrument
readonly
instrument:BaseInstrument
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:167
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:166
The type of this instrument.
isPowered
protected
isPowered:undefined
|boolean
=undefined
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:54
lNavDataPublisher
protected
readonly
lNavDataPublisher:LNavDataSimVarPublisher
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:119
lnavObsPublisher
protected
readonly
lnavObsPublisher:LNavObsSimVarPublisher
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:118
lNavPublisher
protected
readonly
lNavPublisher:LNavSimVarPublisher
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:117
minimumsDataProvider
protected
readonly
minimumsDataProvider:DefaultMinimumsDataProvider
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:141
minimumsPublisher
protected
readonly
minimumsPublisher:MinimumsSimVarPublisher
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:123
navComSimVarPublisher
protected
readonly
navComSimVarPublisher:NavComSimVarPublisher
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:121
navEventsPublisher
protected
readonly
navEventsPublisher:NavEventsPublisher
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:124
navIndicators
abstract
protected
readonly
navIndicators:G3000NavIndicators
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:139
navSources
abstract
protected
readonly
navSources:G3000NavSources
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:138
speedConstraintStore
protected
readonly
speedConstraintStore:GarminSpeedConstraintStore
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:90
systems
protected
readonly
systems:AvionicsSystem
[] =[]
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:136
terrainSystemStateDataProvider
protected
readonly
terrainSystemStateDataProvider:DefaultTerrainSystemStateDataProvider
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:142
timerPublisher
protected
readonly
timerPublisher:FlightTimerPublisher
<any
>
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:127
verticalPathCalculator
protected
readonly
verticalPathCalculator:SmoothingPathCalculator
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:81
vNavPublisher
protected
readonly
vNavPublisher:VNavSimVarPublisher
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:120
vSpeedSettingManager
protected
readonly
vSpeedSettingManager:VSpeedUserSettingManager
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:145
weightBalancePublisher
protected
readonly
weightBalancePublisher:undefined
|G3000WeightBalancePublisher
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:130
weightBalanceSettingManager?
protected
readonly
optional
weightBalanceSettingManager:WeightBalanceUserSettingManager
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:147
weightFuelPublisher
protected
readonly
weightFuelPublisher:WeightFuelPublisher
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:129
Methods
createNavReferenceIndicatorCollection()
protected
createNavReferenceIndicatorCollection():G3000NavIndicators
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:354
Creates a navigation reference indicator collection for this instrument to use.
Returns
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:377
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:346
Creates a navigation reference source collection for this instrument to use.
Returns
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:362
Creates an array of the navigation reference sources for this instrument to use.
Returns
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:226
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:457
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:449
Initializes this instrument's avionics status listener. Once intialized, the listener will call this instrument's
onAvionicsStatusChanged()
method as appropriate.
Returns
void
initChecklist()
protected
initChecklist(pluginSystem
):Promise
<void
>
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:423
Initializes this instrument's checklist system.
Parameters
Parameter | Type | Description |
---|---|---|
pluginSystem | PluginSystem <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:564
Responds to when the avionics status of this instrument changes.
Parameters
Parameter | Type | Description |
---|---|---|
event | Readonly <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:556
Responds to when this instrument is finished booting.
Returns
void
onFlightStart()
onFlightStart():
void
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:482
Returns
void
Inherit Doc
Implementation of
FsInstrument.onFlightStart
onGameStateChanged()
onGameStateChanged(
oldState
,newState
):void
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:488
Parameters
Parameter | Type |
---|---|
oldState | GameState |
newState | GameState |
Returns
void
Inherit Doc
Implementation of
FsInstrument.onGameStateChanged
onInteractionEvent()
onInteractionEvent(
args
):void
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:477
Parameters
Parameter | Type |
---|---|
args | string [] |
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:536
Responds to when this instrument's power state changes.
Parameters
Parameter | Type | Description |
---|---|---|
current | boolean | The current power state. |
previous | undefined | boolean | The 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:517
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:501
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:494
Parameters
Parameter | Type |
---|---|
soundEventId | Name_Z |
Returns
void
Inherit Doc
Implementation of
FsInstrument.onSoundEnd
Update()
Update():
void
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:460
Returns
void
Inherit Doc
Implementation of
FsInstrument.Update
updateSystems()
protected
updateSystems():void
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/WTG3000FsInstrument.ts:469
Updates this instrument's systems.
Returns
void