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

const deviceParams = [
  {
    deviceCode: 'EGBF00000082',
    sensors: '进水压力',
    // sensors: '出水瞬时流量',
    // sensors: '出水累计流量',
    // sensors: '进水压力,出水瞬时流量,出水累计流量',
    deviceType: '二供泵房',
    pointAddressID: 4,
  },
/*  {
    deviceCode: 'EGBF00000083',
    sensors: '出水瞬时流量,出水压力,泵1状态',
    deviceType: '二供机组',
    pointAddressID: 4,
  },*/
  // {
  //   deviceCode: 'EGJZ00001113',
  //   sensors: '出水压力',
  //   deviceType: '二供机组',
  //   pointAddressID: 4,
  // },
];
const Demo = () => {
  return (
    <div style={{ height: 700 }}>
      <HistoryView deviceParams={deviceParams} defaultModel="curve" />
    </div>
  );
};

export default Demo;
