From f65a110d7f941ff8826406938408fb2828c43dcb Mon Sep 17 00:00:00 2001
From: mrDarker <mr.darker@163.com>
Date: 星期六, 21 六月 2025 16:45:00 +0800
Subject: [PATCH] 1. 初始化读取第一个port数据到界面 2. 切换port下拉框更新界面

---
 SourceCode/Bond/BoounionPLC/Model.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/SourceCode/Bond/BoounionPLC/Model.h b/SourceCode/Bond/BoounionPLC/Model.h
index 48a52cb..55401e4 100644
--- a/SourceCode/Bond/BoounionPLC/Model.h
+++ b/SourceCode/Bond/BoounionPLC/Model.h
@@ -46,7 +46,7 @@
 	IObservableEmitter* m_pObservableEmitter;
 	CString m_strWorkDir;
 	std::map<std::string, CPLC*> m_mapPlc;
-	std::string m_strCurrPlc;
+	CPLC* m_pActivePlc;
 
 private:
 	int m_nTimerID;

--
Gitblit v1.9.3