SourceCode/Bond/Servo/ServoDlg.cpp
@@ -241,6 +241,14 @@
               }
            }
         }
         else if (RX_CODE_LOADPORT_INUSE == code) {
            SERVO::CLoadPort* pLoadPort = nullptr;
            if (pAny->getPtrValue("ptr", (void*&)pLoadPort)) {
               CPortConfigurationDlg dlg;
               dlg.setCurSelPort(pLoadPort->getIndex());
               dlg.DoModal();
            }
         }
         pAny->release();
      }, [&]() -> void {
@@ -283,6 +291,10 @@
   //  执行此操作
   SetIcon(m_hIcon, TRUE);         // 设置大图标
   SetIcon(m_hIcon, FALSE);      // 设置小图标
   // model init
   theApp.m_model.init();
   // 菜单
@@ -353,9 +365,6 @@
   int height = GetSystemMetrics(SM_CYSCREEN);
   MoveWindow((width - rcWnd.Width()) / 2, 0, rcWnd.Width(), rcWnd.Height(), TRUE);
   // model init
   theApp.m_model.init();
   SetTimer(TIMER_ID_CREATE_TERMINAL, 3000, nullptr);
@@ -899,11 +908,13 @@
   }
   else if (id == IDC_BUTTON_SETTINGS) {
      SERVO::CEquipment* pEq = theApp.m_model.m_master.getEquipment(EQ_ID_EFEM);
      ((SERVO::CEFEM*)pEq)->printDebugRobotState();
      pEq->printDebugString001();
      pEq = theApp.m_model.m_master.getEquipment(EQ_ID_Bonder1);
      pEq->printDebugString001();
      pEq = theApp.m_model.m_master.getEquipment(EQ_ID_Bonder2);
      pEq->printDebugString001();
   }
   else if (id == IDC_BUTTON_OPERATOR) {
      int menuId = (int)wParam;