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

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

export default Demo;
