from ...Internal.Core import Core
from ...Internal.CommandsGroup import CommandsGroup
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]
class DiagnosticCls:
"""Diagnostic commands group definition. 58 total commands, 8 Subgroups, 0 group commands"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("diagnostic", core, parent)
@property
def gprf(self):
"""gprf commands group. 2 Sub-classes, 0 commands."""
if not hasattr(self, '_gprf'):
from .Gprf import GprfCls
self._gprf = GprfCls(self._core, self._cmd_group)
return self._gprf
@property
def configure(self):
"""configure commands group. 2 Sub-classes, 0 commands."""
if not hasattr(self, '_configure'):
from .Configure import ConfigureCls
self._configure = ConfigureCls(self._core, self._cmd_group)
return self._configure
@property
def generic(self):
"""generic commands group. 1 Sub-classes, 0 commands."""
if not hasattr(self, '_generic'):
from .Generic import GenericCls
self._generic = GenericCls(self._core, self._cmd_group)
return self._generic
@property
def meas(self):
"""meas commands group. 1 Sub-classes, 0 commands."""
if not hasattr(self, '_meas'):
from .Meas import MeasCls
self._meas = MeasCls(self._core, self._cmd_group)
return self._meas
@property
def fetch(self):
"""fetch commands group. 1 Sub-classes, 0 commands."""
if not hasattr(self, '_fetch'):
from .Fetch import FetchCls
self._fetch = FetchCls(self._core, self._cmd_group)
return self._fetch
@property
def route(self):
"""route commands group. 3 Sub-classes, 0 commands."""
if not hasattr(self, '_route'):
from .Route import RouteCls
self._route = RouteCls(self._core, self._cmd_group)
return self._route
@property
def trigger(self):
"""trigger commands group. 1 Sub-classes, 0 commands."""
if not hasattr(self, '_trigger'):
from .Trigger import TriggerCls
self._trigger = TriggerCls(self._core, self._cmd_group)
return self._trigger
@property
def catalog(self):
"""catalog commands group. 1 Sub-classes, 0 commands."""
if not hasattr(self, '_catalog'):
from .Catalog import CatalogCls
self._catalog = CatalogCls(self._core, self._cmd_group)
return self._catalog
def clone(self) -> 'DiagnosticCls':
"""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 = DiagnosticCls(self._core, self._cmd_group.parent)
self._cmd_group.synchronize_repcaps(new_group)
return new_group