Source code for RsFsw.Implementations.System.Set

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


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

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

[docs] def set(self, block_data: bytes) -> None: """ ``SYSTem:SET`` \n Snippet: ``driver.system.set.set(block_data = b'ABCDEFGH')`` \n No help available """ self._core.io.write_bin_block(f'SYSTem:SET ', block_data)
[docs] def get(self) -> bytes: """ ``SYSTem:SET`` \n Snippet: ``value: bytes = driver.system.set.get()`` \n No help available """ response = self._core.io.query_bin_block_ERROR(f'SYSTem:SET?') return response