from .....Internal.Core import Core
from .....Internal.CommandsGroup import CommandsGroup
from .....Internal import Conversions
from .....Internal.Utilities import trim_str_response
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class TselectedCls:
"""
| Commands in total: 2
| Subgroups: 0
| Direct child commands: 2
"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("tselected", core, parent)
[docs]
def get_catalog(self) -> str:
"""
``SYSTem:EXTDevices:UPDate:TSELected:CATalog`` \n
Snippet: ``value: str = driver.system.extDevices.update.tselected.get_catalog()`` \n
No help available
"""
response = self._core.io.query_str('SYSTem:EXTDevices:UPDate:TSELected:CATalog?')
return trim_str_response(response)
[docs]
def get_step(self) -> str:
"""
``SYSTem:EXTDevices:UPDate:TSELected:STEP`` \n
Snippet: ``value: str = driver.system.extDevices.update.tselected.get_step()`` \n
No help available
"""
response = self._core.io.query_str('SYSTem:EXTDevices:UPDate:TSELected:STEP?')
return trim_str_response(response)
[docs]
def set_step(self, sel_string: str) -> None:
"""
``SYSTem:EXTDevices:UPDate:TSELected:STEP`` \n
Snippet: ``driver.system.extDevices.update.tselected.set_step(sel_string = 'abc')`` \n
No help available
"""
param = Conversions.value_to_quoted_str(sel_string)
self._core.io.write(f'SYSTem:EXTDevices:UPDate:TSELected:STEP {param}')