|
|
@@ -1,10 +1,9 @@ |
|
|
|
// 风机运行频率 |
|
|
|
import cls from './index.module.css'; |
|
|
|
import BottomBarItem from '../BottomItemBackground'; |
|
|
|
import ReactECharts from 'echarts-for-react'; |
|
|
|
import * as echarts from 'echarts'; |
|
|
|
import { randomInt } from '../../../utils'; |
|
|
|
import { Switch } from 'antd'; |
|
|
|
import GraphBase from '../../公共组件/GraphBase'; |
|
|
|
import { useState, useContext } from 'react'; |
|
|
|
import SocketContext from '../../../store/socket-data-provider'; |
|
|
|
|
|
|
@@ -163,12 +162,7 @@ function WindFrequence(props) { |
|
|
|
} |
|
|
|
} |
|
|
|
return ( |
|
|
|
<BottomBarItem |
|
|
|
icon="pause" |
|
|
|
title="风机运行频率" |
|
|
|
className={cls.relative} |
|
|
|
style={props.style} |
|
|
|
> |
|
|
|
<GraphBase icon="kiln" title="风机运行频率" size={['middle', 'long']}> |
|
|
|
<div className={cls.headWidget}> |
|
|
|
<div className="flex items-center"> |
|
|
|
<Switch size="small" defaultChecked onChange={handleSwitchChange} /> |
|
|
@@ -191,7 +185,7 @@ function WindFrequence(props) { |
|
|
|
</div> |
|
|
|
)} |
|
|
|
</div> |
|
|
|
</BottomBarItem> |
|
|
|
</GraphBase> |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|