LAPTOP-SNT8I5JK\Boounion
2024-12-09 a14c8cb51345fa3342addde7fa584465c4bc7083
SourceCode/Bond/BondEq/BondEqDlg.cpp
@@ -573,6 +573,7 @@
         return 0;
      }
      /*
      CString inputText = inputDialog.GetInputText();
      std::string strPass = UserManager::getInstance().getCurrentPass();
      if (inputText.Compare(strPass.c_str()) != 0) {
@@ -580,14 +581,17 @@
         logManager.log(SystemLogManager::LogType::Info, _T("验证时,密码错误!"));
         return 0;
      }
      */
   }
   if (id == IDC_BUTTON_RUN) {
      theApp.m_model.getBonder().start();
      m_pTopToolbar->GetBtn(IDC_BUTTON_RUN)->EnableWindow(FALSE);
      m_pTopToolbar->GetBtn(IDC_BUTTON_STOP)->EnableWindow(TRUE);
      logManager.log(SystemLogManager::LogType::Operation, _T("运行..."));
   }
   else if (id == IDC_BUTTON_STOP) {
      theApp.m_model.getBonder().stop();
      m_pTopToolbar->GetBtn(IDC_BUTTON_RUN)->EnableWindow(TRUE);
      m_pTopToolbar->GetBtn(IDC_BUTTON_STOP)->EnableWindow(FALSE);
      logManager.log(SystemLogManager::LogType::Operation, _T("ֹͣ..."));