From 97e9c6896ffaedcc2c00fb4ea1bee6a5cdbc4a5d Mon Sep 17 00:00:00 2001
From: darker <mr.darker@163.com>
Date: 星期五, 21 二月 2025 15:55:55 +0800
Subject: [PATCH] 1. 报警记录界面加载数据库的数据,并且实现过滤查找

---
 SourceCode/Bond/Servo/AlarmDlg.h |   33 +++++++++++++++++----------------
 1 files changed, 17 insertions(+), 16 deletions(-)

diff --git a/SourceCode/Bond/Servo/AlarmDlg.h b/SourceCode/Bond/Servo/AlarmDlg.h
index 44c82af..7b305cb 100644
--- a/SourceCode/Bond/Servo/AlarmDlg.h
+++ b/SourceCode/Bond/Servo/AlarmDlg.h
@@ -14,14 +14,14 @@
 	virtual ~CAlarmDlg();
 
 private:
-	//void InitRxWindow();
-	//void Resize();
-	//void LoadAlarms();
+	void InitRxWindow();
+	void Resize();
+	void LoadAlarms();
 	//void AddAlarm(CAlarmMonitor* pMonitor, CAlarm* pAlarm);
 	//void UpdateAlarm(CAlarmMonitor* pMonitor, CAlarm* pAlarm);
-	//void UpdatePageData();
-	//void UpdatePageControls();
-	//void FillDataToListCtrl(CListCtrl* pListCtrl, const std::vector<std::vector<std::string>>& vecData);
+	void UpdatePageData();
+	void UpdatePageControls();
+	void FillDataToListCtrl(CListCtrl* pListCtrl, const std::vector<std::vector<std::string>>& vecData);
 
 private:
 	COLORREF m_crBkgnd;
@@ -29,6 +29,7 @@
 	IObserver* m_pObserver;
 
 	// 鍏抽敭瀛�
+	std::string m_strEqName;
 	std::string m_strKeyword;
 
 	// 椤电爜
@@ -51,15 +52,15 @@
 
 protected:
 	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 鏀寔
-	//virtual BOOL OnInitDialog();
-	//virtual BOOL DestroyWindow();
-	//afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
-	//afx_msg void OnDestroy();
-	//afx_msg void OnSize(UINT nType, int cx, int cy);
-	//afx_msg void OnCbnSelchangeComboDatetime();
-	//afx_msg void OnBnClickedButtonSearch();
-	//afx_msg void OnBnClickedButtonExport();
-	//afx_msg void OnBnClickedButtonPrevPage();
-	//afx_msg void OnBnClickedButtonNextPage();
+	virtual BOOL OnInitDialog();
+	virtual BOOL DestroyWindow();
+	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
+	afx_msg void OnDestroy();
+	afx_msg void OnSize(UINT nType, int cx, int cy);
+	afx_msg void OnCbnSelchangeComboDatetime();
+	afx_msg void OnBnClickedButtonSearch();
+	afx_msg void OnBnClickedButtonExport();
+	afx_msg void OnBnClickedButtonPrevPage();
+	afx_msg void OnBnClickedButtonNextPage();
 	DECLARE_MESSAGE_MAP()
 };

--
Gitblit v1.9.3