Abstract Class: Epic2FsInstrument
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:42
A common instrument for the Epic 2.
Implements
FsInstrument
Constructors
Constructor
new Epic2FsInstrument(
instrument,config):Epic2FsInstrument
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:144
Creates a new instance of Epic2FsInstrument.
Parameters
| Parameter | Type | Description |
|---|---|---|
instrument | BaseInstrument | This instrument's parent BaseInstrument. |
config | AvionicsConfig | The general avionics configuration object. |
Returns
Epic2FsInstrument
Properties
adahrsSelector?
protectedoptionaladahrsSelector:AdahrsSystemSelector
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:133
adcPublisher
protectedreadonlyadcPublisher:AdcPublisher
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:107
agm1State
protectedreadonlyagm1State:Subject<AvionicsSystemState>
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:57
agm2State
protectedreadonlyagm2State:Subject<AvionicsSystemState>
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:58
ahrsPublisher
protectedreadonlyahrsPublisher:AhrsPublisher
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:108
aircraftInertialPublisher
protectedreadonlyaircraftInertialPublisher:AircraftInertialPublisher
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:109
antiIcePublisher
protectedreadonlyantiIcePublisher:AntiIcePublisher
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:110
apInstrument
protectedreadonlyapInstrument:AutopilotInstrument
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:126
apPanelPublisher
protectedreadonlyapPanelPublisher:Epic2ApPanelPublisher
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:124
backplane
protectedreadonlybackplane:InstrumentBackplane
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:102
baseInstrumentPublisher
protectedreadonlybaseInstrumentPublisher:BaseInstrumentPublisher
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:106
brakePublisher
protectedreadonlybrakePublisher:BrakeSimvarPublisher
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:111
bus
protectedreadonlybus:EventBus
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:64
clock
protectedreadonlyclock:Clock
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:104
cockpitUserSettings
protectedreadonlycockpitUserSettings:DefaultUserSettingManager<RefsSettings>
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:66
config
protectedreadonlyconfig:AvionicsConfig
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:146
The general avionics configuration object.
controlSurfacesPublisher
protectedreadonlycontrolSurfacesPublisher:ControlSurfacesPublisher
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:119
displayUnitIndex
protectedreadonlydisplayUnitIndex:DisplayUnitIndices
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:44
The home display unit for this display (i.e. without MFD swap).
duControlPublisher
protectedreadonlyduControlPublisher:Epic2InputControlPublisher
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:79
eisPublisher
protectedreadonlyeisPublisher:EISPublisher
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:118
electricalPublisher
protectedreadonlyelectricalPublisher:ElectricalPublisher
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:121
facLoader
protectedreadonlyfacLoader:FacilityLoader
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:69
facRepo
protectedreadonlyfacRepo:FacilityRepository
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:68
flapWarningSelector?
protectedoptionalflapWarningSelector:FlapWarningSystemSelector
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:134
flightPathCalculator
protectedreadonlyflightPathCalculator:FlightPathCalculator
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:81
flightPlanner
protectedreadonlyflightPlanner:FlightPlanner<"">
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:95
fuelSystemPublisher
protectedreadonlyfuelSystemPublisher:FuelSystemSimVarPublisher
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:123
gnssPublisher
protectedreadonlygnssPublisher:GNSSPublisher
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:112
gpsReceiverSelector?
protectedoptionalgpsReceiverSelector:GpsReceiverSelector
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:132
haveUpdatesStarted
protectedhaveUpdatesStarted:boolean=false
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:137
Whether this instrument has started updating.
hEventPublisher
protectedreadonlyhEventPublisher:HEventPublisher
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:77
hostDisplayUnitIndex
protectedreadonlyhostDisplayUnitIndex:Subject<DisplayUnitIndices>
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:46
The actual DU hosting this display, considering MFD swap.
instrument
readonlyinstrument:BaseInstrument
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:145
This instrument's parent BaseInstrument.
Implementation of
FsInstrument.instrument
isAgmOn
protectedreadonlyisAgmOn:Subject<boolean>
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:59
isDuBooted
protectedreadonlyisDuBooted:Subject<boolean>
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:60
isPowered
protectedisPowered:undefined|boolean=undefined
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:50
lnavDataPublisher
protectedreadonlylnavDataPublisher:Epic2LNavDataSimVarPublisher
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:114
lNavPublisher
protectedreadonlylNavPublisher:LNavSimVarPublisher
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:113
mfdUserSettingsManager
protectedreadonlymfdUserSettingsManager:MfdUserSettingManager
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:72
minimumsPublisher
protectedreadonlyminimumsPublisher:MinimumsSimVarPublisher
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:117
navComSimVarPublisher
protectedreadonlynavComSimVarPublisher:NavComSimVarPublisher
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:116
navComUserSettingsManager
protectedreadonlynavComUserSettingsManager:NavComUserSettingManager
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:75
nearestContext
protectedreadonlynearestContext:Epic2NearestContext
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:70
pfdUserSettingsManager
protectedreadonlypfdUserSettingsManager:PfdUserSettingManager
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:73
selectedAdahrsIndex
protectedreadonlyselectedAdahrsIndex:Subject<number>
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:53
selectedAoaIndex
protectedreadonlyselectedAoaIndex:Subject<number>
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:52
selectedFlapWarningIndex
protectedreadonlyselectedFlapWarningIndex:Subject<number>
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:55
selectedFmsPosIndex
protectedreadonlyselectedFmsPosIndex:Subject<number>
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:54
softKeyController
protectedreadonlysoftKeyController:Epic2DuController
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:78
speedLimitPublisher
protectedreadonlyspeedLimitPublisher:SpeedLimitPublisher
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:122
systems
protectedreadonlysystems:AvionicsSystem[] =[]
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:130
timerPublisher
protectedreadonlytimerPublisher:FlightTimerPublisher<any>
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:120
trafficInstrument
protectedreadonlytrafficInstrument:TrafficInstrument
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:127
verticalPathCalculator
protectedreadonlyverticalPathCalculator:SmoothingPathCalculator
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:97
vNavPublisher
protectedreadonlyvNavPublisher:VNavSimVarPublisher
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:115
xpdrInstrument
protectedreadonlyxpdrInstrument:XPDRInstrument
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:128
Methods
createSystems()
protectedcreateSystems():void
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:228
Creates this instrument's avionics systems.
Returns
void
doInit()
protecteddoInit():void
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:402
Init instrument.
Returns
void
getBootDuration()
protectedgetBootDuration():number
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:359
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.
onBootFinished()
protectedonBootFinished():void
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:484
Responds to when this instrument is finished booting.
Returns
void
onBootStart()
protectedonBootStart():void
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:476
Responds to when the instrument begins to boot
Returns
void
onFlightStart()
onFlightStart():
void
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:385
Returns
void
Inherit Doc
Implementation of
FsInstrument.onFlightStart
onGameStateChanged()
onGameStateChanged(
oldState,newState):void
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:391
Parameters
| Parameter | Type |
|---|---|
oldState | GameState |
newState | GameState |
Returns
void
Inherit Doc
Implementation of
FsInstrument.onGameStateChanged
onInteractionEvent()
onInteractionEvent(
args):void
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:380
Parameters
| Parameter | Type |
|---|---|
args | string[] |
Returns
void
Inherit Doc
Implementation of
FsInstrument.onInteractionEvent
onPowerChanged()
protectedonPowerChanged(current,previous):void
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:459
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
onPoweredStart()
protectedonPoweredStart():void
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:490
Returns
void
Inherit Doc
onPowerOff()
onPowerOff():
void
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:437
A callback which is executed when this instrument transitions from a power-on to power-off state.
Returns
void
onPowerOn()
onPowerOn():
void
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:421
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: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:397
Parameters
| Parameter | Type |
|---|---|
soundEventId | Name_Z |
Returns
void
Inherit Doc
Implementation of
FsInstrument.onSoundEnd
setSelectedDu()
protectedsetSelectedDu(hostDuIndex?):void
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:499
Sets the selected display unit index (for TSC/MF controller input).
Parameters
| Parameter | Type | Description |
|---|---|---|
hostDuIndex? | DisplayUnitIndices | The DU index to set; defaults to this display's host DU. |
Returns
void
Update()
Update():
void
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:364
Returns
void
Inherit Doc
Implementation of
FsInstrument.Update
updateSystems()
protectedupdateSystems():void
Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:373
Updates this instrument's systems.
Returns
void