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 = ""; } }