from ....Internal.Core import Core
from ....Internal.CommandsGroup import CommandsGroup
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class PowerCls:
"""Power commands group definition. 4 total commands, 1 Subgroups, 0 group commands"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("power", core, parent)
@property
def protection(self):
"""protection commands group. 0 Sub-classes, 4 commands."""
if not hasattr(self, '_protection'):
from .Protection import ProtectionCls
self._protection = ProtectionCls(self._core, self._cmd_group)
return self._protection