Source code for RsSmw.Implementations.Source.Bb.C2K.Mstation.Additional.LcMask

from .......Internal.Core import Core
from .......Internal.CommandsGroup import CommandsGroup
from .......Internal import Conversions
from .......Internal.Utilities import trim_str_response


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

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

[docs] def get_step(self) -> str: """ ``[SOURce<HW>]:BB:C2K:MSTation:ADDitional:LCMask:STEP`` \n Snippet: ``value: str = driver.source.bb.c2K.mstation.additional.lcMask.get_step()`` \n Sets the step width for increasing the LC mask of the additional mobile stations. The start value is the LC mask of MS4. :return: step: 24 bits """ response = self._core.io.query_str('SOURce<HwInstance>:BB:C2K:MSTation:ADDitional:LCMask:STEP?') return trim_str_response(response)
[docs] def set_step(self, step: str) -> None: """ ``[SOURce<HW>]:BB:C2K:MSTation:ADDitional:LCMask:STEP`` \n Snippet: ``driver.source.bb.c2K.mstation.additional.lcMask.set_step(step = rawAbc)`` \n Sets the step width for increasing the LC mask of the additional mobile stations. The start value is the LC mask of MS4. :param step: 24 bits """ param = Conversions.value_to_str(step) self._core.io.write(f'SOURce<HwInstance>:BB:C2K:MSTation:ADDitional:LCMask:STEP {param}')