from .......Internal.Core import Core
from .......Internal.CommandsGroup import CommandsGroup
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]
class Le2MCls:
"""Le2M commands group definition. 18 total commands, 6 Subgroups, 0 group commands"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("le2M", core, parent)
@property
def xmaximum(self):
"""xmaximum commands group. 0 Sub-classes, 3 commands."""
if not hasattr(self, '_xmaximum'):
from .Xmaximum import XmaximumCls
self._xmaximum = XmaximumCls(self._core, self._cmd_group)
return self._xmaximum
@property
def xminimum(self):
"""xminimum commands group. 0 Sub-classes, 3 commands."""
if not hasattr(self, '_xminimum'):
from .Xminimum import XminimumCls
self._xminimum = XminimumCls(self._core, self._cmd_group)
return self._xminimum
@property
def maximum(self):
"""maximum commands group. 0 Sub-classes, 3 commands."""
if not hasattr(self, '_maximum'):
from .Maximum import MaximumCls
self._maximum = MaximumCls(self._core, self._cmd_group)
return self._maximum
@property
def current(self):
"""current commands group. 0 Sub-classes, 3 commands."""
if not hasattr(self, '_current'):
from .Current import CurrentCls
self._current = CurrentCls(self._core, self._cmd_group)
return self._current
@property
def average(self):
"""average commands group. 0 Sub-classes, 3 commands."""
if not hasattr(self, '_average'):
from .Average import AverageCls
self._average = AverageCls(self._core, self._cmd_group)
return self._average
@property
def standardDev(self):
"""standardDev commands group. 0 Sub-classes, 3 commands."""
if not hasattr(self, '_standardDev'):
from .StandardDev import StandardDevCls
self._standardDev = StandardDevCls(self._core, self._cmd_group)
return self._standardDev
def clone(self) -> 'Le2MCls':
"""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 = Le2MCls(self._core, self._cmd_group.parent)
self._cmd_group.synchronize_repcaps(new_group)
return new_group