[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>]:BB:GNSS:TIME:STARt:DATE \n Snippet: driver.source.bb.gnss.time.start.date.set(year = 1, month = 1, day = 1) \n If the time base is UTC, defines the date for the simulation in DD.MM.YYYY format of the Gregorian calendar. \n :param year: integer Range: 1980 to 9999 :param month: integer Range: 1 to 12 :param day: integer Range: 1 to 31 """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>:BB:GNSS:TIME:STARt:DATE {param}'.rstrip())
[docs]defget(self)->DateStruct:"""SCPI: [SOURce<HW>]:BB:GNSS:TIME:STARt:DATE \n Snippet: value: DateStruct = driver.source.bb.gnss.time.start.date.get() \n If the time base is UTC, defines the date for the simulation in DD.MM.YYYY format of the Gregorian calendar. \n :return: structure: for return value, see the help for DateStruct structure arguments."""returnself._core.io.query_struct(f'SOURce<HwInstance>:BB:GNSS:TIME:STARt:DATE?',self.__class__.DateStruct())