Source code for RsNgx.Implementations.Sense

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


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class SenseCls: """Sense commands group definition. 7 total commands, 3 Subgroups, 0 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("sense", core, parent) @property def current(self): """current commands group. 1 Sub-classes, 0 commands.""" if not hasattr(self, '_current'): from .Current import CurrentCls self._current = CurrentCls(self._core, self._cmd_group) return self._current @property def voltage(self): """voltage commands group. 1 Sub-classes, 0 commands.""" if not hasattr(self, '_voltage'): from .Voltage import VoltageCls self._voltage = VoltageCls(self._core, self._cmd_group) return self._voltage @property def nplCycles(self): """nplCycles commands group. 0 Sub-classes, 1 commands.""" if not hasattr(self, '_nplCycles'): from .NplCycles import NplCyclesCls self._nplCycles = NplCyclesCls(self._core, self._cmd_group) return self._nplCycles