Source code for RsSmw.Implementations.Source.Bb.V5G.Downlink.Csettings

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


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

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

[docs] def get_ra_rnti(self) -> int: """ ``[SOURce<HW>]:BB:V5G:DL:CSETtings:RARNti`` \n Snippet: ``value: int = driver.source.bb.v5G.downlink.csettings.get_ra_rnti()`` \n No help available """ response = self._core.io.query_str('SOURce<HwInstance>:BB:V5G:DL:CSETtings:RARNti?') return Conversions.str_to_int(response)
[docs] def set_ra_rnti(self, ra_rnti: int) -> None: """ ``[SOURce<HW>]:BB:V5G:DL:CSETtings:RARNti`` \n Snippet: ``driver.source.bb.v5G.downlink.csettings.set_ra_rnti(ra_rnti = 1)`` \n No help available """ param = Conversions.decimal_value_to_str(ra_rnti) self._core.io.write(f'SOURce<HwInstance>:BB:V5G:DL:CSETtings:RARNti {param}')