Source code for RsSmw.Implementations.Source.Bb.Evdo.Anetwork.Pchannel

from ......Internal.Core import Core
from ......Internal.CommandsGroup import CommandsGroup
from ......Internal import Conversions


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class PchannelCls:
	"""
	| Commands in total: 1
	| Subgroups: 0
	| Direct child commands: 1
	"""

	def __init__(self, core: Core, parent):
		self._core = core
		self._cmd_group = CommandsGroup("pchannel", core, parent)

[docs] def get_state(self) -> bool: """ ``[SOURce<HW>]:BB:EVDO:ANETwork:PCHannel:STATe`` \n Snippet: ``value: bool = driver.source.bb.evdo.anetwork.pchannel.get_state()`` \n Displays the state of the pilot channel. Pilot channel is transmitted by sector on each active forward channel. It is present always and transmitted at the full sector power. :return: state: 1 | ON | 0| OFF """ response = self._core.io.query_str('SOURce<HwInstance>:BB:EVDO:ANETwork:PCHannel:STATe?') return Conversions.str_to_bool(response)