from ......Internal.Core import Core
from ......Internal.CommandsGroup import CommandsGroup
from ......Internal import Conversions
from ...... import enums
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class QcksetCls:
"""
| Commands in total: 31
| Subgroups: 4
| Direct child commands: 1
"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("qckset", 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 discard(self):
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
if not hasattr(self, '_discard'):
from .Discard import DiscardCls
self._discard = DiscardCls(self._core, self._cmd_group)
return self._discard
@property
def frmFormat(self):
"""
| Commands in total: 11
| Subgroups: 2
| Direct child commands: 5
"""
if not hasattr(self, '_frmFormat'):
from .FrmFormat import FrmFormatCls
self._frmFormat = FrmFormatCls(self._core, self._cmd_group)
return self._frmFormat
@property
def general(self):
"""
| Commands in total: 17
| Subgroups: 2
| Direct child commands: 9
"""
if not hasattr(self, '_general'):
from .General import GeneralCls
self._general = GeneralCls(self._core, self._cmd_group)
return self._general
[docs]
def set_state(self, qck_set_state: enums.QuickSetStateAll) -> None:
"""
``[SOURce<HW>]:BB:NR5G:QCKSet:STATe`` \n
Snippet: ``driver.source.bb.nr5G.qckset.set_state(qck_set_state = enums.QuickSetStateAll.DIS)`` \n
No help available
"""
param = Conversions.enum_scalar_to_str(qck_set_state, enums.QuickSetStateAll)
self._core.io.write(f'SOURce<HwInstance>:BB:NR5G:QCKSet:STATe {param}')
def clone(self) -> 'QcksetCls':
"""
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 = QcksetCls(self._core, self._cmd_group.parent)
self._cmd_group.synchronize_repcaps(new_group)
return new_group