from ...........Internal.Core import Core
from ...........Internal.CommandsGroup import CommandsGroup
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class PuschCls:
"""Pusch commands group definition. 7 total commands, 6 Subgroups, 0 group commands"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("pusch", core, parent)
@property
def ccoding(self):
"""ccoding commands group. 2 Sub-classes, 0 commands."""
if not hasattr(self, '_ccoding'):
from .Ccoding import CcodingCls
self._ccoding = CcodingCls(self._core, self._cmd_group)
return self._ccoding
@property
def harq(self):
"""harq commands group. 1 Sub-classes, 0 commands."""
if not hasattr(self, '_harq'):
from .Harq import HarqCls
self._harq = HarqCls(self._core, self._cmd_group)
return self._harq
@property
def physBits(self):
"""physBits commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_physBits'):
from .PhysBits import PhysBitsCls
self._physBits = PhysBitsCls(self._core, self._cmd_group)
return self._physBits
@property
def ri(self):
"""ri commands group. 1 Sub-classes, 0 commands."""
if not hasattr(self, '_ri'):
from .Ri import RiCls
self._ri = RiCls(self._core, self._cmd_group)
return self._ri
@property
def ulsch(self):
"""ulsch commands group. 1 Sub-classes, 0 commands."""
if not hasattr(self, '_ulsch'):
from .Ulsch import UlschCls
self._ulsch = UlschCls(self._core, self._cmd_group)
return self._ulsch
@property
def modulation(self):
"""modulation commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_modulation'):
from .Modulation import ModulationCls
self._modulation = ModulationCls(self._core, self._cmd_group)
return self._modulation
def clone(self) -> 'PuschCls':
"""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 = PuschCls(self._core, self._cmd_group.parent)
self._cmd_group.synchronize_repcaps(new_group)
return new_group