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

const deviceParams = [
    {
        "deviceCode": "EGBF00000245",
        "sensors": "进水压力,余氯",
        // "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 theme={'BI'} deviceParams={deviceParams} defaultModel="curve"/>*/}
                </div>
            </div>
        </>
    );
};

export default Demo;
