Class: FlapWarningSystemSelector
Defined in: workingtitle-instruments-epic2/shared/Systems/FlapWarningSystemSelector.ts:8
Automatically selects the best flap warning system.
Constructors
Constructor
new FlapWarningSystemSelector(
index
,bus
,candidateSystemIndexes
):FlapWarningSystemSelector
Defined in: workingtitle-instruments-epic2/shared/Systems/FlapWarningSystemSelector.ts:32
Ctor
Parameters
Parameter | Type | Description |
---|---|---|
index | number | The index of this selector. |
bus | EventBus | The instrument event bus. |
candidateSystemIndexes | Iterable <number , any , any > | SubscribableSet <number > | The indexes of the flap warning systems from which to select. |
Returns
FlapWarningSystemSelector
Properties
selectedIndex
readonly
selectedIndex:Subscribable
<number
>
Defined in: workingtitle-instruments-epic2/shared/Systems/FlapWarningSystemSelector.ts:10
Methods
destroy()
destroy():
void
Defined in: workingtitle-instruments-epic2/shared/Systems/FlapWarningSystemSelector.ts:131
Destroys this selector.
Returns
void
init()
init():
void
Defined in: workingtitle-instruments-epic2/shared/Systems/FlapWarningSystemSelector.ts:45
Initializes this selector. Once initialized, this selector will automatically select the best ADC among its candidates.
Returns
void
Throws
Error if this selector has been destroyed.