修正deviceManager模块的数据结构

This commit is contained in:
GuanYuankai 2025-10-14 17:47:06 +08:00
parent 9890d33e0b
commit 5d7a396221
5 changed files with 5 additions and 4 deletions

View File

@ -24,7 +24,7 @@ add_library(edge_proxy_lib STATIC
src/network/tcp_server.cc
# --- ---
src/device_manager.cc
src/deviceManager/device_manager.cc
#
src/utils/mqtt_topic_matcher.cpp

View File

@ -24,6 +24,7 @@ RUN apt-get update && \
# 开发库
libssl-dev \
libspdlog-dev \
libsqlite3-dev \
libboost-all-dev && \
\
# --- 用户和组创建 ---

View File

@ -1,4 +1,4 @@
// 文件名: src/device_manager.cc
// 文件名: src/deviceManager/device_manager.cc
#include "device_manager.h"
#include "modbus/modbus_common.h"
#include "spdlog/spdlog.h"

View File

@ -1,4 +1,4 @@
// 文件名: src/device_manager.h
// 文件名: src/deviceManager/device_manager.h
#ifndef DEVICE_MANAGER_H
#define DEVICE_MANAGER_H

View File

@ -5,7 +5,7 @@
#include "mqtt/mqtt_router.h"
#include "systemMonitor/system_monitor.h"
#include "spdlog/spdlog.h"
#include "device_manager.h" // <<< MODIFIED: 包含新的设备管理器头文件
#include "deviceManager/device_manager.h" // <<< MODIFIED: 包含新的设备管理器头文件
#include <boost/asio.hpp>
#include <boost/asio/steady_timer.hpp>