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

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


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

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

	# noinspection PyTypeChecker
[docs] def get_nta_offset(self) -> enums.TimcNtAoffs: """ ``[SOURce<HW>]:BB:EUTRa:TIMC:NTAoffset`` \n Snippet: ``value: enums.TimcNtAoffs = driver.source.bb.eutra.timc.get_nta_offset()`` \n Sets the parameter NTA offset as defined in the 3GPP TS 36.211. :return: nta_offset: NTA0 | NTA624 """ response = self._core.io.query_str('SOURce<HwInstance>:BB:EUTRa:TIMC:NTAoffset?') return Conversions.str_to_scalar_enum(response, enums.TimcNtAoffs)
[docs] def set_nta_offset(self, nta_offset: enums.TimcNtAoffs) -> None: """ ``[SOURce<HW>]:BB:EUTRa:TIMC:NTAoffset`` \n Snippet: ``driver.source.bb.eutra.timc.set_nta_offset(nta_offset = enums.TimcNtAoffs._0)`` \n Sets the parameter NTA offset as defined in the 3GPP TS 36.211. :param nta_offset: NTA0 | NTA624 """ param = Conversions.enum_scalar_to_str(nta_offset, enums.TimcNtAoffs) self._core.io.write(f'SOURce<HwInstance>:BB:EUTRa:TIMC:NTAoffset {param}')