log0.1
This commit is contained in:
@@ -7,6 +7,13 @@ class CoreService : public QObject {
|
||||
|
||||
public:
|
||||
static CoreService* instance();
|
||||
enum Role {
|
||||
CoreRouter, // 核心路由器,负责设备发现、连接管理和数据转发
|
||||
Collector, // 数据收集器,负责从设备收集数据
|
||||
CollectorSerial, // 串口数据收集器
|
||||
CollectorCan, // CAN总线数据收集器
|
||||
SqlServer, // SQL服务器,负责存储设备数据
|
||||
};
|
||||
|
||||
bool initialize();
|
||||
void shutdown();
|
||||
|
||||
Reference in New Issue
Block a user