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

const deviceParams2 = [
    {
        "deviceCode": "EGJZ00000319",
        // "sensors": "进水压力,出水压力,泵1状态",
        // "sensors": "进水压力",
        "sensors": "泵1状态",
        "deviceType": "二供机组"
    }
]
const Demo = () => {
    return (
        <>
            <div>
                <div style={{height: 700}}>
                    <HistoryView deviceParams={deviceParams2} defaultModel="curve"/>
                </div>
            </div>
        </>
    );
};

export default Demo;