当前位置: 首页>>代码示例>>Python>>正文


Python EDPluginISPyBv1_4.EDPluginISPyBv1_4类代码示例

本文整理汇总了Python中EDPluginISPyBv1_4.EDPluginISPyBv1_4的典型用法代码示例。如果您正苦于以下问题:Python EDPluginISPyBv1_4类的具体用法?Python EDPluginISPyBv1_4怎么用?Python EDPluginISPyBv1_4使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了EDPluginISPyBv1_4类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: process

    def process(self, _edObject=None):
        """
        Uses ToolsForCollectionWebService for storing the workflow status
        """
        EDPluginISPyBv1_4.process(self)
        self.DEBUG("EDPluginISPyBStoreGridInfov1_4.process")
        # First get the image ID
        xsDataInputGridInfo = self.getDataInput()

        httpAuthenticatedToolsForCollectionWebService = HttpAuthenticated(username=self.strUserName, password=self.strPassWord)
        clientToolsForCollectionWebService = Client(self.strToolsForCollectionWebServiceWsdl,
                                                    transport=httpAuthenticatedToolsForCollectionWebService,
                                                    cache=None)
        gridInfoWS3VO = clientToolsForCollectionWebService.factory.create('gridInfoWS3VO')
        gridInfoWS3VO.gridInfoId = self.getXSValue(xsDataInputGridInfo.gridInfoId)
        gridInfoWS3VO.workflowMeshId = self.getXSValue(xsDataInputGridInfo.workflowMeshId)
        gridInfoWS3VO.dx_mm = self.getXSValue(xsDataInputGridInfo.dx_mm)
        gridInfoWS3VO.dy_mm = self.getXSValue(xsDataInputGridInfo.dy_mm)
        gridInfoWS3VO.xOffset = self.getXSValue(xsDataInputGridInfo.xOffset)
        gridInfoWS3VO.yOffset = self.getXSValue(xsDataInputGridInfo.yOffset)
        gridInfoWS3VO.steps_x = self.getXSValue(xsDataInputGridInfo.steps_x)
        gridInfoWS3VO.steps_y = self.getXSValue(xsDataInputGridInfo.steps_y)
        gridInfoWS3VO.meshAngle = self.getXSValue(xsDataInputGridInfo.meshAngle)
#        print gridInfoWS3VO
        self.iGridInfoId = clientToolsForCollectionWebService.service.storeOrUpdateGridInfo(gridInfoWS3VO)
        self.DEBUG("EDPluginISPyBStoreGridInfov1_4.process: WorkflowId=%d" % self.iGridInfoId)
开发者ID:IvarsKarpics,项目名称:edna-mx,代码行数:26,代码来源:EDPluginISPyBStoreGridInfov1_4.py

示例2: __init__

 def __init__(self):
     """
     Sets default values for dbserver parameters 
     """
     EDPluginISPyBv1_4.__init__(self)
     self.setXSDataInputClass(XSDataInputISPyBSetImagesPositions)
     self.listImageCreation = []
开发者ID:IvarsKarpics,项目名称:edna-mx,代码行数:7,代码来源:EDPluginISPyBSetImagesPositionsv1_4.py

示例3: finallyProcess

 def finallyProcess(self, _edObject=None):
     EDPluginISPyBv1_4.finallyProcess(self)
     self.DEBUG("EDPluginISPyBUpdateDataCollectionGroupWorkflowIdv1_4.finallyProcess")
     xsDataResultISPyBUpdateDataCollectionGroupWorkflowId = XSDataResultISPyBUpdateDataCollectionGroupWorkflowId()
     if self.iDataCollectionGroupId is not None:
         xsDataResultISPyBUpdateDataCollectionGroupWorkflowId.dataCollectionGroupId = XSDataInteger(self.iDataCollectionGroupId)
     self.setDataOutput(xsDataResultISPyBUpdateDataCollectionGroupWorkflowId)
开发者ID:IvarsKarpics,项目名称:edna-mx,代码行数:7,代码来源:EDPluginISPyBUpdateDataCollectionGroupWorkflowIdv1_4.py

示例4: __init__

 def __init__(self):
     """
     Sets default values for dbserver parameters 
     """
     EDPluginISPyBv1_4.__init__(self)
     self.setXSDataInputClass(XSDataInputRetrieveDataCollection)
     self.collectParameters = None
开发者ID:IvarsKarpics,项目名称:edna-mx,代码行数:7,代码来源:EDPluginISPyBRetrieveDataCollectionv1_4.py

示例5: configure

 def configure(self):
     """
     Gets the web servise wdsl parameters from the config file and stores them in class member attributes.
     """
     EDPluginISPyBv1_4.configure(self,
                                 _bRequireToolsForCollectionWebServiceWsdl=True,
                                 _bRequireToolsForAutoprocessingWebServiceWsdl=True)
开发者ID:IvarsKarpics,项目名称:edna-mx,代码行数:7,代码来源:EDPluginISPyBStoreListOfImageQualityIndicatorsv1_4.py

