Skip to main content

Class: Epic2FlightAreaComputer

Defined in: workingtitle-instruments-epic2/shared/Autopilot/Epic2FlightAreaComputer.ts:41

A computer that determines the current flight area.

Implements

Constructors

Constructor

new Epic2FlightAreaComputer(bus, selectedFmsPosIndex, flightPlanStore): Epic2FlightAreaComputer

Defined in: workingtitle-instruments-epic2/shared/Autopilot/Epic2FlightAreaComputer.ts:157

Constructs a new flight area computer.

Parameters

ParameterTypeDescription
busEventBusThe instrument event bus.
selectedFmsPosIndexSubscribable<number>The selected FMS position system.
flightPlanStoreFlightPlanStoreThe active flight plan store.

Returns

Epic2FlightAreaComputer

Properties

activeArea

readonly activeArea: Subscribable<Epic2FlightArea>

Defined in: workingtitle-instruments-epic2/shared/Autopilot/Epic2FlightAreaComputer.ts:136

Methods

init()

init(): void

Defined in: workingtitle-instruments-epic2/shared/Autopilot/Epic2FlightAreaComputer.ts:175

Initializes this instrument.

Returns

void

Implementation of

Instrument.init


onUpdate()

onUpdate(): void

Defined in: workingtitle-instruments-epic2/shared/Autopilot/Epic2FlightAreaComputer.ts:199

Updates this instrument.

Returns

void

Implementation of

Instrument.onUpdate