From 2ef5fd92acad5333f3be98a5622cb28ccc22b51e Mon Sep 17 00:00:00 2001 From: zhaojingkui <1553836110@qq.com> Date: Sat, 12 Jul 2025 15:39:28 +0800 Subject: [PATCH] =?UTF-8?q?0712=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/templates/index.html | 66 + src/pPMtest/PMtest.cpp | 4 +- src/pPMtest/PMtest.h | 2 +- src/pPowerManger/PowerManger.cpp | 1 + src/pPowerManger/PowerManger.h | 2 + src/pPowerManger/UpperCommManager.cpp | 18 +- src/pPowerManger/UpperCommManager.h | 2 +- src/pPowerManger/fsm/CruiseMode.cpp | 49 +- src/pPowerManger/fsm/DJMode.cpp | 56 + src/pPowerManger/fsm/FaultState.cpp | 13 +- src/pPowerManger/fsm/FloatAdjust.cpp | 7 +- src/pPowerManger/fsm/FloatDown.cpp | 8 +- src/pPowerManger/fsm/HighSpeedMode.cpp | 2 + src/pPowerManger/fsm/PowerManagerFsm.cpp | 987 ++++++++- src/pPowerManger/fsm/PowerManagerFsm.hpp | 49 +- src/pPowerManger/fsm/ShoreBasedReady.cpp | 70 +- src/pPowerManger/fsm/StandbyState.cpp | 41 - src/pPowerManger/fsm/SurfaceSurvey.cpp | 2 + src/pPowerManger/fsm/UnderwaterSurvey.cpp | 2 + src/pPowerManger/fsm/WaterBasedReady.cpp | 39 +- src/pPowerManger/httpserver/httpserver.cpp | 27 + src/pPowerManger/httpserver/index.h | 106 +- src/pPowerManger/pmSysvariable.h | 20 +- src/pPowerManger/systemData.h | 42 + src/pPowerManger/udpcomm/udpComm.cpp | 161 +- src/pPowerManger/udpcomm/udpComm.h | 36 +- src/pPowerManger/upmsg/uDevice_secdistState.h | 43 +- src/pPowerManger/upmsg/uPlan_planStop.h | 4 +- src/pPowerManger/upmsg/uPower_equState.h | 2 +- src/pPowerManger/upmsg/uPower_pmState.h | 13 +- test/disSysTest/PowerManagerApp copy.py | 1836 +++++++++++++++++ test/disSysTest/PowerManagerApp.py | 349 ++-- 32 files changed, 3601 insertions(+), 458 deletions(-) create mode 100644 test/disSysTest/PowerManagerApp copy.py diff --git a/bin/templates/index.html b/bin/templates/index.html index 11b024e..011b792 100644 --- a/bin/templates/index.html +++ b/bin/templates/index.html @@ -129,6 +129,72 @@
正在加载...
+
+

DC/DC模块状态

+
+
+ DC/DC模块过温关机: + - +
+
+ 输出过流: + - +
+
+ 输出过压: + - +
+
+ 输出欠压: + - +
+
+ 输入过压: + - +
+
+ 输入欠压: + - +
+
+ 输出短路保护: + - +
+
+ 内部故障: + - +
+
+ 通讯故障报警: + - +
+
+ 工作状态: + - +
+
+ 冷却泵1故障: + - +
+
+ 冷却泵2故障: + - +
+
+ 冷却水泄露: + - +
+
+ 冷却泵1运行状态: + - +
+
+ 冷却泵2运行状态: + - +
+
+
+