示例6: __init__

 def __init__(self):
     """
     Sets default values for dbserver parameters 
     """
     EDPluginISPyBv1_4.__init__(self)
     self.setXSDataInputClass(XSDataInputStoreDataCollection)
     self.bContinue = True
开发者ID:IvarsKarpics,项目名称:edna-mx,代码行数:7,代码来源:EDPluginISPyBStoreDataCollectionv1_4.py

示例7: finallyProcess

 def finallyProcess(self, _edObject=None):
     EDPluginISPyBv1_4.finallyProcess(self)
     self.DEBUG("EDPluginISPyBStoreListOfImageQualityIndicatorsv1_4.finallyProcess")
     xsDataResultStoreListOfImageQualityIndicators = XSDataResultStoreListOfImageQualityIndicators()
     for iImageQualityIndicatorsId in self.listImageQualityIndicatorsId:
         xsDataResultStoreListOfImageQualityIndicators.addImageQualityIndicatorsId(XSDataInteger(iImageQualityIndicatorsId))
     self.setDataOutput(xsDataResultStoreListOfImageQualityIndicators)
开发者ID:IvarsKarpics,项目名称:edna-mx,代码行数:7,代码来源:EDPluginISPyBStoreListOfImageQualityIndicatorsv1_4.py

示例8: process

 def process(self, _edObject=None):
     """
     Uses ToolsForCollectionWebService 
     """
     EDPluginISPyBv1_4.process(self)
     self.DEBUG("EDPluginISPyBSetImagesPositionsv1_4.process")
     httpAuthenticatedToolsForCollectionWebService = HttpAuthenticated(username=self.strUserName, password=self.strPassWord)
     clientToolsForCollectionWebService = Client(self.strToolsForCollectionWebServiceWsdl,
                                                 transport=httpAuthenticatedToolsForCollectionWebService,
                                                 cache=None)
     # Loop over all positions
     listImagePosition = []
     for xsDataImagePosition in self.dataInput.imagePosition:
         imagePosition = clientToolsForCollectionWebService.factory.create('imagePosition')
         # Get the workflow ID and status
         imagePosition.fileName = os.path.basename(xsDataImagePosition.fileName.path.value)
         imagePosition.fileLocation = os.path.dirname(xsDataImagePosition.fileName.path.value)
         if xsDataImagePosition.jpegFileFullPath is not None:
             imagePosition.jpegFileFullPath = xsDataImagePosition.jpegFileFullPath.path.value
         if xsDataImagePosition.jpegThumbnailFileFullPath is not None:
             imagePosition.jpegThumbnailFileFullPath = xsDataImagePosition.jpegThumbnailFileFullPath.path.value
         listImagePosition.append(imagePosition)
     self.listImageCreation = clientToolsForCollectionWebService.service.setImagesPositions(
                                 listImagePosition=listImagePosition)
     self.DEBUG("EDPluginISPyBSetImagesPositionsv1_4.process: listImageCreation=%r" % self.listImageCreation)
开发者ID:IvarsKarpics,项目名称:edna-mx,代码行数:25,代码来源:EDPluginISPyBSetImagesPositionsv1_4.py

示例9: finallyProcess

 def finallyProcess(self, _edObject=None):
     EDPluginISPyBv1_4.finallyProcess(self)
     self.DEBUG("EDPluginISPyBStoreGridInfov1_4.finallyProcess")
     xsDataResultISPyBStoreGridInfo = XSDataResultISPyBStoreGridInfo()
     if self.iGridInfoId is not None:
         xsDataResultISPyBStoreGridInfo.gridInfoId = XSDataInteger(self.iGridInfoId)
     self.setDataOutput(xsDataResultISPyBStoreGridInfo)
开发者ID:IvarsKarpics,项目名称:edna-mx,代码行数:7,代码来源:EDPluginISPyBStoreGridInfov1_4.py

示例10: process

    def process(self, _edObject=None):
        """
        Uses ToolsForCollectionWebService for storing the workflow status
        """
        EDPluginISPyBv1_4.process(self)
        self.DEBUG("EDPluginISPyBStoreWorkflowMeshv1_4.process")
        # First get the image ID
        xsDataInputWorkflowMesh = self.getDataInput()

        httpAuthenticatedToolsForCollectionWebService = HttpAuthenticated(username=self.strUserName, password=self.strPassWord)
        clientToolsForCollectionWebService = Client(self.strToolsForCollectionWebServiceWsdl,
                                                    transport=httpAuthenticatedToolsForCollectionWebService,
                                                    cache=None)
        workflowMeshWS3VO = clientToolsForCollectionWebService.factory.create('workflowMeshWS3VO')
        workflowMeshWS3VO.workflowId = self.getXSValue(xsDataInputWorkflowMesh.workflowId)
        workflowMeshWS3VO.bestPositionId = self.getXSValue(xsDataInputWorkflowMesh.bestPositionId)
        workflowMeshWS3VO.bestImageId = self.getXSValue(xsDataInputWorkflowMesh.bestImageId)
        workflowMeshWS3VO.value1 = self.getXSValue(xsDataInputWorkflowMesh.value1)
        workflowMeshWS3VO.value2 = self.getXSValue(xsDataInputWorkflowMesh.value2)
        workflowMeshWS3VO.value3 = self.getXSValue(xsDataInputWorkflowMesh.value3)
        workflowMeshWS3VO.value4 = self.getXSValue(xsDataInputWorkflowMesh.value4)
        workflowMeshWS3VO.cartographyPath = self.getXSValue(xsDataInputWorkflowMesh.cartographyPath)
