Skip to main content

Abstract Class: Epic2FsInstrument

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:42

A common instrument for the Epic 2.

Extended by

Implements

Constructors

Constructor

new Epic2FsInstrument(instrument, config): Epic2FsInstrument

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:149

Creates a new instance of Epic2FsInstrument.

Parameters

ParameterTypeDescription
instrumentBaseInstrumentThis instrument's parent BaseInstrument.
configAvionicsConfigThe general avionics configuration object.

Returns

Epic2FsInstrument

Properties

adahrsSelector?

protected optional adahrsSelector: AdahrsSystemSelector

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:138


adcPublisher

protected readonly adcPublisher: AdcPublisher

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:114


agm1State

protected readonly agm1State: Subject<AvionicsSystemState>

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:57


agm2State

protected readonly agm2State: Subject<AvionicsSystemState>

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:58


ahrsPublisher

protected readonly ahrsPublisher: AhrsPublisher

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:115


aircraftInertialPublisher

protected readonly aircraftInertialPublisher: AircraftInertialPublisher

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:116


antiIcePublisher

protected readonly antiIcePublisher: AntiIcePublisher

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:117


apInstrument

protected readonly apInstrument: AutopilotInstrument

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:131


apPanelPublisher

protected readonly apPanelPublisher: Epic2ApPanelPublisher

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:129


backplane

protected readonly backplane: InstrumentBackplane

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:109


baseInstrumentPublisher

protected readonly baseInstrumentPublisher: BaseInstrumentPublisher

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:113


brakePublisher

protected readonly brakePublisher: BrakeSimvarPublisher

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:118


bus

protected readonly bus: EventBus

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:64


clock

protected readonly clock: Clock

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:111


cockpitUserSettings

protected readonly cockpitUserSettings: DefaultUserSettingManager<RefsSettings>

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:66


config

protected readonly config: AvionicsConfig

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:151

The general avionics configuration object.


controlSurfacesPublisher

protected readonly controlSurfacesPublisher: ControlSurfacesPublisher

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:124


displayUnitIndex

protected readonly displayUnitIndex: DisplayUnitIndices

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:44

The home display unit for this display (i.e. without MFD swap).


duControlPublisher

protected readonly duControlPublisher: Epic2InputControlPublisher

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:81


eisPublisher

protected readonly eisPublisher: EISPublisher

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:123


electricalPublisher

protected readonly electricalPublisher: ElectricalPublisher

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:126


facLoader

protected readonly facLoader: FacilityLoader

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:69


facRepo

protected readonly facRepo: FacilityRepository

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:68


flapWarningSelector?

protected optional flapWarningSelector: FlapWarningSystemSelector

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:139


flightPathCalculator

protected readonly flightPathCalculator: FlightPathCalculator

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:83


flightPlanner

protected readonly flightPlanner: FlightPlanner<"">

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:102


fuelSystemPublisher

protected readonly fuelSystemPublisher: FuelSystemSimVarPublisher

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:128


gnssPublisher

protected readonly gnssPublisher: GNSSPublisher

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:119


gpsReceiverSelector?

protected optional gpsReceiverSelector: GpsReceiverSelector

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:137


haveUpdatesStarted

protected haveUpdatesStarted: boolean = false

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:142

Whether this instrument has started updating.


hEventPublisher

protected readonly hEventPublisher: HEventPublisher

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:79


hostDisplayUnitIndex

protected readonly hostDisplayUnitIndex: Subject<DisplayUnitIndices>

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:46

The actual DU hosting this display, considering MFD swap.


instrument

readonly instrument: BaseInstrument

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:150

This instrument's parent BaseInstrument.

Implementation of

FsInstrument.instrument


isAgmOn

protected readonly isAgmOn: Subject<boolean>

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:59


isDuBooted

protected readonly isDuBooted: Subject<boolean>

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:60


isPowered

protected isPowered: undefined | boolean = undefined

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:50


mfdUserSettingsManager

protected readonly mfdUserSettingsManager: MfdUserSettingManager

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:74


minimumsPublisher

protected readonly minimumsPublisher: MinimumsSimVarPublisher

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:122


protected readonly navComSimVarPublisher: NavComSimVarPublisher

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:121


protected readonly navComUserSettingsManager: NavComUserSettingManager

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:77


nearestContext

protected readonly nearestContext: Epic2NearestContext

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:72


pfdUserSettingsManager

protected readonly pfdUserSettingsManager: PfdUserSettingManager

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:75


selectedAdahrsIndex

protected readonly selectedAdahrsIndex: Subject<number>

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:53


selectedAoaIndex

protected readonly selectedAoaIndex: Subject<number>

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:52


selectedFlapWarningIndex

protected readonly selectedFlapWarningIndex: Subject<number>

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:55


selectedFmsPosIndex

protected readonly selectedFmsPosIndex: Subject<number>

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:54


softKeyController

protected readonly softKeyController: Epic2DuController

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:80


speedLimitPublisher

protected readonly speedLimitPublisher: SpeedLimitPublisher

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:127


systems

protected readonly systems: AvionicsSystem[] = []

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:135


timerPublisher

protected readonly timerPublisher: FlightTimerPublisher<any>

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:125


trafficInstrument

protected readonly trafficInstrument: TrafficInstrument

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:132


verticalPathCalculator

protected readonly verticalPathCalculator: SmoothingPathCalculator

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:104


vNavPublisher

protected readonly vNavPublisher: VNavSimVarPublisher

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:120


xpdrInstrument

protected readonly xpdrInstrument: XPDRInstrument

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:133

Methods

createSystems()

protected createSystems(): void

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:231

Creates this instrument's avionics systems.

Returns

void


doInit()

protected doInit(): void

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:405

Init instrument.

Returns

void


getBootDuration()

protected getBootDuration(): number

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:362

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()

protected onBootFinished(): void

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:487

Responds to when this instrument is finished booting.

Returns

void


onBootStart()

protected onBootStart(): void

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:479

Responds to when the instrument begins to boot

Returns

void


onFlightStart()

onFlightStart(): void

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:388

Returns

void

Inherit Doc

Implementation of

FsInstrument.onFlightStart


onGameStateChanged()

onGameStateChanged(oldState, newState): void

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:394

Parameters

ParameterType
oldStateGameState
newStateGameState

Returns

void

Inherit Doc

Implementation of

FsInstrument.onGameStateChanged


onInteractionEvent()

onInteractionEvent(args): void

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:383

Parameters

ParameterType
argsstring[]

Returns

void

Inherit Doc

Implementation of

FsInstrument.onInteractionEvent


onPowerChanged()

protected onPowerChanged(current, previous): void

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:462

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


onPoweredStart()

protected onPoweredStart(): void

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:493

Returns

void

Inherit Doc


onPowerOff()

onPowerOff(): void

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:440

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:424

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:400

Parameters

ParameterType
soundEventIdName_Z

Returns

void

Inherit Doc

Implementation of

FsInstrument.onSoundEnd


setSelectedDu()

protected setSelectedDu(hostDuIndex?): void

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:502

Sets the selected display unit index (for TSC/MF controller input).

Parameters

ParameterTypeDescription
hostDuIndex?DisplayUnitIndicesThe DU index to set; defaults to this display's host DU.

Returns

void


Update()

Update(): void

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:367

Returns

void

Inherit Doc

Implementation of

FsInstrument.Update


updateSystems()

protected updateSystems(): void

Defined in: workingtitle-instruments-epic2/shared/Epic2FsInstrument.tsx:376

Updates this instrument's systems.

Returns

void