Skip to main content

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

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


adcPublisher

protected readonly adcPublisher: AdcPublisher

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


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


aircraftInertialPublisher

protected readonly aircraftInertialPublisher: AircraftInertialPublisher

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


antiIcePublisher

protected readonly antiIcePublisher: AntiIcePublisher

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


apInstrument

protected readonly apInstrument: AutopilotInstrument

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


apPanelPublisher

protected readonly apPanelPublisher: Epic2ApPanelPublisher

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


backplane

protected readonly backplane: InstrumentBackplane

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


baseInstrumentPublisher

protected readonly baseInstrumentPublisher: BaseInstrumentPublisher

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


brakePublisher

protected readonly brakePublisher: BrakeSimvarPublisher

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


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


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

The general avionics configuration object.


controlSurfacesPublisher

protected readonly controlSurfacesPublisher: ControlSurfacesPublisher

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


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


eisPublisher

protected readonly eisPublisher: EISPublisher

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


electricalPublisher

protected readonly electricalPublisher: ElectricalPublisher

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


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


flightPathCalculator

protected readonly flightPathCalculator: FlightPathCalculator

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


flightPlanner

protected readonly flightPlanner: FlightPlanner<"">

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


fuelSystemPublisher

protected readonly fuelSystemPublisher: FuelSystemSimVarPublisher

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


gnssPublisher

protected readonly gnssPublisher: GNSSPublisher

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


gpsReceiverSelector?

protected optional gpsReceiverSelector: GpsReceiverSelector

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


haveUpdatesStarted

protected haveUpdatesStarted: boolean = false

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

Whether this instrument has started updating.


hEventPublisher

protected readonly hEventPublisher: HEventPublisher

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


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

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


protected readonly lnavDataPublisher: Epic2LNavDataSimVarPublisher

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


protected readonly lNavPublisher: LNavSimVarPublisher

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


mfdUserSettingsManager

protected readonly mfdUserSettingsManager: MfdUserSettingManager

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


minimumsPublisher

protected readonly minimumsPublisher: MinimumsSimVarPublisher

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


protected readonly navComSimVarPublisher: NavComSimVarPublisher

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


protected readonly navComUserSettingsManager: NavComUserSettingManager

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


nearestContext

protected readonly nearestContext: Epic2NearestContext

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


pfdUserSettingsManager

protected readonly pfdUserSettingsManager: PfdUserSettingManager

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


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


speedLimitPublisher

protected readonly speedLimitPublisher: SpeedLimitPublisher

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


systems

protected readonly systems: AvionicsSystem[] = []

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


timerPublisher

protected readonly timerPublisher: FlightTimerPublisher<any>

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


trafficInstrument

protected readonly trafficInstrument: TrafficInstrument

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


verticalPathCalculator

protected readonly verticalPathCalculator: SmoothingPathCalculator

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


vNavPublisher

protected readonly vNavPublisher: VNavSimVarPublisher

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


xpdrInstrument

protected readonly xpdrInstrument: XPDRInstrument

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

Methods

createSystems()

protected createSystems(): void

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

Creates this instrument's avionics systems.

Returns

void


doInit()

protected doInit(): void

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

Init instrument.

Returns

void


getBootDuration()

protected getBootDuration(): 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()

protected onBootFinished(): void

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

Responds to when this instrument is finished booting.

Returns

void


onBootStart()

protected onBootStart(): 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

ParameterType
oldStateGameState
newStateGameState

Returns

void

Inherit Doc

Implementation of

FsInstrument.onGameStateChanged


onInteractionEvent()

onInteractionEvent(args): void

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

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

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

ParameterType
soundEventIdName_Z

Returns

void

Inherit Doc

Implementation of

FsInstrument.onSoundEnd


setSelectedDu()

protected setSelectedDu(hostDuIndex?): void

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

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

Returns

void

Inherit Doc

Implementation of

FsInstrument.Update


updateSystems()

protected updateSystems(): void

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

Updates this instrument's systems.

Returns

void