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

const deviceParams = [
/*     {
        "deviceCode": "EGBF00000023",
        "sensors": "出水压力",
        "deviceType": "二供泵房"
    }, */
    {
        "deviceCode": "EGBF00000023",
        "sensors": "出水瞬时流量,出水压力",
        "deviceType": "二供泵房"
    }
]
const Demo = () => {
    return (
        <>
            <div>
                <div style={{height: 700}}>
                     <HistoryView deviceParams={deviceParams} defaultModel="curve" />
                    {/*<HistoryView theme={'BI'} deviceParams={deviceParams} defaultModel="curve"/>*/}
                </div>
            </div>
        </>
    );
};

export default Demo;
