from ...Internal.Core import Core
from ...Internal.CommandsGroup import CommandsGroup
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class FunctionCls:
"""Function commands group definition. 7 total commands, 3 Subgroups, 0 group commands"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("function", core, parent)
@property
def impedance(self):
"""impedance commands group. 1 Sub-classes, 2 commands."""
if not hasattr(self, '_impedance'):
from .Impedance import ImpedanceCls
self._impedance = ImpedanceCls(self._core, self._cmd_group)
return self._impedance
@property
def measurement(self):
"""measurement commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_measurement'):
from .Measurement import MeasurementCls
self._measurement = MeasurementCls(self._core, self._cmd_group)
return self._measurement
@property
def transformer(self):
"""transformer commands group. 1 Sub-classes, 0 commands."""
if not hasattr(self, '_transformer'):
from .Transformer import TransformerCls
self._transformer = TransformerCls(self._core, self._cmd_group)
return self._transformer