修正deviceManager模块的数据结构
This commit is contained in:
parent
9890d33e0b
commit
5d7a396221
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@ RUN apt-get update && \
|
|||
# 开发库
|
||||
libssl-dev \
|
||||
libspdlog-dev \
|
||||
libsqlite3-dev \
|
||||
libboost-all-dev && \
|
||||
\
|
||||
# --- 用户和组创建 ---
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
// 文件名: src/device_manager.h
|
||||
// 文件名: src/deviceManager/device_manager.h
|
||||
#ifndef DEVICE_MANAGER_H
|
||||
#define DEVICE_MANAGER_H
|
||||
|
||||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue