import React from 'react';
import HistoryView from '../index';
import {MobileHistoryChart} from "../mobile";

const deviceParams = [
       {
          deviceCode: 'EGBF00000141',
          // sensors: '进水压力,出水瞬时流量,出水累计流量',
          sensors: '进水压力',
          deviceType: '二供泵房',
          pointAddressID: 208,
        },
    /*    {
            // deviceCode: 'EGBF00000002',
            // deviceCode: 'EGBF00000018',
            // deviceCode: 'XMYL00000345',
            // deviceCode: 'XMYL00000000',
            deviceCode: 'EGBF00000014',
            // sensors: '今日供水量,今日用电量,1#水箱液位,是否在线',
            sensors: '进水压力',
            deviceType: '熊猫压力表',
            pointAddressID: 4,
        },*/
/*        {
          deviceCode: 'EGJZ00000226',
          sensors: '出水压力',
          deviceType: '二供机组',
          pointAddressID: 4,
        },*/
/*    {
        "deviceCode": "LLJ00000055",
        "sensors": "正累计流量,瞬时流量,是否在线",
        "deviceType": "流量计"
    }*/
    /*    {
            "deviceCode": "EGJZ00000163",
            "sensors": "进水压力,是否在线",
            "deviceType": "二供机组"
        }*/
    // 邳州张楼水厂
/*     {
        "deviceCode": "LLJ00000004",
        "sensors": "瞬时流量",
        "deviceType": "流量计"
    } */
];
const Demo = () => {
    return (
        <div>
            <div style={{height: 700}}>
                <HistoryView deviceParams={deviceParams} defaultModel="curve"/>
            </div>
        </div>

    );
};

export default Demo;
