from .....Internal.Core import Core
from .....Internal.CommandsGroup import CommandsGroup
from .....Internal import Conversions
from ..... import enums
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class StatusCls:
"""
| Commands in total: 2
| Subgroups: 0
| Direct child commands: 2
"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("status", core, parent)
# noinspection PyTypeChecker
[docs]
def get_summary(self) -> enums.SummaryResult:
"""
``DIAGnostic:HUMS:SYSTem:STATus:SUMMary`` \n
Snippet: ``value: enums.SummaryResult = driver.diagnostic.hums.system.status.get_summary()`` \n
No help available
"""
response = self._core.io.query_str('DIAGnostic:HUMS:SYSTem:STATus:SUMMary?')
return Conversions.str_to_scalar_enum(response, enums.SummaryResult)
[docs]
def get_value(self) -> bytes:
"""
``DIAGnostic:HUMS:SYSTem:STATus`` \n
Snippet: ``value: bytes = driver.diagnostic.hums.system.status.get_value()`` \n
No help available
"""
response = self._core.io.query_bin_block('DIAGnostic:HUMS:SYSTem:STATus?')
return response