from .........Internal.Core import Core
from .........Internal.CommandsGroup import CommandsGroup
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class V2XCls:
"""V2X commands group definition. 9 total commands, 9 Subgroups, 0 group commands"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("v2X", core, parent)
@property
def adjc(self):
"""adjc commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_adjc'):
from .Adjc import AdjcCls
self._adjc = AdjcCls(self._core, self._cmd_group)
return self._adjc
@property
def bitHigh(self):
"""bitHigh commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_bitHigh'):
from .BitHigh import BitHighCls
self._bitHigh = BitHighCls(self._core, self._cmd_group)
return self._bitHigh
@property
def bitLow(self):
"""bitLow commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_bitLow'):
from .BitLow import BitLowCls
self._bitLow = BitLowCls(self._core, self._cmd_group)
return self._bitLow
@property
def bmpLength(self):
"""bmpLength commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_bmpLength'):
from .BmpLength import BmpLengthCls
self._bmpLength = BmpLengthCls(self._core, self._cmd_group)
return self._bmpLength
@property
def offset(self):
"""offset commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_offset'):
from .Offset import OffsetCls
self._offset = OffsetCls(self._core, self._cmd_group)
return self._offset
@property
def srbPscch(self):
"""srbPscch commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_srbPscch'):
from .SrbPscch import SrbPscchCls
self._srbPscch = SrbPscchCls(self._core, self._cmd_group)
return self._srbPscch
@property
def srbSubchan(self):
"""srbSubchan commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_srbSubchan'):
from .SrbSubchan import SrbSubchanCls
self._srbSubchan = SrbSubchanCls(self._core, self._cmd_group)
return self._srbSubchan
@property
def subChannels(self):
"""subChannels commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_subChannels'):
from .SubChannels import SubChannelsCls
self._subChannels = SubChannelsCls(self._core, self._cmd_group)
return self._subChannels
@property
def subSize(self):
"""subSize commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_subSize'):
from .SubSize import SubSizeCls
self._subSize = SubSizeCls(self._core, self._cmd_group)
return self._subSize
def clone(self) -> 'V2XCls':
"""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 = V2XCls(self._core, self._cmd_group.parent)
self._cmd_group.synchronize_repcaps(new_group)
return new_group