Source code for RsCMPX_Base.Implementations.Catalog.System

from ....Internal.Core import Core
from ....Internal.CommandsGroup import CommandsGroup


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs] class SystemCls: """System commands group definition. 5 total commands, 4 Subgroups, 0 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("system", core, parent) @property def reset(self): """reset commands group. 0 Sub-classes, 1 commands.""" if not hasattr(self, '_reset'): from .Reset import ResetCls self._reset = ResetCls(self._core, self._cmd_group) return self._reset @property def rrhead(self): """rrhead commands group. 0 Sub-classes, 1 commands.""" if not hasattr(self, '_rrhead'): from .Rrhead import RrheadCls self._rrhead = RrheadCls(self._core, self._cmd_group) return self._rrhead @property def attenuation(self): """attenuation commands group. 1 Sub-classes, 0 commands.""" if not hasattr(self, '_attenuation'): from .Attenuation import AttenuationCls self._attenuation = AttenuationCls(self._core, self._cmd_group) return self._attenuation @property def rf42(self): """rf42 commands group. 1 Sub-classes, 0 commands.""" if not hasattr(self, '_rf42'): from .Rf42 import Rf42Cls self._rf42 = Rf42Cls(self._core, self._cmd_group) return self._rf42 def clone(self) -> 'SystemCls': """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 = SystemCls(self._core, self._cmd_group.parent) self._cmd_group.synchronize_repcaps(new_group) return new_group