From 5e9b9b53a8a853365c29149871bd024c9ca0cbac Mon Sep 17 00:00:00 2001
From: chenluhua1980 <Chenluhua@qq.com>
Date: 星期四, 11 十二月 2025 11:26:27 +0800
Subject: [PATCH] 1.报告的删除功能;

---
 SourceCode/Bond/Servo/HsmsPassive.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/SourceCode/Bond/Servo/HsmsPassive.h b/SourceCode/Bond/Servo/HsmsPassive.h
index 95622d2..aeb5bde 100644
--- a/SourceCode/Bond/Servo/HsmsPassive.h
+++ b/SourceCode/Bond/Servo/HsmsPassive.h
@@ -176,6 +176,7 @@
 
 	// 鍙栧緱Report
 	SERVO::CReport* getReport(int rptid);
+	int deleteReport(int rptid);
 
 	void setListener(SECSListener listener);
 	unsigned OnCimWork();
@@ -239,6 +240,7 @@
 	void clearAllVariabel();
 	std::vector<unsigned int> parseVidList(CString& strNums);
 	int writeVariablesToFile(const std::string& filepath);
+	int writeReportsToFile(const std::string& filepath);
 
 private:
 	CModel* m_pModel;
@@ -259,6 +261,9 @@
 	std::string m_strVariableFilepath;
 	bool m_bVariableUtf8{ false };
 	bool m_bVariableUtf8Bom{ false };
+	std::string m_strReportFilepath;
+	bool m_bReportUtf8{ false };
+	bool m_bReportUtf8Bom{ false };
 	BOOL m_bCimWorking;
 	HANDLE m_hCimWorkEvent;
 	HANDLE m_hCimWorkThreadHandle;

--
Gitblit v1.9.3