[docs]classSetCls:"""Set commands group definition. 8 total commands, 8 Subgroups, 0 group commands Repeated Capability: ModCodSet, default value after init: ModCodSet.Nr1"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("set",core,parent)self._cmd_group.rep_cap=RepeatedCapability(self._cmd_group.group_name,'repcap_modCodSet_get','repcap_modCodSet_set',repcap.ModCodSet.Nr1)defrepcap_modCodSet_set(self,modCodSet:repcap.ModCodSet)->None:"""Repeated Capability default value numeric suffix. This value is used, if you do not explicitely set it in the child set/get methods, or if you leave it to ModCodSet.Default. Default value after init: ModCodSet.Nr1"""self._cmd_group.set_repcap_enum_value(modCodSet)defrepcap_modCodSet_get(self)->repcap.ModCodSet:"""Returns the current default repeated capability for the child set/get methods"""# noinspection PyTypeCheckerreturnself._cmd_group.get_repcap_enum_value()@propertydefadfl(self):"""adfl commands group. 1 Sub-classes, 0 commands."""ifnothasattr(self,'_adfl'):from.AdflimportAdflClsself._adfl=AdflCls(self._core,self._cmd_group)returnself._adfl@propertydefctype(self):"""ctype commands group. 0 Sub-classes, 1 commands."""ifnothasattr(self,'_ctype'):from.CtypeimportCtypeClsself._ctype=CtypeCls(self._core,self._cmd_group)returnself._ctype@propertydefdfl(self):"""dfl commands group. 0 Sub-classes, 1 commands."""ifnothasattr(self,'_dfl'):from.DflimportDflClsself._dfl=DflCls(self._core,self._cmd_group)returnself._dfl@propertydefframes(self):"""frames commands group. 0 Sub-classes, 1 commands."""ifnothasattr(self,'_frames'):from.FramesimportFramesClsself._frames=FramesCls(self._core,self._cmd_group)returnself._frames@propertydefmcod(self):"""mcod commands group. 0 Sub-classes, 1 commands."""ifnothasattr(self,'_mcod'):from.McodimportMcodClsself._mcod=McodCls(self._core,self._cmd_group)returnself._mcod@propertydefpcod(self):"""pcod commands group. 0 Sub-classes, 1 commands."""ifnothasattr(self,'_pcod'):from.PcodimportPcodClsself._pcod=PcodCls(self._core,self._cmd_group)returnself._pcod@propertydefpstate(self):"""pstate commands group. 1 Sub-classes, 0 commands."""ifnothasattr(self,'_pstate'):from.PstateimportPstateClsself._pstate=PstateCls(self._core,self._cmd_group)returnself._pstate@propertydefsfactor(self):"""sfactor commands group. 0 Sub-classes, 1 commands."""ifnothasattr(self,'_sfactor'):from.SfactorimportSfactorClsself._sfactor=SfactorCls(self._core,self._cmd_group)returnself._sfactordefclone(self)->'SetCls':"""Clones the group by creating new object from it and its whole existing subgroups Also copies all the existing default Repeated Capabilities setting, which you can change independently without affecting the original group"""new_group=SetCls(self._core,self._cmd_group.parent)self._cmd_group.synchronize_repcaps(new_group)returnnew_group