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

const deviceParams2 = [
    {
        "deviceCode": "JYJZ00000002",
        "sensors": "频率",
        "deviceType": "加压机组"
    }
]
const Demo = () => {
    return (
        <>
            <div>
                <div style={{height: 700}}>
                    <HistoryView deviceParams={deviceParams2} defaultModel="curve"/>
                </div>
            </div>
        </>
    );
};

export default Demo;