Source code for RsSmw.Implementations.Source.Efrontend.Connection.Config

from .....Internal.Core import Core
from .....Internal.CommandsGroup import CommandsGroup
from .....Internal.Types import DataType
from .....Internal.ArgSingleList import ArgSingleList
from .....Internal.ArgSingle import ArgSingle


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

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

[docs] def set(self, fe_type_unused: str, ip_or_pcname: str, dev_id: str, symb_name: str) -> None: """ ``[SOURce<HW>]:EFRontend:CONNection:CONFig`` \n Snippet: ``driver.source.efrontend.connection.config.set(fe_type_unused = 'abc', ip_or_pcname = 'abc', dev_id = 'abc', symb_name = 'abc')`` \n No help available """ param = ArgSingleList().compose_cmd_string(ArgSingle('fe_type_unused', fe_type_unused, DataType.String), ArgSingle('ip_or_pcname', ip_or_pcname, DataType.String), ArgSingle('dev_id', dev_id, DataType.String), ArgSingle('symb_name', symb_name, DataType.String)) self._core.io.write(f'SOURce<HwInstance>:EFRontend:CONNection:CONFig {param}'.rstrip())