Source code for RsCmwLteSig.Implementations.Sense.Connection

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


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs] class ConnectionCls: """Connection commands group definition. 55 total commands, 3 Subgroups, 0 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("connection", core, parent) @property def pcc(self): """pcc commands group. 9 Sub-classes, 1 commands.""" if not hasattr(self, '_pcc'): from .Pcc import PccCls self._pcc = PccCls(self._core, self._cmd_group) return self._pcc @property def scc(self): """scc commands group. 8 Sub-classes, 0 commands.""" if not hasattr(self, '_scc'): from .Scc import SccCls self._scc = SccCls(self._core, self._cmd_group) return self._scc @property def ethroughput(self): """ethroughput commands group. 2 Sub-classes, 0 commands.""" if not hasattr(self, '_ethroughput'): from .Ethroughput import EthroughputCls self._ethroughput = EthroughputCls(self._core, self._cmd_group) return self._ethroughput def clone(self) -> 'ConnectionCls': """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 = ConnectionCls(self._core, self._cmd_group.parent) self._cmd_group.synchronize_repcaps(new_group) return new_group