from .......Internal.Core import Core
from .......Internal.CommandsGroup import CommandsGroup
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class LimitCls:
"""Limit commands group definition. 8 total commands, 5 Subgroups, 0 group commands"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("limit", core, parent)
@property
def rsensitivity(self):
"""rsensitivity commands group. 1 Sub-classes, 0 commands."""
if not hasattr(self, '_rsensitivity'):
from .Rsensitivity import RsensitivityCls
self._rsensitivity = RsensitivityCls(self._core, self._cmd_group)
return self._rsensitivity
@property
def rifBandwidth(self):
"""rifBandwidth commands group. 2 Sub-classes, 0 commands."""
if not hasattr(self, '_rifBandwidth'):
from .RifBandwidth import RifBandwidthCls
self._rifBandwidth = RifBandwidthCls(self._core, self._cmd_group)
return self._rifBandwidth
@property
def rsquelch(self):
"""rsquelch commands group. 2 Sub-classes, 0 commands."""
if not hasattr(self, '_rsquelch'):
from .Rsquelch import RsquelchCls
self._rsquelch = RsquelchCls(self._core, self._cmd_group)
return self._rsquelch
@property
def ssnr(self):
"""ssnr commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_ssnr'):
from .Ssnr import SsnrCls
self._ssnr = SsnrCls(self._core, self._cmd_group)
return self._ssnr
@property
def tsensitivity(self):
"""tsensitivity commands group. 2 Sub-classes, 0 commands."""
if not hasattr(self, '_tsensitivity'):
from .Tsensitivity import TsensitivityCls
self._tsensitivity = TsensitivityCls(self._core, self._cmd_group)
return self._tsensitivity
def clone(self) -> 'LimitCls':
"""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 = LimitCls(self._core, self._cmd_group.parent)
self._cmd_group.synchronize_repcaps(new_group)
return new_group