[docs]classCoordinatesCls:"""Coordinates commands group definition. 2 total commands, 1 Subgroups, 1 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("coordinates",core,parent)@propertydefdecimal(self):"""decimal commands group. 0 Sub-classes, 1 commands."""ifnothasattr(self,'_decimal'):from.DecimalimportDecimalClsself._decimal=DecimalCls(self._core,self._cmd_group)returnself._decimal# noinspection PyTypeChecker
[docs]classDmsStruct(StructBase):# From WriteStructDefinition CmdPropertyTemplate.xml"""Structure for setting input parameters. Fields: \n - Longitude_Deg: int: No parameter help available - Longitude_Min: int: No parameter help available - Longitude_Sec: int: No parameter help available - Longitude_Dir: str: No parameter help available - Latitude_Deg: int: No parameter help available - Latitude_Min: int: No parameter help available - Latitude_Sec: int: No parameter help available - Latitude_Dir: str: No parameter help available"""__meta_args_list=[ArgStruct.scalar_int('Longitude_Deg'),ArgStruct.scalar_int('Longitude_Min'),ArgStruct.scalar_int('Longitude_Sec'),ArgStruct.scalar_str('Longitude_Dir'),ArgStruct.scalar_int('Latitude_Deg'),ArgStruct.scalar_int('Latitude_Min'),ArgStruct.scalar_int('Latitude_Sec'),ArgStruct.scalar_str('Latitude_Dir')]def__init__(self):StructBase.__init__(self,self)self.Longitude_Deg:int=Noneself.Longitude_Min:int=Noneself.Longitude_Sec:int=Noneself.Longitude_Dir:str=Noneself.Latitude_Deg:int=Noneself.Latitude_Min:int=Noneself.Latitude_Sec:int=Noneself.Latitude_Dir:str=None
[docs]defget_dms(self)->DmsStruct:"""SCPI: [SOURce<HW>]:CEMulation:DSSimulation:SHIPtoship:TX:COORdinates:DMS \n Snippet: value: DmsStruct = driver.source.cemulation.dsSimulation.shiptoship.tx.coordinates.get_dms() \n No command help available \n :return: structure: for return value, see the help for DmsStruct structure arguments. """returnself._core.io.query_struct('SOURce<HwInstance>:CEMulation:DSSimulation:SHIPtoship:TX:COORdinates:DMS?',self.__class__.DmsStruct())
[docs]defset_dms(self,value:DmsStruct)->None:"""SCPI: [SOURce<HW>]:CEMulation:DSSimulation:SHIPtoship:TX:COORdinates:DMS \n Snippet with structure: \n structure = driver.source.cemulation.dsSimulation.shiptoship.tx.coordinates.DmsStruct() \n structure.Longitude_Deg: int = 1 \n structure.Longitude_Min: int = 1 \n structure.Longitude_Sec: int = 1 \n structure.Longitude_Dir: str = 'abc' \n structure.Latitude_Deg: int = 1 \n structure.Latitude_Min: int = 1 \n structure.Latitude_Sec: int = 1 \n structure.Latitude_Dir: str = 'abc' \n driver.source.cemulation.dsSimulation.shiptoship.tx.coordinates.set_dms(value = structure) \n No command help available \n :param value: see the help for DmsStruct structure arguments. """self._core.io.write_struct('SOURce<HwInstance>:CEMulation:DSSimulation:SHIPtoship:TX:COORdinates:DMS',value)
defclone(self)->'CoordinatesCls':"""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=CoordinatesCls(self._core,self._cmd_group.parent)self._cmd_group.synchronize_repcaps(new_group)returnnew_group