Source code for RsSmw.Implementations.Source.Bb.Eutra.Downlink.Niot.Pag

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


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

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

	# noinspection PyTypeChecker
[docs] def get_rmax(self) -> enums.EutraNbiotRmAx: """ ``[SOURce<HW>]:BB:EUTRa:DL:NIOT:PAG:RMAX`` \n Snippet: ``value: enums.EutraNbiotRmAx = driver.source.bb.eutra.downlink.niot.pag.get_rmax()`` \n Sets the maximum number NPDCCH is repeated RMax (paging) . :return: paging_rmax: R1 | R2 | R4 | R8 | R16 | R32 | R64 | R128 | R256 | R512 | R1024 | R2048 """ response = self._core.io.query_str('SOURce<HwInstance>:BB:EUTRa:DL:NIOT:PAG:RMAX?') return Conversions.str_to_scalar_enum(response, enums.EutraNbiotRmAx)
[docs] def set_rmax(self, paging_rmax: enums.EutraNbiotRmAx) -> None: """ ``[SOURce<HW>]:BB:EUTRa:DL:NIOT:PAG:RMAX`` \n Snippet: ``driver.source.bb.eutra.downlink.niot.pag.set_rmax(paging_rmax = enums.EutraNbiotRmAx.R1)`` \n Sets the maximum number NPDCCH is repeated RMax (paging) . :param paging_rmax: R1 | R2 | R4 | R8 | R16 | R32 | R64 | R128 | R256 | R512 | R1024 | R2048 """ param = Conversions.enum_scalar_to_str(paging_rmax, enums.EutraNbiotRmAx) self._core.io.write(f'SOURce<HwInstance>:BB:EUTRa:DL:NIOT:PAG:RMAX {param}')