Skip to main content

Class: G3XRadioUtils

A utility class for working with G3X radios.

Constructors

constructor

new G3XRadioUtils(): G3XRadioUtils

Returns

G3XRadioUtils

Methods

setComRadioReceiveState

setComRadioReceiveState(radioSimIndex, receive): Promise<void>

Sets the receiving state of a COM radio.

Parameters

NameTypeDescription
radioSimIndexComRadioIndexThe sim index of the radio to set the receiving state of.
receivebooleanThe receiving state to set.

Returns

Promise<void>

A Promise which is fulfilled when the command to set the receiving state has been sent.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Radio/G3XRadioUtils.ts:33


setMarkerBeaconSoundState

setMarkerBeaconSoundState(): Promise<void>

Sets the marker beacon enabled or disabled.

Returns

Promise<void>

A Promise which is fulfilled when the command to set marker beacon sound state has been sent.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Radio/G3XRadioUtils.ts:51


setNavRadioIdentReceiveState

setNavRadioIdentReceiveState(radioSimIndex, receive): Promise<void>

Sets the receiving ident audio from a NAV radio.

Parameters

NameTypeDescription
radioSimIndexNavRadioIndexThe simulation index of the radio.
receivebooleanThe receiving state to set.

Returns

Promise<void>

  • A Promise which is fulfilled when the command to set the receiving state has been sent.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Radio/G3XRadioUtils.ts:43


setTransmittingComIndex

setTransmittingComIndex(radioSimIndex): Promise<void>

Sets the transmitting COM radio.

Parameters

NameTypeDescription
radioSimIndexComRadioIndexThe sim index of the radio to set as transmitting.

Returns

Promise<void>

A Promise which is fulfilled when the command to set the transmitting radio has been sent.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Radio/G3XRadioUtils.ts:13