Source code for RsSmw.Implementations.Source.Bb.Dvb.Dvbt.Tps.Tslicing

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


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

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

[docs] def get_state(self) -> bool: """ ``[SOURce<HW>]:BB:DVB:DVBT:TPS:TSLicing:[STATe]`` \n Snippet: ``value: bool = driver.source.bb.dvb.dvbt.tps.tslicing.get_state()`` \n Queries the time slicing state. :return: state: 0 | 1| OFF | ON Always 1 for DVB-H Always 0 for DVB-T """ response = self._core.io.query_str('SOURce<HwInstance>:BB:DVB:DVBT:TPS:TSLicing:STATe?') return Conversions.str_to_bool(response)