from .........Internal.Core import Core
from .........Internal.CommandsGroup import CommandsGroup
from .........Internal.RepeatedCapability import RepeatedCapability
from ......... import repcap
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class AllocCls:
"""Alloc commands group definition. 34 total commands, 28 Subgroups, 0 group commands
Repeated Capability: AllocationNull, default value after init: AllocationNull.Nr0"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("alloc", core, parent)
self._cmd_group.rep_cap = RepeatedCapability(self._cmd_group.group_name, 'repcap_allocationNull_get', 'repcap_allocationNull_set', repcap.AllocationNull.Nr0)
def repcap_allocationNull_set(self, allocationNull: repcap.AllocationNull) -> None:
"""Repeated Capability default value numeric suffix.
This value is used, if you do not explicitely set it in the child set/get methods, or if you leave it to AllocationNull.Default
Default value after init: AllocationNull.Nr0"""
self._cmd_group.set_repcap_enum_value(allocationNull)
def repcap_allocationNull_get(self) -> repcap.AllocationNull:
"""Returns the current default repeated capability for the child set/get methods"""
# noinspection PyTypeChecker
return self._cmd_group.get_repcap_enum_value()
@property
def bits(self):
"""bits commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_bits'):
from .Bits import BitsCls
self._bits = BitsCls(self._core, self._cmd_group)
return self._bits
@property
def cces(self):
"""cces commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_cces'):
from .Cces import CcesCls
self._cces = CcesCls(self._core, self._cmd_group)
return self._cces
@property
def conflict(self):
"""conflict commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_conflict'):
from .Conflict import ConflictCls
self._conflict = ConflictCls(self._core, self._cmd_group)
return self._conflict
@property
def dist(self):
"""dist commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_dist'):
from .Dist import DistCls
self._dist = DistCls(self._core, self._cmd_group)
return self._dist
@property
def fmt(self):
"""fmt commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_fmt'):
from .Fmt import FmtCls
self._fmt = FmtCls(self._core, self._cmd_group)
return self._fmt
@property
def hack(self):
"""hack commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_hack'):
from .Hack import HackCls
self._hack = HackCls(self._core, self._cmd_group)
return self._hack
@property
def hpNumber(self):
"""hpNumber commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_hpNumber'):
from .HpNumber import HpNumberCls
self._hpNumber = HpNumberCls(self._core, self._cmd_group)
return self._hpNumber
@property
def idcce(self):
"""idcce commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_idcce'):
from .Idcce import IdcceCls
self._idcce = IdcceCls(self._core, self._cmd_group)
return self._idcce
@property
def idelay(self):
"""idelay commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_idelay'):
from .Idelay import IdelayCls
self._idelay = IdelayCls(self._core, self._cmd_group)
return self._idelay
@property
def iru(self):
"""iru commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_iru'):
from .Iru import IruCls
self._iru = IruCls(self._core, self._cmd_group)
return self._iru
@property
def mcScheme(self):
"""mcScheme commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_mcScheme'):
from .McScheme import McSchemeCls
self._mcScheme = McSchemeCls(self._core, self._cmd_group)
return self._mcScheme
@property
def ndind(self):
"""ndind commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_ndind'):
from .Ndind import NdindCls
self._ndind = NdindCls(self._core, self._cmd_group)
return self._ndind
@property
def npdcch(self):
"""npdcch commands group. 3 Sub-classes, 0 commands."""
if not hasattr(self, '_npdcch'):
from .Npdcch import NpdcchCls
self._npdcch = NpdcchCls(self._core, self._cmd_group)
return self._npdcch
@property
def npdsch(self):
"""npdsch commands group. 4 Sub-classes, 0 commands."""
if not hasattr(self, '_npdsch'):
from .Npdsch import NpdschCls
self._npdsch = NpdschCls(self._core, self._cmd_group)
return self._npdsch
@property
def nprach(self):
"""nprach commands group. 2 Sub-classes, 0 commands."""
if not hasattr(self, '_nprach'):
from .Nprach import NprachCls
self._nprach = NprachCls(self._core, self._cmd_group)
return self._nprach
@property
def npusch(self):
"""npusch commands group. 1 Sub-classes, 0 commands."""
if not hasattr(self, '_npusch'):
from .Npusch import NpuschCls
self._npusch = NpuschCls(self._core, self._cmd_group)
return self._npusch
@property
def nrUnits(self):
"""nrUnits commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_nrUnits'):
from .NrUnits import NrUnitsCls
self._nrUnits = NrUnitsCls(self._core, self._cmd_group)
return self._nrUnits
@property
def pag(self):
"""pag commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_pag'):
from .Pag import PagCls
self._pag = PagCls(self._core, self._cmd_group)
return self._pag
@property
def rversion(self):
"""rversion commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_rversion'):
from .Rversion import RversionCls
self._rversion = RversionCls(self._core, self._cmd_group)
return self._rversion
@property
def scind(self):
"""scind commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_scind'):
from .Scind import ScindCls
self._scind = ScindCls(self._core, self._cmd_group)
return self._scind
@property
def sfrpt(self):
"""sfrpt commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_sfrpt'):
from .Sfrpt import SfrptCls
self._sfrpt = SfrptCls(self._core, self._cmd_group)
return self._sfrpt
@property
def sime(self):
"""sime commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_sime'):
from .Sime import SimeCls
self._sime = SimeCls(self._core, self._cmd_group)
return self._sime
@property
def sinf(self):
"""sinf commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_sinf'):
from .Sinf import SinfCls
self._sinf = SinfCls(self._core, self._cmd_group)
return self._sinf
@property
def ssp(self):
"""ssp commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_ssp'):
from .Ssp import SspCls
self._ssp = SspCls(self._core, self._cmd_group)
return self._ssp
@property
def stsFrame(self):
"""stsFrame commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_stsFrame'):
from .StsFrame import StsFrameCls
self._stsFrame = StsFrameCls(self._core, self._cmd_group)
return self._stsFrame
@property
def tbsz(self):
"""tbsz commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_tbsz'):
from .Tbsz import TbszCls
self._tbsz = TbszCls(self._core, self._cmd_group)
return self._tbsz
@property
def ueId(self):
"""ueId commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_ueId'):
from .UeId import UeIdCls
self._ueId = UeIdCls(self._core, self._cmd_group)
return self._ueId
@property
def user(self):
"""user commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_user'):
from .User import UserCls
self._user = UserCls(self._core, self._cmd_group)
return self._user
def clone(self) -> 'AllocCls':
"""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 = AllocCls(self._core, self._cmd_group.parent)
self._cmd_group.synchronize_repcaps(new_group)
return new_group