Source code for RsSmbv.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
[docs]class PagCls: """Pag commands group definition. 1 total commands, 0 Subgroups, 1 group commands""" 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: """SCPI: [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) . \n :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: """SCPI: [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) . \n :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}')