From 889044f1c7cdb76254c49dd078fa1ef8e93c3f3a Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期四, 09 一月 2025 11:44:23 +0800
Subject: [PATCH] 1.PLC模拟从文件加载,连接; 2.修复内存泄露问题;

---
 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 5ea3814..b02b2de 100644
--- a/SourceCode/Bond/BoounionPLC/Model.h
+++ b/SourceCode/Bond/BoounionPLC/Model.h
@@ -16,7 +16,7 @@
 	int init();
 	int term();
 	void onTimer(UINT nTimerid);
-	std::map<std::string, CPLC*>& gtPlcMap();
+	std::map<std::string, CPLC*>& getPlcMap();
 	int addPlc(const char* pszName, const char* pszIp, const unsigned int port);
 	int removePlc(const char* pszName);
 

--
Gitblit v1.9.3