Skip to main content

Class: WeatherRadarManager

A manager which controls automatic functions of the weather radar.

Constructors

constructor

new WeatherRadarManager(bus, scanActiveCircuitIndex?, scanActiveProcedureIndex?): WeatherRadarManager

Creates a new instance of WeatherRadarManager.

Parameters

NameTypeDescription
busEventBusThe event bus.
scanActiveCircuitIndex?numberThe index of the electrical circuit to switch on when the radar is actively scanning. If not defined, then no circuit will be switched on when the radar is actively scanning.
scanActiveProcedureIndex?numberThe index of the system.cfg electrical procedure to use the change the active radar scan circuit switch state. The electrical procedure should be configured to set the circuit switch state to OFF. If not defined, then no circuit will be switched on when the radar is actively scanning.

Returns

WeatherRadarManager

Defined in

workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/MFD/WeatherRadar/WeatherRadarManager.ts:62

Methods

destroy

destroy(): void

Destroys this manager. Once destroyed, this manager will no longer control the weather radar.

Returns

void

Defined in

workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/MFD/WeatherRadar/WeatherRadarManager.ts:198


init

init(): void

Initializes this manager. Once this manager is initialized, it will control automatic functions of the weather radar until destroyed.

Returns

void

Throws

Error if this manager has been destroyed.

Defined in

workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/MFD/WeatherRadar/WeatherRadarManager.ts:84