Source code for RsSmbv.Implementations.Test.Write

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


# 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_result(self, result: enums.SelftLevWrite) -> None: """ ``TEST:WRITe:RESult`` \n Snippet: ``driver.test.write.set_result(result = enums.SelftLevWrite.CUSTomer)`` \n No help available """ param = Conversions.enum_scalar_to_str(result, enums.SelftLevWrite) self._core.io.write(f'TEST:WRITe:RESult {param}')