Source code for RsFsw.Implementations.Applications.K6_Pulse.Auto.Power.Dummy

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


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

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

[docs] def set(self, type_py: enums.TypePowerK6) -> None: """ ``AUTO:POWer:DUMMy`` \n Snippet: ``driver.applications.k6Pulse.auto.power.dummy.set(type_py = enums.TypePowerK6.POWer)`` \n No help available """ param = Conversions.enum_scalar_to_str(type_py, enums.TypePowerK6) self._core.io.write(f'AUTO:POWer:DUMMy {param}')