Source code for RsFsw.Implementations.Applications.K18_AmplifierEt.Fetch.Power

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


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class PowerCls: """Power commands group definition. 43 total commands, 10 Subgroups, 0 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("power", core, parent) @property def result(self): """result commands group. 1 Sub-classes, 0 commands.""" if not hasattr(self, '_result'): from .Result import ResultCls self._result = ResultCls(self._core, self._cmd_group) return self._result @property def cfactor(self): """cfactor commands group. 2 Sub-classes, 0 commands.""" if not hasattr(self, '_cfactor'): from .Cfactor import CfactorCls self._cfactor = CfactorCls(self._core, self._cmd_group) return self._cfactor @property def gain(self): """gain commands group. 3 Sub-classes, 0 commands.""" if not hasattr(self, '_gain'): from .Gain import GainCls self._gain = GainCls(self._core, self._cmd_group) return self._gain @property def inputPy(self): """inputPy commands group. 3 Sub-classes, 0 commands.""" if not hasattr(self, '_inputPy'): from .InputPy import InputPyCls self._inputPy = InputPyCls(self._core, self._cmd_group) return self._inputPy @property def sensor(self): """sensor commands group. 2 Sub-classes, 0 commands.""" if not hasattr(self, '_sensor'): from .Sensor import SensorCls self._sensor = SensorCls(self._core, self._cmd_group) return self._sensor @property def output(self): """output commands group. 3 Sub-classes, 0 commands.""" if not hasattr(self, '_output'): from .Output import OutputCls self._output = OutputCls(self._core, self._cmd_group) return self._output @property def p1Db(self): """p1Db commands group. 4 Sub-classes, 0 commands.""" if not hasattr(self, '_p1Db'): from .P1Db import P1DbCls self._p1Db = P1DbCls(self._core, self._cmd_group) return self._p1Db @property def p2Db(self): """p2Db commands group. 4 Sub-classes, 0 commands.""" if not hasattr(self, '_p2Db'): from .P2Db import P2DbCls self._p2Db = P2DbCls(self._core, self._cmd_group) return self._p2Db @property def p3Db(self): """p3Db commands group. 4 Sub-classes, 0 commands.""" if not hasattr(self, '_p3Db'): from .P3Db import P3DbCls self._p3Db = P3DbCls(self._core, self._cmd_group) return self._p3Db @property def obw(self): """obw commands group. 3 Sub-classes, 0 commands.""" if not hasattr(self, '_obw'): from .Obw import ObwCls self._obw = ObwCls(self._core, self._cmd_group) return self._obw def clone(self) -> 'PowerCls': """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 = PowerCls(self._core, self._cmd_group.parent) self._cmd_group.synchronize_repcaps(new_group) return new_group