[docs]classDaylightSavingTimeCls:"""DaylightSavingTime commands group definition. 3 total commands, 1 Subgroups, 1 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("daylightSavingTime",core,parent)@propertydefrule(self):"""rule commands group. 0 Sub-classes, 2 commands."""ifnothasattr(self,'_rule'):from.RuleimportRuleClsself._rule=RuleCls(self._core,self._cmd_group)returnself._rule
[docs]defget_mode(self)->str:"""SCPI: SYSTem:TIME:DSTime:MODE \n Snippet: value: str = driver.system.time.daylightSavingTime.get_mode() \n No command help available \n :return: pseudo_string: No help available """response=self._core.io.query_str('SYSTem:TIME:DSTime:MODE?')returntrim_str_response(response)
[docs]defset_mode(self,pseudo_string:str)->None:"""SCPI: SYSTem:TIME:DSTime:MODE \n Snippet: driver.system.time.daylightSavingTime.set_mode(pseudo_string = 'abc') \n No command help available \n :param pseudo_string: No help available """param=Conversions.value_to_quoted_str(pseudo_string)self._core.io.write(f'SYSTem:TIME:DSTime:MODE {param}')
defclone(self)->'DaylightSavingTimeCls':"""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=DaylightSavingTimeCls(self._core,self._cmd_group.parent)self._cmd_group.synchronize_repcaps(new_group)returnnew_group