from .....Internal.Core import Core
from .....Internal.CommandsGroup import CommandsGroup
from .....Internal.StructBase import StructBase
from .....Internal.ArgStruct import ArgStruct
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class Lte:
"""Lte commands group definition. 1 total commands, 0 Sub-groups, 1 group commands"""
def __init__(self, core: Core, parent):
self._core = core
self._base = CommandsGroup("lte", core, parent)
# noinspection PyTypeChecker
[docs] class EnableStruct(StructBase):
"""Structure for reading output parameters. Fields: \n
- Rsrp: bool: OFF | ON
- Rsrq: bool: OFF | ON"""
__meta_args_list = [
ArgStruct.scalar_bool('Rsrp'),
ArgStruct.scalar_bool('Rsrq')]
def __init__(self):
StructBase.__init__(self, self)
self.Rsrp: bool = None
self.Rsrq: bool = None
[docs] def get_enable(self) -> EnableStruct:
"""SCPI: CONFigure:WCDMa:SIGNaling<instance>:UEReport:NCELl:LTE:ENABle \n
Snippet: value: EnableStruct = driver.configure.ueReport.ncell.lte.get_enable() \n
Enables or disables the evaluation and display of the individual information elements included in the UE measurement
report message related to LTE neighbor cell. \n
:return: structure: for return value, see the help for EnableStruct structure arguments.
"""
return self._core.io.query_struct('CONFigure:WCDMa:SIGNaling<Instance>:UEReport:NCELl:LTE:ENABle?', self.__class__.EnableStruct())
[docs] def set_enable(self, value: EnableStruct) -> None:
"""SCPI: CONFigure:WCDMa:SIGNaling<instance>:UEReport:NCELl:LTE:ENABle \n
Snippet: driver.configure.ueReport.ncell.lte.set_enable(value = EnableStruct()) \n
Enables or disables the evaluation and display of the individual information elements included in the UE measurement
report message related to LTE neighbor cell. \n
:param value: see the help for EnableStruct structure arguments.
"""
self._core.io.write_struct('CONFigure:WCDMa:SIGNaling<Instance>:UEReport:NCELl:LTE:ENABle', value)