Source code for RsCMX_Signaling.Implementations.Configure.Signaling.Topology.Eps.Info

from ......Internal.Core import Core
from ......Internal.CommandsGroup import CommandsGroup
from ......Internal import Conversions
from ......Internal.StructBase import StructBase
from ......Internal.ArgStruct import ArgStruct


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs] class InfoCls: """Info commands group definition. 1 total commands, 0 Subgroups, 1 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("info", core, parent) # noinspection PyTypeChecker
[docs] class GetStruct(StructBase): """Response structure. Fields: \n - Ta_Code: int: Tracking area code (TAC) . - Timer_3412: float: No effect - for future use. - Count_Cells_Lte: int: Number of associated LTE cells. - Count_Cells_Nr: int: Number of associated NR cells. - List_Of_Cells_Lte: int: Comma-separated list of strings, one string per LTE cell (name of the cell) . If there are no LTE cells, an empty string is returned. - List_Of_Cells_Nr: int: Comma-separated list of strings, one string per NR cell (name of the cell) . If there are no NR cells, an empty string is returned.""" __meta_args_list = [ ArgStruct.scalar_int('Ta_Code'), ArgStruct.scalar_float('Timer_3412'), ArgStruct.scalar_int('Count_Cells_Lte'), ArgStruct.scalar_int('Count_Cells_Nr'), ArgStruct.scalar_int('List_Of_Cells_Lte'), ArgStruct.scalar_int('List_Of_Cells_Nr')] def __init__(self): StructBase.__init__(self, self) self.Ta_Code: int = None self.Timer_3412: float = None self.Count_Cells_Lte: int = None self.Count_Cells_Nr: int = None self.List_Of_Cells_Lte: int = None self.List_Of_Cells_Nr: int = None
[docs] def get(self, name_ta_eps: str) -> GetStruct: """SCPI: [CONFigure]:SIGNaling:TOPology:EPS:INFO \n Snippet: value: GetStruct = driver.configure.signaling.topology.eps.info.get(name_ta_eps = 'abc') \n Queries basic information about an EPS tracking area. \n :param name_ta_eps: No help available :return: structure: for return value, see the help for GetStruct structure arguments.""" param = Conversions.value_to_quoted_str(name_ta_eps) return self._core.io.query_struct(f'CONFigure:SIGNaling:TOPology:EPS:INFO? {param}', self.__class__.GetStruct())