Skip to main content

Class: DefaultTcasRaCommandDataProvider

Defined in: workingtitle-instruments-epic2/shared/Traffic/TcasRaCommandDataProvider.ts:37

A default implementation of TcasRaCommandDataProvider.

Implements​

Constructors​

Constructor​

new DefaultTcasRaCommandDataProvider(bus, tcas): DefaultTcasRaCommandDataProvider

Defined in: workingtitle-instruments-epic2/shared/Traffic/TcasRaCommandDataProvider.ts:66

Constructor.

Parameters​

ParameterTypeDescription
busEventBusThe event bus.
tcasTcasThe TCAS which from which this data provider sources resolution advisory commands.

Returns​

DefaultTcasRaCommandDataProvider

Properties​

raFlyToMaxVs​

readonly raFlyToMaxVs: Subscribable<null | number>

Defined in: workingtitle-instruments-epic2/shared/Traffic/TcasRaCommandDataProvider.ts:53

The upper bound vertical speed, in feet per minute, of the current resolution advisory's fly-to command, or null if there is no such value.

Implementation of​

TcasRaCommandDataProvider.raFlyToMaxVs


raFlyToMinVs​

readonly raFlyToMinVs: Subscribable<null | number>

Defined in: workingtitle-instruments-epic2/shared/Traffic/TcasRaCommandDataProvider.ts:49

The lower bound vertical speed, in feet per minute, of the current resolution advisory's fly-to command, or null if there is no such value.

Implementation of​

TcasRaCommandDataProvider.raFlyToMinVs


raMaxVs​

readonly raMaxVs: Subscribable<null | number>

Defined in: workingtitle-instruments-epic2/shared/Traffic/TcasRaCommandDataProvider.ts:45

The maximum allowed vertical speed, in feet per minute, commanded by the current resolution advisory, or null if there is no such value.

Implementation of​

TcasRaCommandDataProvider.raMaxVs


raMinVs​

readonly raMinVs: Subscribable<null | number>

Defined in: workingtitle-instruments-epic2/shared/Traffic/TcasRaCommandDataProvider.ts:41

The minimum allowed vertical speed, in feet per minute, commanded by the current resolution advisory, or null if there is no such value.

Implementation of​

TcasRaCommandDataProvider.raMinVs


tcas​

readonly tcas: Tcas

Defined in: workingtitle-instruments-epic2/shared/Traffic/TcasRaCommandDataProvider.ts:66

The TCAS which from which this data provider sources resolution advisory commands.

Methods​

destroy()​

destroy(): void

Defined in: workingtitle-instruments-epic2/shared/Traffic/TcasRaCommandDataProvider.ts:218

Destroys this data provider. Once destroyed, this data provider will no longer update its provided data, and can no longer be paused or resumed.

Returns​

void


init()​

init(paused): void

Defined in: workingtitle-instruments-epic2/shared/Traffic/TcasRaCommandDataProvider.ts:76

Initializes this data provider. Once initialized, this data provider will continuously update its data until paused or destroyed.

Parameters​

ParameterTypeDefault valueDescription
pausedbooleanfalseWhether to initialize this data provider as paused. If true, this data provider will provide an initial set of data but will not update the provided data until it is resumed. Defaults to false.

Returns​

void

Throws​

Error if this data provider has been destroyed.


pause()​

pause(): void

Defined in: workingtitle-instruments-epic2/shared/Traffic/TcasRaCommandDataProvider.ts:200

Pauses this data provider. Once paused, this data provider will not update its data until it is resumed.

Returns​

void

Throws​

Error if this data provider has been destroyed.


resume()​

resume(): void

Defined in: workingtitle-instruments-epic2/shared/Traffic/TcasRaCommandDataProvider.ts:181

Resumes this data provider. Once resumed, this data provider will continuously update its data until paused or destroyed.

Returns​

void

Throws​

Error if this data provider has been destroyed.