from .....Internal.Core import Core
from .....Internal.CommandsGroup import CommandsGroup
from .....Internal import Conversions
from ..... import enums
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class MtableCls:
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("mtable", core, parent)
[docs]
def set(self, display_mode: enums.AutoMode) -> None:
"""
``DISPlay:MTABle`` \n
Snippet: ``driver.applications.k60Transient.display.mtable.set(display_mode = enums.AutoMode.AUTO)`` \n
No help available
"""
param = Conversions.enum_scalar_to_str(display_mode, enums.AutoMode)
self._core.io.write(f'DISPlay:MTABle {param}')
# noinspection PyTypeChecker
[docs]
def get(self) -> enums.AutoMode:
"""
``DISPlay:MTABle`` \n
Snippet: ``value: enums.AutoMode = driver.applications.k60Transient.display.mtable.get()`` \n
No help available
"""
response = self._core.io.query_str(f'DISPlay:MTABle?')
return Conversions.str_to_scalar_enum(response, enums.AutoMode)