Source code for RsNgx.Implementations.Trigger.Sequence.Immediate.Source.Dio

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


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class DioCls: """Dio commands group definition. 2 total commands, 2 Subgroups, 0 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("dio", core, parent) @property def channel(self): """channel commands group. 0 Sub-classes, 1 commands.""" if not hasattr(self, '_channel'): from .Channel import ChannelCls self._channel = ChannelCls(self._core, self._cmd_group) return self._channel @property def pin(self): """pin commands group. 0 Sub-classes, 1 commands.""" if not hasattr(self, '_pin'): from .Pin import PinCls self._pin = PinCls(self._core, self._cmd_group) return self._pin