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

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

export default Demo;
