From 52e82dcdc401782b58ed50bc14ae270b143370a9 Mon Sep 17 00:00:00 2001
From: LAPTOP-T815PCOQ\25526 <mr.liuyang@126.com>
Date: 星期六, 11 一月 2025 08:35:52 +0800
Subject: [PATCH] 1.添加轴设定和细部设定
---
SourceCode/Bond/BoounionPLC/Model.cpp | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/SourceCode/Bond/BoounionPLC/Model.cpp b/SourceCode/Bond/BoounionPLC/Model.cpp
index 6ac7225..eac0e4f 100644
--- a/SourceCode/Bond/BoounionPLC/Model.cpp
+++ b/SourceCode/Bond/BoounionPLC/Model.cpp
@@ -348,8 +348,8 @@
m_configuration.removePLC(pszName);
notifyPtr(RX_CODE_REMOVE_PLC, iter->second);
- //delete iter->second;
- //m_mapPlc.erase(iter); 这个地方需要研究一下
+ delete iter->second;
+ m_mapPlc.erase(iter);
return 0;
}
@@ -358,6 +358,8 @@
{
if (pPlc != nullptr) {
m_strCurrPlc = pPlc->getName();
+ } else {
+ m_strCurrPlc = "";
}
}
--
Gitblit v1.9.3