GridDemo.js 760 Bytes
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 Demo = () => {
  return <div style={{ height: 700 }}>{/*<HistoryView deviceParams={deviceParams} grid />*/}</div>;
};

export default Demo;