from .......Internal.Core import Core
from .......Internal.CommandsGroup import CommandsGroup
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]
class CfieldCls:
"""Cfield commands group definition. 4 total commands, 4 Subgroups, 0 group commands"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("cfield", core, parent)
@property
def ruAllocation(self):
"""ruAllocation commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_ruAllocation'):
from .RuAllocation import RuAllocationCls
self._ruAllocation = RuAllocationCls(self._core, self._cmd_group)
return self._ruAllocation
@property
def cru(self):
"""cru commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_cru'):
from .Cru import CruCls
self._cru = CruCls(self._core, self._cmd_group)
return self._cru
@property
def crc(self):
"""crc commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_crc'):
from .Crc import CrcCls
self._crc = CrcCls(self._core, self._cmd_group)
return self._crc
@property
def tail(self):
"""tail commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_tail'):
from .Tail import TailCls
self._tail = TailCls(self._core, self._cmd_group)
return self._tail
def clone(self) -> 'CfieldCls':
"""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 = CfieldCls(self._core, self._cmd_group.parent)
self._cmd_group.synchronize_repcaps(new_group)
return new_group