Skip to main content

Class: MinimumsAlerter

Maintains a minimums alert state based on the relationship between indicated/radar altitude and the appropriate minimums setting.

Constructors

constructor

new MinimumsAlerter(bus, adcIndex, supportRadarMins): MinimumsAlerter

Creates an instance of AltitudeAlerter.

Parameters

NameTypeDescription
busEventBusThe event bus.
adcIndexnumber | Subscribable<number>The index of the ADC from which this alerter sources indicated altitude data.
supportRadarMinsbooleanWhether to support radar minimums.

Returns

MinimumsAlerter

Defined in

src/garminsdk/components/nextgenpfd/minimums/MinimumsAlerter.ts:80

Properties

minimumsMode

Readonly minimumsMode: Subscribable<MinimumsMode>

Defined in

src/garminsdk/components/nextgenpfd/minimums/MinimumsAlerter.ts:35


state

Readonly state: Subscribable<MinimumsAlertState>

Defined in

src/garminsdk/components/nextgenpfd/minimums/MinimumsAlerter.ts:38

Methods

destroy

destroy(): void

Destroys this alerter. Once destroyed, this alerter will no longer update its alert state.

Returns

void

Defined in

src/garminsdk/components/nextgenpfd/minimums/MinimumsAlerter.ts:285


init

init(): void

Initializes this alerter. Once initialized, this alerter will continuously update its alert state until destroyed.

Returns

void

Throws

Error if this alerter is dead.

Defined in

src/garminsdk/components/nextgenpfd/minimums/MinimumsAlerter.ts:92