SourceCode/Bond/BoounionPLC/PagePlcList.cpp
@@ -75,12 +75,11 @@ // 更新节点 HTREEITEM hSelectedItem = m_treeCtrl.GetSelectedItem(); CPLC* pSelectedPlc = nullptr; if (hSelectedItem != NULL) { CPLC* pSelectedPlc = (CPLC*)m_treeCtrl.GetItemData(hSelectedItem); if (pSelectedPlc != nullptr) { pSelectedPlc = (CPLC*)m_treeCtrl.GetItemData(hSelectedItem); } theApp.m_model.notifyPtr(RX_CODE_SELECT_PLC, pSelectedPlc); } } } }