indexForFrequency.js 483 Bytes
Newer Older
1 2 3 4 5
import React from 'react';
import HistoryView from '../index';

const deviceParams2 = [
    {
6 7 8
        "deviceCode": "JYJZ00000002",
        "sensors": "频率",
        "deviceType": "加压机组"
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
    }
]
const Demo = () => {
    return (
        <>
            <div>
                <div style={{height: 700}}>
                    <HistoryView deviceParams={deviceParams2} defaultModel="curve"/>
                </div>
            </div>
        </>
    );
};

export default Demo;