#        print workflowMeshWS3VO
        self.iWorkflowMeshId = clientToolsForCollectionWebService.service.storeOrUpdateWorkflowMesh(workflowMeshWS3VO)
        self.DEBUG("EDPluginISPyBStoreWorkflowMeshv1_4.process: WorkflowId=%d" % self.iWorkflowMeshId)
开发者ID:IvarsKarpics,项目名称:edna-mx,代码行数:25,代码来源:EDPluginISPyBStoreWorkflowMeshv1_4.py

示例11: __init__

 def __init__(self):
     """
     Sets default values for dbserver parameters 
     """
     EDPluginISPyBv1_4.__init__(self)
     self.setXSDataInputClass(XSDataInputISPyBSetBestWilsonPlotPath)
     self.dataCollectionId = None
开发者ID:IvarsKarpics,项目名称:edna-mx,代码行数:7,代码来源:EDPluginISPyBSetBestWilsonPlotPathv1_4.py

示例12: __init__

 def __init__(self):
     """
     Sets default values for dbserver parameters 
     """
     EDPluginISPyBv1_4.__init__(self)
     self.setXSDataInputClass(XSDataInputISPyBSetImageQualityIndicatorsPlot)
     self.dataCollectionId = None
开发者ID:IvarsKarpics,项目名称:edna-mx,代码行数:7,代码来源:EDPluginISPyBSetImageQualityIndicatorsPlotv1_4.py

示例13: finallyProcess

 def finallyProcess(self, _edObject=None):
     EDPluginISPyBv1_4.finallyProcess(self)
     self.DEBUG("EDPluginISPyBSetDataCollectionsPositionsv1_4.finallyProcess")
     xsDataResultISPyBSetDataCollectionsPositions = XSDataResultISPyBSetDataCollectionsPositions()
     for dataCollectionId in self.listDataCollectionId:
         xsDataResultISPyBSetDataCollectionsPositions.addDataCollectionId(XSDataInteger(dataCollectionId))
     self.setDataOutput(xsDataResultISPyBSetDataCollectionsPositions)
开发者ID:IvarsKarpics,项目名称:edna-mx,代码行数:7,代码来源:EDPluginISPyBSetDataCollectionsPositionsv1_4.py

示例14: __init__

 def __init__(self):
     """
     Sets default values for dbserver parameters 
     """
     EDPluginISPyBv1_4.__init__(self)
     self.setXSDataInputClass(XSDataInputISPyBStoreMotorPosition)
     self.motorPositionId = None
开发者ID:IvarsKarpics,项目名称:edna-mx,代码行数:7,代码来源:EDPluginISPyBStoreMotorPositionv1_4.py

示例15: process

    def process(self, _edObject=None):
        """
        Uses ToolsForCollectionWebService for storing the workflow status
        """
        EDPluginISPyBv1_4.process(self)
        self.DEBUG("EDPluginISPyBStoreWorkflowv1_4.process")
        # First get the image ID
        xsDataWorkflow = self.getDataInput().getWorkflow()

        httpAuthenticatedToolsForCollectionWebService = HttpAuthenticated(username=self.strUserName, password=self.strPassWord)
        clientToolsForCollectionWebService = Client(self.strToolsForCollectionWebServiceWsdl,
                                                    transport=httpAuthenticatedToolsForCollectionWebService,
                                                    cache=None)
        workflow3VO = clientToolsForCollectionWebService.factory.create('workflow3VO')
        workflow3VO.comments = self.getXSValue(xsDataWorkflow.comments)
        workflow3VO.logFilePath = self.getXSValue(xsDataWorkflow.logFilePath)
        workflow3VO.recordTimeStamp = self.getDateValue(xsDataWorkflow.recordTimeStamp, "%a %b %d %H:%M:%S %Y", DateTime(datetime.datetime.now()))
        workflow3VO.resultFilePath = self.getXSValue(xsDataWorkflow.resultFilePath)
        workflow3VO.status = self.getXSValue(xsDataWorkflow.status)
        workflow3VO.workflowId = self.getXSValue(xsDataWorkflow.workflowId)
        workflow3VO.workflowTitle = self.getXSValue(xsDataWorkflow.workflowTitle)
        workflow3VO.workflowType = self.getXSValue(xsDataWorkflow.workflowType)
#        print workflow3VO
        self.iWorkflowId = clientToolsForCollectionWebService.service.storeOrUpdateWorkflow(workflow3VO)
        self.DEBUG("EDPluginISPyBStoreWorkflowv1_4.process: WorkflowId=%d" % self.iWorkflowId)
开发者ID:IvarsKarpics,项目名称:edna-mx,代码行数:25,代码来源:EDPluginISPyBStoreWorkflowv1_4.py


注:本文中的EDPluginISPyBv1_4.EDPluginISPyBv1_4类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。