Source code for RsSmw.Implementations.Source.Bb.Btooth.Cs.Cdata.Ccid

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


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

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

[docs] def get_state(self) -> bool: """ ``[SOURce<HW>]:BB:BTOoth:CS:CDATa:CCID:STATe`` \n Snippet: ``value: bool = driver.source.bb.btooth.cs.cdata.ccid.get_state()`` \n Enables the CS configuration ID. Set this ID with the following command: method ``RsSmw.source.bb.btooth.cs.cdata.cid()`` :return: state: 1 | ON | 0| OFF """ response = self._core.io.query_str('SOURce<HwInstance>:BB:BTOoth:CS:CDATa:CCID:STATe?') return Conversions.str_to_bool(response)