增加了解析上位机指令的功能
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user