From 247a2a9a9f3d699df42a009bf124d3b536ad6b37 Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期五, 25 七月 2025 14:23:55 +0800
Subject: [PATCH] 1.Master端,Line Event Report功能修改完善,并通过EAP模拟测试OK;
---
SourceCode/Bond/EAPSimulator/CCollectionEvent.h | 33 +++++++++++++++++++++++++++++++++
1 files changed, 33 insertions(+), 0 deletions(-)
diff --git a/SourceCode/Bond/EAPSimulator/CCollectionEvent.h b/SourceCode/Bond/EAPSimulator/CCollectionEvent.h
new file mode 100644
index 0000000..bfb6418
--- /dev/null
+++ b/SourceCode/Bond/EAPSimulator/CCollectionEvent.h
@@ -0,0 +1,33 @@
+#pragma once
+#include "CReport.h"
+#include <vector>
+
+
+namespace SERVO {
+ class CCollectionEvent
+ {
+ public:
+ CCollectionEvent();
+ CCollectionEvent(unsigned int id, const char* pszName, const char* pszDescription, std::vector<unsigned int>& prtids);
+ virtual ~CCollectionEvent();
+
+ public:
+ unsigned int getEventId();
+ std::string& getName();
+ std::string& getDescription();
+ std::vector<CReport*>& getReports();
+ std::vector<unsigned int>& getReportIds();
+ std::string getReportIdsText();
+ BOOL addReport(CReport* pReport);
+ BOOL deleteReport(unsigned int nReportId);
+ CReport* getReport(unsigned int nReportId);
+ void setReport(unsigned int nReportId);
+
+ private:
+ unsigned int m_nCEID;
+ std::string m_strName;
+ std::string m_strDescription;
+ std::vector<unsigned int> m_rptids;
+ std::vector<CReport*> m_reports;
+ };
+}
--
Gitblit v1.9.3