const deviceTypeList = [
  {
    'name': '井盖状态检测仪',
    'value': '10'
  },
  {
    'name': '液位检测仪',
    'value': '11'
  },
  {
    'name': '有害气体检测仪',
    'value': '12'
  },
  {
    'name': '燃气智能检测终端',
    'value': '13'
  },
  {
    'name': '温湿度检测仪',
    'value': '14'
  },
  {
    'name': '开挖检测仪',
    'value': '15'
  },
  {
    'name': '井盖定位检测仪',
    'value': '16'
  },
  {
    'name': '噪声记录仪',
    'value': '17'
  },
  {
    'name': '燃气智能检测终端(一体化)',
    'value': '18'
  },
  {
    'name': '管盯',
    'value': '19'
  }
]
const deviceTableList = [
  {
    'id': '112343243242341',
    'modelName': '井盖状态检测仪',
    'deviceType': '设备类型主键',
    'deviceTypeName': '检测井盖状态',
    'communication': '3G,4G'
  },
  {
    'id': '112343243249864',
    'modelName': '井盖状态检测仪',
    'deviceType': '设备类型主键',
    'deviceTypeName': '检测井盖状态',
    'communication': '4G'
  },
  {
    'id': '119983243249864',
    'modelName': '井盖状态检测仪',
    'deviceType': '设备类型主键',
    'deviceTypeName': '检测井盖状态',
    'communication': '联通移动NB'
  }
]
module.exports = [
  // mock get all routes form server
  {
    url: '/device/type',
    type: 'get',
    response: _ => {
      return {
        code: 200,
        data: deviceTypeList,
        message: '请求成功',
        success: true
      }
    }
  },
  {
    url: '/deviceModels/list',
    type: 'get',
    response: _ => {
      return {
        code: 200,
        data: deviceTableList,
        message: '请求成功',
        success: true
      }
    }
  }
]
