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/CReport.h | 28 ++++++++++++++++++++++++++++
1 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/SourceCode/Bond/EAPSimulator/CReport.h b/SourceCode/Bond/EAPSimulator/CReport.h
new file mode 100644
index 0000000..191d539
--- /dev/null
+++ b/SourceCode/Bond/EAPSimulator/CReport.h
@@ -0,0 +1,28 @@
+#pragma once
+#include "CVariable.h"
+#include <vector>
+
+namespace SERVO {
+ class CReport
+ {
+ public:
+ CReport();
+ CReport(unsigned int reportId, std::vector<unsigned int>& vids);
+ virtual ~CReport();
+
+ public:
+ unsigned int getReportId();
+ BOOL addVariable(CVariable* pVariable);
+ BOOL deleteVarialble(unsigned int nVarialbleId);
+ CVariable* getVariable(unsigned int nVarialbleId);
+ std::vector<CVariable*>& getVariables();
+ std::string getVariablesIdsText();
+ bool getVariableName(unsigned int vid, std::string& strName);
+
+ private:
+ unsigned int m_nReportId;
+ std::vector<unsigned int> m_vids;
+ std::vector<CVariable*> m_variabels;
+ };
+}
+
--
Gitblit v1.9.3