const alarmRuleList = [
  {
    'devCode': '4324324234',
    'highValue': '123',
    'lowValue': '10',
    'overTime': '2021/12/20 17:23:13',
    'saltaTion': '22',
    'sensorCode': 'fd2131213',
    'grade': '一级报警',
    'ts': '2021/12/20 13:23:13',
    'openAtor': '张三'
  },
  {
    'devCode': '1564324234',
    'highValue': '100',
    'lowValue': '20',
    'overTime': '2021/12/20 11:23:13',
    'saltaTion': '22',
    'sensorCode': 'fd2131213',
    'grade': '二级报警',
    'ts': '2021/12/20 10:23:13',
    'openAtor': '李四'
  }

]
module.exports = [
  // mock get all routes form server
  {
    url: '/alarmRule/list',
    type: 'get',
    response: _ => {
      return {
        code: 200,
        data: alarmRuleList,
        message: '请求成功',
        success: true
      }
    }
  }
]
