[docs]classDateCls:"""Date commands group definition. 1 total commands, 0 Subgroups, 1 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("date",core,parent)
[docs]defset(self,year:int,month:int,day:int)->None:"""SCPI: [SOURce<HW>]:VOR:TRIGger:TIME:DATE \n Snippet: driver.source.vor.trigger.time.date.set(year = 1, month = 1, day = 1) \n No command help available \n :param year: No help available :param month: No help available :param day: No help available """param=ArgSingleList().compose_cmd_string(ArgSingle('year',year,DataType.Integer),ArgSingle('month',month,DataType.Integer),ArgSingle('day',day,DataType.Integer))self._core.io.write(f'SOURce<HwInstance>:VOR:TRIGger:TIME:DATE {param}'.rstrip())
# noinspection PyTypeChecker
[docs]classDateStruct(StructBase):"""Response structure. Fields: \n - Year: int: No parameter help available - Month: int: No parameter help available - Day: int: No parameter help available"""__meta_args_list=[ArgStruct.scalar_int('Year'),ArgStruct.scalar_int('Month'),ArgStruct.scalar_int('Day')]def__init__(self):StructBase.__init__(self,self)self.Year:int=Noneself.Month:int=Noneself.Day:int=None
[docs]defget(self)->DateStruct:"""SCPI: [SOURce<HW>]:VOR:TRIGger:TIME:DATE \n Snippet: value: DateStruct = driver.source.vor.trigger.time.date.get() \n No command help available \n :return: structure: for return value, see the help for DateStruct structure arguments."""returnself._core.io.query_struct(f'SOURce<HwInstance>:VOR:TRIGger:TIME:DATE?',self.__class__.DateStruct())