Source code for RsSmw.Implementations.Test.Remote.Lockout

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


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

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

[docs] def set_state(self, state: bool) -> None: """ ``TEST<HW>:REMote:LOCKout:[STATe]`` \n Snippet: ``driver.test.remote.lockout.set_state(state = False)`` \n No help available """ param = Conversions.bool_to_str(state) self._core.io.write(f'TEST<HwInstance>:REMote:LOCKout:STATe {param}')