[docs]classUplaneCls:"""Uplane commands group definition. 1 total commands, 0 Subgroups, 1 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("uplane",core,parent)
[docs]defget_state(self)->bool:"""SCPI: [SOURce<HW>]:BB:EUTRa:UPLane:STATe \n Snippet: value: bool = driver.source.bb.eutra.uplane.get_state() \n Turns user plane data generation according to the O-RAN standard on and off. \n :return: up_lane_state: 1| ON| 0| OFF """response=self._core.io.query_str('SOURce<HwInstance>:BB:EUTRa:UPLane:STATe?')returnConversions.str_to_bool(response)
[docs]defset_state(self,up_lane_state:bool)->None:"""SCPI: [SOURce<HW>]:BB:EUTRa:UPLane:STATe \n Snippet: driver.source.bb.eutra.uplane.set_state(up_lane_state = False) \n Turns user plane data generation according to the O-RAN standard on and off. \n :param up_lane_state: 1| ON| 0| OFF """param=Conversions.bool_to_str(up_lane_state)self._core.io.write(f'SOURce<HwInstance>:BB:EUTRa:UPLane:STATe {param}')