from ....Internal.Core import Core
from ....Internal.CommandsGroup import CommandsGroup
from ....Internal import Conversions
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class HumsCls:
"""
| Commands in total: 18
| Subgroups: 11
| Direct child commands: 1
"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("hums", core, parent)
@property
def state(self):
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
if not hasattr(self, '_state'):
from .State import StateCls
self._state = StateCls(self._core, self._cmd_group)
return self._state
@property
def utilization(self):
"""
| Commands in total: 4
| Subgroups: 2
| Direct child commands: 1
"""
if not hasattr(self, '_utilization'):
from .Utilization import UtilizationCls
self._utilization = UtilizationCls(self._core, self._cmd_group)
return self._utilization
@property
def bios(self):
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
if not hasattr(self, '_bios'):
from .Bios import BiosCls
self._bios = BiosCls(self._core, self._cmd_group)
return self._bios
@property
def device(self):
"""
| Commands in total: 1
| Subgroups: 1
| Direct child commands: 0
"""
if not hasattr(self, '_device'):
from .Device import DeviceCls
self._device = DeviceCls(self._core, self._cmd_group)
return self._device
@property
def equipment(self):
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
if not hasattr(self, '_equipment'):
from .Equipment import EquipmentCls
self._equipment = EquipmentCls(self._core, self._cmd_group)
return self._equipment
@property
def storage(self):
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
if not hasattr(self, '_storage'):
from .Storage import StorageCls
self._storage = StorageCls(self._core, self._cmd_group)
return self._storage
@property
def system(self):
"""
| Commands in total: 3
| Subgroups: 2
| Direct child commands: 0
"""
if not hasattr(self, '_system'):
from .System import SystemCls
self._system = SystemCls(self._core, self._cmd_group)
return self._system
@property
def security(self):
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
if not hasattr(self, '_security'):
from .Security import SecurityCls
self._security = SecurityCls(self._core, self._cmd_group)
return self._security
@property
def service(self):
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
if not hasattr(self, '_service'):
from .Service import ServiceCls
self._service = ServiceCls(self._core, self._cmd_group)
return self._service
@property
def tags(self):
"""
| Commands in total: 2
| Subgroups: 1
| Direct child commands: 1
"""
if not hasattr(self, '_tags'):
from .Tags import TagsCls
self._tags = TagsCls(self._core, self._cmd_group)
return self._tags
@property
def formatPy(self):
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
if not hasattr(self, '_formatPy'):
from .FormatPy import FormatPyCls
self._formatPy = FormatPyCls(self._core, self._cmd_group)
return self._formatPy
[docs]
def save(self, path: str) -> None:
"""
``DIAGnostic:HUMS:SAVE`` \n
Snippet: ``driver.diagnostic.hums.save(path = 'abc')`` \n
No help available
"""
param = Conversions.value_to_quoted_str(path)
self._core.io.write(f'DIAGnostic:HUMS:SAVE {param}')
def clone(self) -> 'HumsCls':
"""
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 = HumsCls(self._core, self._cmd_group.parent)
self._cmd_group.synchronize_repcaps(new_group)
return new_group