[docs]classPowerCls:"""Power commands group definition. 3 total commands, 3 Subgroups, 0 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("power",core,parent)@propertydefcfactor(self):"""cfactor commands group. 0 Sub-classes, 1 commands."""ifnothasattr(self,'_cfactor'):from.CfactorimportCfactorClsself._cfactor=CfactorCls(self._core,self._cmd_group)returnself._cfactor@propertydefpeak(self):"""peak commands group. 0 Sub-classes, 1 commands."""ifnothasattr(self,'_peak'):from.PeakimportPeakClsself._peak=PeakCls(self._core,self._cmd_group)returnself._peak@propertydefrms(self):"""rms commands group. 0 Sub-classes, 1 commands."""ifnothasattr(self,'_rms'):from.RmsimportRmsClsself._rms=RmsCls(self._core,self._cmd_group)returnself._rmsdefclone(self)->'PowerCls':"""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=PowerCls(self._core,self._cmd_group.parent)self._cmd_group.synchronize_repcaps(new_group)returnnew_group