This commit is contained in:
lb
2023-12-07 09:56:21 +08:00
parent d4a4e82aa6
commit 9f51f2b3cb
14 changed files with 150 additions and 383 deletions

View File

@@ -41,23 +41,9 @@ import { useSelector, useDispatch } from "react-redux";
/** 助燃风流量 */
function GasI(props) {
const [showChart, setShowChart] = useState(true);
// const dispath = useDispatch();
const runState = useSelector((state) => state.combustionAir.runtime);
const hisState = useSelector((state) => state.combustionAir.history);
// useEffect(() => {
// setInterval(() => {
// dispath({
// type: "combustionAir/setRuntime",
// payload: mockData("runtime"),
// });
// dispath({
// type: "combustionAir/setHistory",
// payload: mockData("history"),
// });
// }, 60000);
// }, [dispath]);
let dataList = [];
let seriesData = [];
const colors = [