[docs]classMiPatternCls:"""MiPattern commands group definition. 1 total commands, 0 Subgroups, 1 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("miPattern",core,parent)
[docs]defset(self,prs_muting_info:str,bitcount:int)->None:"""SCPI: [SOURce<HW>]:BB:EUTRa:DL:PRSS:MIPattern \n Snippet: driver.source.bb.eutra.downlink.prss.miPattern.set(prs_muting_info = rawAbc, bitcount = 1) \n Specifies a bit pattern that defines the muted and not muted PRS. \n :param prs_muting_info: numeric Each bit defines the PRS state of one PRS occasion 0 PRS is muted 1 PRS is transmitted :param bitcount: integer 2, 4, 8 or 16 bits Range: 2 to 16 """param=ArgSingleList().compose_cmd_string(ArgSingle('prs_muting_info',prs_muting_info,DataType.RawString),ArgSingle('bitcount',bitcount,DataType.Integer))self._core.io.write(f'SOURce<HwInstance>:BB:EUTRa:DL:PRSS:MIPattern {param}'.rstrip())
# noinspection PyTypeChecker
[docs]classMiPatternStruct(StructBase):"""Response structure. Fields: \n - Prs_Muting_Info: str: numeric Each bit defines the PRS state of one PRS occasion 0 PRS is muted 1 PRS is transmitted - Bitcount: int: integer 2, 4, 8 or 16 bits Range: 2 to 16"""__meta_args_list=[ArgStruct.scalar_raw_str('Prs_Muting_Info'),ArgStruct.scalar_int('Bitcount')]def__init__(self):StructBase.__init__(self,self)self.Prs_Muting_Info:str=Noneself.Bitcount:int=None
[docs]defget(self)->MiPatternStruct:"""SCPI: [SOURce<HW>]:BB:EUTRa:DL:PRSS:MIPattern \n Snippet: value: MiPatternStruct = driver.source.bb.eutra.downlink.prss.miPattern.get() \n Specifies a bit pattern that defines the muted and not muted PRS. \n :return: structure: for return value, see the help for MiPatternStruct structure arguments."""returnself._core.io.query_struct(f'SOURce<HwInstance>:BB:EUTRa:DL:PRSS:MIPattern?',self.__class__.MiPatternStruct())