Class: G3XRadioUtils
A utility class for working with G3X radios.
Constructors
constructor
• new G3XRadioUtils(): G3XRadioUtils
Returns
Methods
setComRadioReceiveState
▸ setComRadioReceiveState(radioSimIndex
, receive
): Promise
<void
>
Sets the receiving state of a COM radio.
Parameters
Name | Type | Description |
---|---|---|
radioSimIndex | ComRadioIndex | The sim index of the radio to set the receiving state of. |
receive | boolean | The 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
Name | Type | Description |
---|---|---|
radioSimIndex | NavRadioIndex | The simulation index of the radio. |
receive | boolean | The 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
Name | Type | Description |
---|---|---|
radioSimIndex | ComRadioIndex | The 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