Source code for RsSmbv.Implementations.Source.Bb.Eutra.Uplink.Ue.Emtc.Trans

from .........Internal.Core import Core
from .........Internal.CommandsGroup import CommandsGroup
from .........Internal.RepeatedCapability import RepeatedCapability
from ......... import repcap


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class TransCls: """Trans commands group definition. 32 total commands, 23 Subgroups, 0 group commands Repeated Capability: Transmission, default value after init: Transmission.Nr1""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("trans", core, parent) self._cmd_group.rep_cap = RepeatedCapability(self._cmd_group.group_name, 'repcap_transmission_get', 'repcap_transmission_set', repcap.Transmission.Nr1) def repcap_transmission_set(self, transmission: repcap.Transmission) -> 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 Transmission.Default Default value after init: Transmission.Nr1""" self._cmd_group.set_repcap_enum_value(transmission) def repcap_transmission_get(self) -> repcap.Transmission: """Returns the current default repeated capability for the child set/get methods""" # noinspection PyTypeChecker return self._cmd_group.get_repcap_enum_value() @property def asFrame(self): """asFrame commands group. 0 Sub-classes, 1 commands.""" if not hasattr(self, '_asFrame'): from .AsFrame import AsFrameCls self._asFrame = AsFrameCls(self._core, self._cmd_group) return self._asFrame @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 content(self): """content commands group. 0 Sub-classes, 1 commands.""" if not hasattr(self, '_content'): from .Content import ContentCls self._content = ContentCls(self._core, self._cmd_group) return self._content @property def drs(self): """drs commands group. 1 Sub-classes, 0 commands.""" if not hasattr(self, '_drs'): from .Drs import DrsCls self._drs = DrsCls(self._core, self._cmd_group) return self._drs @property def formatPy(self): """formatPy commands group. 0 Sub-classes, 1 commands.""" if not hasattr(self, '_formatPy'): from .FormatPy import FormatPyCls self._formatPy = FormatPyCls(self._core, self._cmd_group) return self._formatPy @property def harq(self): """harq commands group. 4 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 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 @property def napUsed(self): """napUsed commands group. 0 Sub-classes, 1 commands.""" if not hasattr(self, '_napUsed'): from .NapUsed import NapUsedCls self._napUsed = NapUsedCls(self._core, self._cmd_group) return self._napUsed @property def ndmrs(self): """ndmrs commands group. 0 Sub-classes, 1 commands.""" if not hasattr(self, '_ndmrs'): from .Ndmrs import NdmrsCls self._ndmrs = NdmrsCls(self._core, self._cmd_group) return self._ndmrs @property def npucch(self): """npucch commands group. 0 Sub-classes, 1 commands.""" if not hasattr(self, '_npucch'): from .Npucch import NpucchCls self._npucch = NpucchCls(self._core, self._cmd_group) return self._npucch @property def nrBlocks(self): """nrBlocks commands group. 0 Sub-classes, 1 commands.""" if not hasattr(self, '_nrBlocks'): from .NrBlocks import NrBlocksCls self._nrBlocks = NrBlocksCls(self._core, self._cmd_group) return self._nrBlocks @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 power(self): """power commands group. 0 Sub-classes, 1 commands.""" if not hasattr(self, '_power'): from .Power import PowerCls self._power = PowerCls(self._core, self._cmd_group) return self._power @property def pucch(self): """pucch commands group. 2 Sub-classes, 0 commands.""" if not hasattr(self, '_pucch'): from .Pucch import PucchCls self._pucch = PucchCls(self._core, self._cmd_group) return self._pucch @property def pusch(self): """pusch commands group. 1 Sub-classes, 0 commands.""" if not hasattr(self, '_pusch'): from .Pusch import PuschCls self._pusch = PuschCls(self._core, self._cmd_group) return self._pusch @property def rbOffset(self): """rbOffset commands group. 0 Sub-classes, 1 commands.""" if not hasattr(self, '_rbOffset'): from .RbOffset import RbOffsetCls self._rbOffset = RbOffsetCls(self._core, self._cmd_group) return self._rbOffset @property def repetitions(self): """repetitions commands group. 0 Sub-classes, 1 commands.""" if not hasattr(self, '_repetitions'): from .Repetitions import RepetitionsCls self._repetitions = RepetitionsCls(self._core, self._cmd_group) return self._repetitions @property def stnBand(self): """stnBand commands group. 0 Sub-classes, 1 commands.""" if not hasattr(self, '_stnBand'): from .StnBand import StnBandCls self._stnBand = StnBandCls(self._core, self._cmd_group) return self._stnBand @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 stwBand(self): """stwBand commands group. 0 Sub-classes, 1 commands.""" if not hasattr(self, '_stwBand'): from .StwBand import StwBandCls self._stwBand = StwBandCls(self._core, self._cmd_group) return self._stwBand @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 wbrbOffset(self): """wbrbOffset commands group. 0 Sub-classes, 1 commands.""" if not hasattr(self, '_wbrbOffset'): from .WbrbOffset import WbrbOffsetCls self._wbrbOffset = WbrbOffsetCls(self._core, self._cmd_group) return self._wbrbOffset @property def wrBlocks(self): """wrBlocks commands group. 0 Sub-classes, 1 commands.""" if not hasattr(self, '_wrBlocks'): from .WrBlocks import WrBlocksCls self._wrBlocks = WrBlocksCls(self._core, self._cmd_group) return self._wrBlocks def clone(self) -> 'TransCls': """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 = TransCls(self._core, self._cmd_group.parent) self._cmd_group.synchronize_repcaps(new_group) return new_group