Source code for RsSmw.Implementations.Source.Bb.Eutra.Tcw

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


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class TcwCls:
	"""
	| Commands in total: 103
	| Subgroups: 12
	| Direct child commands: 1
	"""

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

	@property
	def applySettings(self):
		"""
		| Commands in total: 1
		| Subgroups: 0
		| Direct child commands: 1
		"""
		if not hasattr(self, '_applySettings'):
			from .ApplySettings import ApplySettingsCls
			self._applySettings = ApplySettingsCls(self._core, self._cmd_group)
		return self._applySettings

	@property
	def awgn(self):
		"""
		| Commands in total: 1
		| Subgroups: 0
		| Direct child commands: 1
		"""
		if not hasattr(self, '_awgn'):
			from .Awgn import AwgnCls
			self._awgn = AwgnCls(self._core, self._cmd_group)
		return self._awgn

	@property
	def cs(self):
		"""
		| Commands in total: 2
		| Subgroups: 0
		| Direct child commands: 2
		"""
		if not hasattr(self, '_cs'):
			from .Cs import CsCls
			self._cs = CsCls(self._core, self._cmd_group)
		return self._cs

	@property
	def fa(self):
		"""
		| Commands in total: 2
		| Subgroups: 0
		| Direct child commands: 2
		"""
		if not hasattr(self, '_fa'):
			from .Fa import FaCls
			self._fa = FaCls(self._core, self._cmd_group)
		return self._fa

	@property
	def gs(self):
		"""
		| Commands in total: 14
		| Subgroups: 0
		| Direct child commands: 14
		"""
		if not hasattr(self, '_gs'):
			from .Gs import GsCls
			self._gs = GsCls(self._core, self._cmd_group)
		return self._gs

	@property
	def is2(self):
		"""
		| Commands in total: 9
		| Subgroups: 0
		| Direct child commands: 9
		"""
		if not hasattr(self, '_is2'):
			from .Is2 import Is2Cls
			self._is2 = Is2Cls(self._core, self._cmd_group)
		return self._is2

	@property
	def is3(self):
		"""
		| Commands in total: 3
		| Subgroups: 0
		| Direct child commands: 3
		"""
		if not hasattr(self, '_is3'):
			from .Is3 import Is3Cls
			self._is3 = Is3Cls(self._core, self._cmd_group)
		return self._is3

	@property
	def isPy(self):
		"""
		| Commands in total: 19
		| Subgroups: 0
		| Direct child commands: 19
		"""
		if not hasattr(self, '_isPy'):
			from .IsPy import IsPyCls
			self._isPy = IsPyCls(self._core, self._cmd_group)
		return self._isPy

	@property
	def mue(self):
		"""
		| Commands in total: 3
		| Subgroups: 0
		| Direct child commands: 3
		"""
		if not hasattr(self, '_mue'):
			from .Mue import MueCls
			self._mue = MueCls(self._core, self._cmd_group)
		return self._mue

	@property
	def rtf(self):
		"""
		| Commands in total: 10
		| Subgroups: 0
		| Direct child commands: 10
		"""
		if not hasattr(self, '_rtf'):
			from .Rtf import RtfCls
			self._rtf = RtfCls(self._core, self._cmd_group)
		return self._rtf

	@property
	def sue(self):
		"""
		| Commands in total: 3
		| Subgroups: 0
		| Direct child commands: 3
		"""
		if not hasattr(self, '_sue'):
			from .Sue import SueCls
			self._sue = SueCls(self._core, self._cmd_group)
		return self._sue

	@property
	def ws(self):
		"""
		| Commands in total: 35
		| Subgroups: 4
		| Direct child commands: 29
		"""
		if not hasattr(self, '_ws'):
			from .Ws import WsCls
			self._ws = WsCls(self._core, self._cmd_group)
		return self._ws

	# noinspection PyTypeChecker
[docs] def get_tc(self) -> enums.EutraTestCaseTs36141: """ ``[SOURce<HW>]:BB:EUTRa:TCW:TC`` \n Snippet: ``value: enums.EutraTestCaseTs36141 = driver.source.bb.eutra.tcw.get_tc()`` \n Selects the test case. :return: test_case: TS36141_TC839 | TS36141_TC834 | TS36141_TC835 | TS36141_TC836 | TS36141_TC67 | TS36141_TC72 | TS36141_TC73 | TS36141_TC74 | TS36141_TC75A | TS36141_TC75B | TS36141_TC76 | TS36141_TC78 | TS36141_TC821 | TS36141_TC822 | TS36141_TC823 | TS36141_TC824 | TS36141_TC831 | TS36141_TC832 | TS36141_TC833 | TS36141_TC841 | TS36141_TC838 | TS36141_TC837 | TS36141_TC826 | TS36141_TC826A | TS36141_TC827 | TS36141_TC829 | TS36141_TC8310 | TS36141_TC8311 | TS36141_TC8312 | TS36141_TC8313 | TS36141_TC851 | TS36141_TC852 | TS36141_TC853 """ response = self._core.io.query_str('SOURce<HwInstance>:BB:EUTRa:TCW:TC?') return Conversions.str_to_scalar_enum(response, enums.EutraTestCaseTs36141)
[docs] def set_tc(self, test_case: enums.EutraTestCaseTs36141) -> None: """ ``[SOURce<HW>]:BB:EUTRa:TCW:TC`` \n Snippet: ``driver.source.bb.eutra.tcw.set_tc(test_case = enums.EutraTestCaseTs36141.TS36141_TC626)`` \n Selects the test case. :param test_case: TS36141_TC839 | TS36141_TC834 | TS36141_TC835 | TS36141_TC836 | TS36141_TC67 | TS36141_TC72 | TS36141_TC73 | TS36141_TC74 | TS36141_TC75A | TS36141_TC75B | TS36141_TC76 | TS36141_TC78 | TS36141_TC821 | TS36141_TC822 | TS36141_TC823 | TS36141_TC824 | TS36141_TC831 | TS36141_TC832 | TS36141_TC833 | TS36141_TC841 | TS36141_TC838 | TS36141_TC837 | TS36141_TC826 | TS36141_TC826A | TS36141_TC827 | TS36141_TC829 | TS36141_TC8310 | TS36141_TC8311 | TS36141_TC8312 | TS36141_TC8313 | TS36141_TC851 | TS36141_TC852 | TS36141_TC853 """ param = Conversions.enum_scalar_to_str(test_case, enums.EutraTestCaseTs36141) self._core.io.write(f'SOURce<HwInstance>:BB:EUTRa:TCW:TC {param}')
def clone(self) -> 'TcwCls': """ Clones the group by creating new object from it and its whole existing subgroups. Also copies all the existing default Repeated Capabilities setting, which you can change independently without affecting the original group. """ new_group = TcwCls(self._core, self._cmd_group.parent) self._cmd_group.synchronize_repcaps(new_group) return new_group