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

const deviceParams = [
    /*    {
            "deviceCode": "EGBF00000022",
            "sensors": "出水瞬时流量,今日用电量,余氯",
            "deviceType": "二供泵房"
        }*/
    {
        "deviceCode": "SZJCY00000006",
        "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;
