Source code for RsSmw.Implementations.Source.Cemulation.Ignore

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


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

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

[docs] def get_rf_changes(self) -> bool: """ ``[SOURce<HW>]:CEMulation:IGNore:RFCHanges`` \n Snippet: ``value: bool = driver.source.cemulation.ignore.get_rf_changes()`` \n No help available """ response = self._core.io.query_str('SOURce<HwInstance>:CEMulation:IGNore:RFCHanges?') return Conversions.str_to_bool(response)
[docs] def set_rf_changes(self, rf_changes: bool) -> None: """ ``[SOURce<HW>]:CEMulation:IGNore:RFCHanges`` \n Snippet: ``driver.source.cemulation.ignore.set_rf_changes(rf_changes = False)`` \n No help available """ param = Conversions.bool_to_str(rf_changes) self._core.io.write(f'SOURce<HwInstance>:CEMulation:IGNore:RFCHanges {param}')