Source code for RsSmw.Implementations.System.Lock.Name

from ....Internal.Core import Core
from ....Internal.CommandsGroup import CommandsGroup
from ....Internal.Utilities import trim_str_response


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class NameCls:
	"""
	| Commands in total: 2
	| Subgroups: 0
	| Direct child commands: 2
	"""

	def __init__(self, core: Core, parent):
		self._core = core
		self._cmd_group = CommandsGroup("name", core, parent)

[docs] def get_detailed(self) -> str: """ ``SYSTem:LOCK:NAME:DETailed`` \n Snippet: ``value: str = driver.system.lock.name.get_detailed()`` \n No help available """ response = self._core.io.query_str('SYSTem:LOCK:NAME:DETailed?') return trim_str_response(response)
[docs] def get_value(self) -> str: """ ``SYSTem:LOCK:NAME`` \n Snippet: ``value: str = driver.system.lock.name.get_value()`` \n No help available """ response = self._core.io.query_str('SYSTem:LOCK:NAME?') return trim_str_response(response)