增加了解析上位机指令的功能

This commit is contained in:
zjk
2025-02-18 23:01:29 +08:00
parent 7dac85505b
commit 14f7890d77
9 changed files with 132 additions and 39 deletions
+4
View File
@@ -10,10 +10,14 @@
#include <thread>
#include <mutex>
#include "../pPowerManger/SQLiteDB.h"
#include "../pPowerManger/pmSysvariable.h"
#include <MOOS/libMOOS/Comms/MOOSAsyncCommClient.h>
using namespace std;
// 定义一个全局变量,用于存储状态信息
ccuState ccustate;
// 读取 HTML 文件内容
string read_file(const string& path) {
ifstream file(path);