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/PLC.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/SourceCode/Bond/BoounionPLC/PLC.h b/SourceCode/Bond/BoounionPLC/PLC.h index 40bf436..2bfc39e 100644 --- a/SourceCode/Bond/BoounionPLC/PLC.h +++ b/SourceCode/Bond/BoounionPLC/PLC.h @@ -48,6 +48,7 @@ void sendBroadcast(CComponent* pSender, CIntent* pIntent); void onRecvBroadcast(CComponent* pSender, CIntent* pIntent); bool isConnected(); + void connect(); void setActionInterval(unsigned int nInterval); std::string& getName(); std::string& getIp(); -- Gitblit v1.9.3