Source code for RsFsw.Implementations.Configure.Generator.Relay.Write

from .....Internal.Core import Core
from .....Internal.CommandsGroup import CommandsGroup
from .....Internal import Conversions


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

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

[docs] def set(self, command: str) -> None: """ ``CONFigure:GENerator:RELay:WRITe`` \n Snippet: ``driver.configure.generator.relay.write.set(command = 'abc')`` \n No help available """ param = Conversions.value_to_quoted_str(command) self._core.io.write_with_opc(f'CONFigure:GENerator:RELay:WRITe {param}')