Source code for RsSmbv.Implementations.Source.Bb.Eutra.Downlink.Mbsfn.Ai.Mcch.TbSize

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


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class TbSizeCls: """TbSize commands group definition. 1 total commands, 0 Subgroups, 1 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("tbSize", core, parent)
[docs] def get(self, tb_size: int) -> int: """SCPI: [SOURce<HW>]:BB:EUTRa:DL:MBSFn:AI:MCCH:TBSize \n Snippet: value: int = driver.source.bb.eutra.downlink.mbsfn.ai.mcch.tbSize.get(tb_size = 1) \n Queries the values as determined by the 'MCCH MCS'. \n :param tb_size: integer :return: tb_size: integer""" param = Conversions.decimal_value_to_str(tb_size) response = self._core.io.query_str(f'SOURce<HwInstance>:BB:EUTRa:DL:MBSFn:AI:MCCH:TBSize? {param}') return Conversions.str_to_int(response)