import React from 'react';
import HistoryView from '../index';

const deviceParams = [
  {
    deviceCode: 'EGBF00000136',
    sensors: '进水压力,出水瞬时流量,出水累计流量',
    deviceType: '二供泵房',
    pointAddressID: 4,
  },
  {
    deviceCode: 'EGBF00000137',
    sensors: '进水压力,出水瞬时流量,出水累计流量',
    deviceType: '二供泵房',
    pointAddressID: 4,
  },
  {
    // deviceCode: 'EGBF00000002',
    deviceCode: 'EGBF00000135',
    sensors: '进水压力,出水瞬时流量,出水累计流量',
    deviceType: '二供泵房',
    pointAddressID: 4,
  },
];
/*const deviceParams = [
  {
    "deviceCode": "LLJ00000055",
    "sensors": "瞬时流量,正累计流量,是否在线",
    "deviceType": "流量计"
  },
  {
    "deviceCode": "LLJ00000056",
    "sensors": "瞬时流量,正累计流量,是否在线",
    "deviceType": "流量计"
  }
]*/
/*const deviceParams = [
  {
    "deviceCode": "EGBF00000023",
    "sensors": "出水瞬时流量,是否在线",
    "deviceType": "二供泵房"
  },
  {
    "deviceCode": "EGBF00000019",
    "sensors": "出水瞬时流量,是否在线",
    "deviceType": "二供泵房"
  }
]*/
/*const deviceParams = [
  {
    "deviceCode": "QSSSC00000001",
    "sensors": "出水瞬时流量,是否在线",
    "deviceType": "确山送水厂"
  },
  {
    "deviceCode": "EGBF00000019",
    "sensors": "出水瞬时流量,是否在线",
    "deviceType": "二供泵房"
  }
]*/
const Demo = () => {
  return <div style={{ height: 700 }}>
    <HistoryView deviceParams={deviceParams} grid />
  </div>;
};

export default Demo;
