import WorkFlowServer from './WorkFlowServer'
/**
* 三维体对象空间关系判定
* @class WorkFlowServer600368
*
* @extends WorkFlowServer
* @param {Object} options 构造参数
* @param {String} [options.url] 工作流基地址,必传
* @param {String} [options.srcInfo1] 三维体对象简单要素类1的URL,必传,例如:GDBP://MapGISLocal/Sample/sfcls/g3dSpatialRelDetermine1
* @param {String} [options.srcInfo2] 三维体对象简单要素类2的URL,必传,例如:GDBP://MapGISLocal/Sample/sfcls/g3dSpatialRelDetermine2
* @param {String} [options.FID1] 三维体对象简单要素类1的参与空间关系判定的要素ID,必传,例如:1
* @param {String} [options.FID2] 三维体对象简单要素类2的参与空间关系判定的要素ID,必传,例如:2
* @example
const workFlowServer600368 = WorkFlowServer.createWorkFlow({
url: "http://localhost:8089/igs/rest/services/workflow/600368/WorkflowServer",
srcInfo1: "gdbp://MapGISLocalPlus/sample/ds/矢量校正/sfcls/标准_3d",
srcInfo2: "gdbp://MapGISLocalPlus/sample/ds/矢量校正/sfcls/河流_3d",
FID1: "1",
FID2: "1",
});
workFlowServer600368.execute({
method: Zondy.Enum.FetchMethod.get,
success: function (res) {
console.log("execute: ", res);
},
});
*/
class WorkFlowServer600368 extends WorkFlowServer {
constructor(options) {
super(options)
const opt = options || {}
/**
* @description 工作流基地址,必传
* @member {String} WorkFlowServer600368.prototype.url
* */
this.url = opt.url
/**
* @description 600368
* @member {Number} WorkFlowServer600368.prototype.flowId
* @readonly
* */
this.flowId = 600368
/**
* @description 三维体对象空间关系判定
* @member {String} WorkFlowServer600368.prototype.description
* @readonly
* */
this.description = '三维体对象空间关系判定'
/**
* @description 三维分析
* @member {String} WorkFlowServer600368.prototype.groupName
* @readonly
* */
this.groupName = '三维分析'
/**
* @description 三维体对象简单要素类1的URL,必传,例如:GDBP://MapGISLocal/Sample/sfcls/g3dSpatialRelDetermine1
* @member {String} WorkFlowServer600368.prototype.srcInfo1
* */
this.srcInfo1 = opt.srcInfo1
/**
* @description 三维体对象简单要素类2的URL,必传,例如:GDBP://MapGISLocal/Sample/sfcls/g3dSpatialRelDetermine2
* @member {String} WorkFlowServer600368.prototype.srcInfo2
* */
this.srcInfo2 = opt.srcInfo2
/**
* @description 三维体对象简单要素类1的参与空间关系判定的要素ID,必传,例如:1
* @member {String} WorkFlowServer600368.prototype.FID1
* */
this.FID1 = opt.FID1
/**
* @description 三维体对象简单要素类2的参与空间关系判定的要素ID,必传,例如:2
* @member {String} WorkFlowServer600368.prototype.FID2
* */
this.FID2 = opt.FID2
}
/**
* @description 获取执行工作流check对象
* @private
* @return {Object}
*/
_getCheckQueryOpts() {
return {
srcInfo1: {
required: true,
type: 'String'
},
srcInfo2: {
required: true,
type: 'String'
},
FID1: {
required: true,
type: 'String'
},
FID2: {
required: true,
type: 'String'
}
}
}
}
export default WorkFlowServer600368