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

const deviceParams = [
  // {
  //   deviceCode: 'EGBF00000146',
  //   sensors: '进水压力,出水瞬时流量,出水累计流量',
  //   deviceType: '二供泵房',
  //   pointAddressID: 4,
  // },
  {
    // deviceCode: 'EGBF00000002',
    // deviceCode: 'EGBF00000018',
    deviceCode: 'XMYL00000345',
    // deviceCode: 'EGBF00000014',
    // sensors: '今日供水量,今日用电量,1#水箱液位,是否在线',
    sensors: '进水压力',
    deviceType: '熊猫压力表',
    pointAddressID: 4,
  },
  // {
  //   deviceCode: 'EGJZ00001113',
  //   sensors: '出水压力',
  //   deviceType: '二供机组',
  //   pointAddressID: 4,
  // },
];
const Demo = () => {
  return (
    <div style={{ height: 700 }}>
      <HistoryView deviceParams={deviceParams} defaultModel="table" />
    </div>
  );
};

export default Demo;
