diff --git a/package.json b/package.json index e141282..112ef1a 100644 --- a/package.json +++ b/package.json @@ -71,7 +71,8 @@ "start": "node scripts/start.js", "build": "node scripts/build.js", "server": "node websocket/server.js", - "test": "node scripts/test.js" + "test": "node scripts/test.js", + "ws": "node websocket/server.js" }, "eslintConfig": { "extends": [ diff --git a/src/pages/Home/index.jsx b/src/pages/Home/index.jsx index b95cfa0..47de141 100644 --- a/src/pages/Home/index.jsx +++ b/src/pages/Home/index.jsx @@ -1,13 +1,13 @@ -import LeftBar from "../../components/Modules/Home/LeftSide"; -import BottomBar from "../../components/Modules/Home/Bottom"; -import RightBar from "../../components/Modules/Home/RightSide"; -import CenterTopData from "../../components/Modules/Home/CenterTop"; -import { AnimatePresence, motion } from "framer-motion"; -import KilnCenter from "../../components/Modules/KilnInner/Center"; -import KilnInnerLeft from "../../components/Modules/KilnInner/LeftSide"; -import KilnInnerRight from "../../components/Modules/KilnInner/RightSide"; -import FireCheckLeft from "../../components/Modules/FireCheck/LeftSide"; -import QualityCheckLeft from "../../components/Modules/QualityCheck/LeftSide"; +import LeftBar from "../../components/Modules/Home/LeftSide"; // 窑炉总览 - 左边 +import BottomBar from "../../components/Modules/Home/Bottom"; // 窑炉总览 - 底部4个框 +import RightBar from "../../components/Modules/Home/RightSide"; // 窑炉总览 - 右部 +import CenterTopData from "../../components/Modules/Home/CenterTop"; // 泡界线监控(左上) + 当前生产线规格(右上角) +import { AnimatePresence, motion } from "framer-motion"; // 动画 +import KilnCenter from "../../components/Modules/KilnInner/Center"; // 窑炉内部 +import KilnInnerLeft from "../../components/Modules/KilnInner/LeftSide"; // 窑炉内部左侧内容 +import KilnInnerRight from "../../components/Modules/KilnInner/RightSide"; // 窑炉内部右侧内容 +import FireCheckLeft from "../../components/Modules/FireCheck/LeftSide"; // 退火监测 - 左边 +import QualityCheckLeft from "../../components/Modules/QualityCheck/LeftSide"; // 质检统计 - 左边 import FireCheckRight from "../../components/Modules/FireCheck/RightSide"; import QualityCheckRight from "../../components/Modules/QualityCheck/RightSide"; import { useSelector } from "react-redux";