From 22137ea1df173a3c58a641eb9cd12999258faf18 Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期二, 07 一月 2025 17:00:49 +0800
Subject: [PATCH] 1.模拟添加PLC,删除PLC

---
 SourceCode/Bond/BoounionPLC/PagePlcList.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/SourceCode/Bond/BoounionPLC/PagePlcList.h b/SourceCode/Bond/BoounionPLC/PagePlcList.h
index 9098887..baeff62 100644
--- a/SourceCode/Bond/BoounionPLC/PagePlcList.h
+++ b/SourceCode/Bond/BoounionPLC/PagePlcList.h
@@ -14,10 +14,13 @@
 
 
 private:
+	void InitRxWindows();
 	void ReadPLCList();
+	HTREEITEM FindItem(CPLC* pPlc);
 
 
 private:
+	IObserver* m_pObserver;
 	CApredTreeCtrl m_treeCtrl;
 	COLORREF m_crBkgnd;
 	HBRUSH m_hbrBkgnd;
@@ -37,4 +40,5 @@
 	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
 	afx_msg void OnDestroy();
 	afx_msg void OnSize(UINT nType, int cx, int cy);
+	virtual BOOL PreTranslateMessage(MSG* pMsg);
 };

--
Gitblit v1.9.3