From 90ae1c3db92833354814484e65f8cd2eef1f5f3e Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期三, 30 七月 2025 15:14:20 +0800
Subject: [PATCH] 1.配方列表获取完善;
---
SourceCode/Bond/EAPSimulator/CDefineReportsDlg.h | 40 ++++++++++++++++++++++++++++++++++++++++
1 files changed, 40 insertions(+), 0 deletions(-)
diff --git a/SourceCode/Bond/EAPSimulator/CDefineReportsDlg.h b/SourceCode/Bond/EAPSimulator/CDefineReportsDlg.h
new file mode 100644
index 0000000..e37af56
--- /dev/null
+++ b/SourceCode/Bond/EAPSimulator/CDefineReportsDlg.h
@@ -0,0 +1,40 @@
+锘�#pragma once
+#include <map>
+#include <vector>
+
+// CDefineReportsDlg 瀵硅瘽妗�
+
+class CDefineReportsDlg : public CDialogEx
+{
+ DECLARE_DYNAMIC(CDefineReportsDlg)
+
+public:
+ CDefineReportsDlg(CWnd* pParent = nullptr); // 鏍囧噯鏋勯�犲嚱鏁�
+ virtual ~CDefineReportsDlg();
+ void addReport(int RPTID);
+ void delReport(int RPTID);
+ bool addVid(unsigned int RPTID, unsigned int vid);
+ void delVid(int RPTID, int VID);
+
+private:
+ std::map<unsigned int, std::vector<unsigned int>> m_mapReport;
+
+
+// 瀵硅瘽妗嗘暟鎹�
+#ifdef AFX_DESIGN_TIME
+ enum { IDD = IDD_DIALOG_DEFINE_REPORTS };
+#endif
+
+protected:
+ virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 鏀寔
+
+ DECLARE_MESSAGE_MAP()
+public:
+ afx_msg void OnBnClickedButtonAddRptid();
+ afx_msg void OnLbnSelchangeList1();
+ afx_msg void OnBnClickedButtonDelReport();
+ afx_msg void OnBnClickedButtonAddVid();
+ afx_msg void OnLbnSelchangeList2();
+ afx_msg void OnBnClickedButtonDelVid();
+ afx_msg void OnBnClickedButtonSend();
+};
--
Gitblit v1.9.3