From 8860b7e63527fad69f15944d340b7158edde1bed Mon Sep 17 00:00:00 2001 From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com> Date: 星期六, 19 七月 2025 16:10:39 +0800 Subject: [PATCH] 1.Define Report功能测试,EAP模拟 --- SourceCode/Bond/EAPSimulator/CHsmsActive.h | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/SourceCode/Bond/EAPSimulator/CHsmsActive.h b/SourceCode/Bond/EAPSimulator/CHsmsActive.h index 759426f..c8bcbeb 100644 --- a/SourceCode/Bond/EAPSimulator/CHsmsActive.h +++ b/SourceCode/Bond/EAPSimulator/CHsmsActive.h @@ -1,7 +1,7 @@ #pragma once #include <string> #include <vector> - +#include <map> typedef std::function<void(void* pFrom, ACTIVESTATE state)> STATECHANGED; typedef struct _ACTIVEListener @@ -45,6 +45,9 @@ // Enable/Disable Alarm Report int hsmsEDAlarmReport(bool bEnable, unsigned int id); + // Define reports + int hsmsDefineReports(std::map<unsigned int, std::vector<unsigned int>>& mapReport); + // 通过的reply函数 void replyAck(int s, int f, unsigned int systemBytes, BYTE ack, const char* pszAckName); -- Gitblit v1.9.3