from .......Internal.Core import Core
from .......Internal.CommandsGroup import CommandsGroup
from .......Internal import Conversions
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class TmodelCls:
"""
| Commands in total: 15
| Subgroups: 4
| Direct child commands: 2
"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("tmodel", core, parent)
@property
def apply(self):
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
if not hasattr(self, '_apply'):
from .Apply import ApplyCls
self._apply = ApplyCls(self._core, self._cmd_group)
return self._apply
@property
def downlink(self):
"""
| Commands in total: 2
| Subgroups: 0
| Direct child commands: 2
"""
if not hasattr(self, '_downlink'):
from .Downlink import DownlinkCls
self._downlink = DownlinkCls(self._core, self._cmd_group)
return self._downlink
@property
def filterPy(self):
"""
| Commands in total: 8
| Subgroups: 0
| Direct child commands: 8
"""
if not hasattr(self, '_filterPy'):
from .FilterPy import FilterPyCls
self._filterPy = FilterPyCls(self._core, self._cmd_group)
return self._filterPy
@property
def uplink(self):
"""
| Commands in total: 2
| Subgroups: 0
| Direct child commands: 2
"""
if not hasattr(self, '_uplink'):
from .Uplink import UplinkCls
self._uplink = UplinkCls(self._core, self._cmd_group)
return self._uplink
[docs]
def get_cct_model(self) -> bool:
"""
``[SOURce<HW>]:BB:NR5G:SETTing:TMODel:CCTModel`` \n
Snippet: ``value: bool = driver.source.bb.nr5G.setting.tmodel.get_cct_model()`` \n
No help available
"""
response = self._core.io.query_str('SOURce<HwInstance>:BB:NR5G:SETTing:TMODel:CCTModel?')
return Conversions.str_to_bool(response)
[docs]
def get_ncarrier(self) -> int:
"""
``[SOURce<HW>]:BB:NR5G:SETTing:TMODel:NCARier`` \n
Snippet: ``value: int = driver.source.bb.nr5G.setting.tmodel.get_ncarrier()`` \n
No help available
"""
response = self._core.io.query_str('SOURce<HwInstance>:BB:NR5G:SETTing:TMODel:NCARier?')
return Conversions.str_to_int(response)
def clone(self) -> 'TmodelCls':
"""
Clones the group by creating new object from it and its whole existing subgroups.
Also copies all the existing default Repeated Capabilities setting,
which you can change independently without affecting the original group.
"""
new_group = TmodelCls(self._core, self._cmd_group.parent)
self._cmd_group.synchronize_repcaps(new_group)
return new_group