    import Zondy from './Zondy'
    import { defaultValue } from '../util'

    /**
     * 源投影参考系ID，IGS1.0服务参数
     * @class ProjectInfoBySrsID
     * @param {Number} [options.DesSrsID = 610] GDB中对应投影参考的ID值
     * @param {Object} [options.GdbInfo] 所采用投影参考系的GDB信息
     * @param {String} [options.GdbInfo.GDBName = '示例数据'] GDB名称
     * @param {String} [options.GdbInfo.GDBSvrName = 'MapGISLocal'] 数据源名称
     * @param {String} [options.GdbInfo.Password] 地理数据库连接账户密码
     * @param {String} [options.GdbInfo.User] 地理数据库账户
     */
    class ProjectInfoBySrsID {
      constructor(options) {
        this.DesSrsID = defaultValue(610, options.DesSrsID)
        this.GdbInfo = defaultValue(
          {
            GDBName: '示例数据',
            GDBSvrName: 'MapGISLocal',
            Password: '',
            User: ''
          },
          options.DesSrsID
        )
      }
    }

    Zondy.ProjectInfoBySrsID = ProjectInfoBySrsID
    export default ProjectInfoBySrsID