    import WorkFlowServer from './WorkFlowServer'
    import { defaultValue } from '../../../util'
    /**
     * 类缓冲分析（多圈）
     * @class WorkFlowServer600232
     *
     * @extends WorkFlowServer
     * @param {Object} options 构造参数
     * @param {String} [options.url] 工作流基地址,必传
     * @param {String} [options.srcInfo] 源简单要素类的URL,必传,例如:GDBP://mapgislocal/Sample/sfcls/bufferSrc
     * @param {String} [options.desInfo] 目的简单要素类的URL,必传,例如:GDBP://mapgislocal/Sample/sfcls/bufferDes
     * @param {String} [options.idstr] 需要缓冲的要素ID的字符串，以','分隔,例如:2,3,4
     * @param {String} [options.radiusStr] 缓冲半径的字符串，以','分隔,例如:2,4,8,10
     * @param {Number} [options.angleType] 缓冲选项：拐角类型,0:圆头,1:尖头,必传,例如:{"0":"圆头","1":"尖头"}
     * @param {Boolean} [options.isDissolve] 缓冲选项：缓冲区是否合并,必传,例如:{"activeValue":"true","inactiveValue":"false"}
     * @param {Boolean} [options.isDynPrj] 缓冲选项：是否动态投影,必传,例如:{"activeValue":"true","inactiveValue":"false"}
     * @param {Number} [options.color] 颜色(新增),例如:1
     * @param {Boolean} [options.isMultiFeatureOpr] 复合要素操作(新增),必传,例如:{"activeValue":"true","inactiveValue":"false"}
     * @example
        const workFlowServer600232 = new Zondy.Service.WorkFlowServer600232({
          url: "http://localhost:8089/igs/rest/services/workflow/600232/WorkflowServer",
          srcInfo: "gdbp://MapGISLocalPlus/test/sfcls/林地-gs",
          desInfo: "gdbp://MapGISLocalPlus/test/sfcls/林地-gs-buffer" + Math.random(),
          idstr: "",
          radiusStr: "2,4,8,10",
          angleType: 0,
          isDynPrj: false,
          isDissolve: true,
          color: 1,
          isMultiFeatureOpr: false,
        });
        workFlowServer600232.execute({
          method: Zondy.Enum.FetchMethod.get,
          success: function (res) {
            console.log("execute: ", res);
          },
        });
     */
    class WorkFlowServer600232 extends WorkFlowServer {
      constructor(options) {
        super(options)
        const opt = options || {}
        /**
         * @description 工作流基地址,必传
         * @member {String} WorkFlowServer600232.prototype.url
         * */
        this.url = opt.url
        /**
         * @description 600232
         * @member {Number} WorkFlowServer600232.prototype.flowId
         * @readonly
         * */
        this.flowId = 600232
        /**
         * @description 类缓冲分析（多圈）
         * @member {String} WorkFlowServer600232.prototype.description
         * @readonly
         * */
        this.description = '类缓冲分析（多圈）'
        /**
         * @description 缓冲分析
         * @member {String} WorkFlowServer600232.prototype.groupName
         * @readonly
         * */
        this.groupName = '缓冲分析'
        /**
         * @description 源简单要素类的URL,必传,例如:GDBP://mapgislocal/Sample/sfcls/bufferSrc
         * @member {String} WorkFlowServer600232.prototype.srcInfo
         * */
        this.srcInfo = opt.srcInfo
        /**
         * @description 目的简单要素类的URL,必传,例如:GDBP://mapgislocal/Sample/sfcls/bufferDes
         * @member {String} WorkFlowServer600232.prototype.desInfo
         * */
        this.desInfo = opt.desInfo
        /**
         * @description 需要缓冲的要素ID的字符串，以','分隔,例如:2,3,4
         * @member {String} WorkFlowServer600232.prototype.idstr
         * */
        this.idstr = defaultValue(opt.idstr, '')
        /**
         * @description 缓冲半径的字符串，以','分隔,例如:2,4,8,10
         * @member {String} WorkFlowServer600232.prototype.radiusStr
         * */
        this.radiusStr = defaultValue(opt.radiusStr, '')
        /**
         * @description 缓冲选项：拐角类型,0:圆头,1:尖头,必传,例如:{"0":"圆头","1":"尖头"}
         * @member {Number} WorkFlowServer600232.prototype.angleType
         * */
        this.angleType = opt.angleType
        /**
         * @description 缓冲选项：缓冲区是否合并,必传,例如:{"activeValue":"true","inactiveValue":"false"}
         * @member {Boolean} WorkFlowServer600232.prototype.isDissolve
         * */
        this.isDissolve = opt.isDissolve
        /**
         * @description 缓冲选项：是否动态投影,必传,例如:{"activeValue":"true","inactiveValue":"false"}
         * @member {Boolean} WorkFlowServer600232.prototype.isDynPrj
         * */
        this.isDynPrj = opt.isDynPrj
        /**
         * @description 颜色(新增),例如:1
         * @member {Number} WorkFlowServer600232.prototype.color
         * */
        this.color = defaultValue(opt.color, 1)
        /**
         * @description 复合要素操作(新增),必传,例如:{"activeValue":"true","inactiveValue":"false"}
         * @member {Boolean} WorkFlowServer600232.prototype.isMultiFeatureOpr
         * */
        this.isMultiFeatureOpr = opt.isMultiFeatureOpr
      }

      /**
       * @description 获取执行工作流check对象
       * @private
       * @return {Object}
       */
      _getCheckQueryOpts() {
        return {
          srcInfo: {
            required: true,
            type: 'String'
          },
          desInfo: {
            required: true,
            type: 'String'
          },
          idstr: {
            type: 'String'
          },
          radiusStr: {
            type: 'String'
          },
          angleType: {
            required: true,
            type: 'Number'
          },
          isDissolve: {
            required: true,
            type: 'Boolean'
          },
          isDynPrj: {
            required: true,
            type: 'Boolean'
          },
          color: {
            type: 'Number'
          },
          isMultiFeatureOpr: {
            required: true,
            type: 'Boolean'
          }
        }
      }
    }
    export default WorkFlowServer600232