LAPTOP-T815PCOQ\25526
2024-12-17 876ad153fd25c0605f516b0f3a6407999db69131
SourceCode/Bond/BondEq/View/AxisSettingsDlg.cpp
@@ -205,6 +205,10 @@
void CAxisSettingsDlg::AdjustLabelFont(CBLLabel& label)
{
   if (label.m_hWnd == nullptr) {
      return;
   }
   // 获取控件的矩形区域
   CRect rect;
   label.GetClientRect(&rect);
@@ -299,7 +303,6 @@
   RecipeManager& recipeManager = RecipeManager::getInstance();
   if (m_strRecipeName.IsEmpty() || !recipeManager.loadRecipe(std::string(CT2A(m_strRecipeName)))) {
      AfxMessageBox(_T("加载配方失败!"));
      recipeManager.saveRecipe(std::string(CT2A(m_strRecipeName)));
      return;
   }
@@ -1253,7 +1256,7 @@
   handleAxisOperation(AxisOperationType::POSITION_1, true);
   Sleep(200);
   handleAxisOperation(AxisOperationType::POSITION_1, false);
   m_pBlBtns[BTN_POINT1]->Flash(1000);
   m_pBlBtns[BTN_POINT1]->Flash(500);
}
void CAxisSettingsDlg::OnBnClickedButtonAxisAnchorPoint2()
@@ -1428,7 +1431,7 @@
   if (m_nBtnsFlashState6 & 0x01) {
      // 06.0
      if (!m_pBlBtns[BTN_JOG_OPR]->IsFlash()) {
         m_pBlBtns[BTN_JOG_OPR]->Flash(1000);
         m_pBlBtns[BTN_JOG_OPR]->Flash(500);
      }
   }
   else if (m_nBtnsFlashState8 & 0x01) {
@@ -1444,7 +1447,7 @@
   if (m_nBtnsFlashState6 & v) {
      if (!m_pBlBtns[BTN_POINT1]->IsFlash()) {
         m_pBlBtns[BTN_POINT1]->Flash(1000);
         m_pBlBtns[BTN_POINT1]->Flash(500);
      }
   }
   else if (m_nBtnsFlashState8 & v) {
@@ -1455,7 +1458,7 @@
   if (m_nBtnsFlashState6 & (v << 1)) {
      if (!m_pBlBtns[BTN_POINT2]->IsFlash()) {
         m_pBlBtns[BTN_POINT2]->Flash(1000);
         m_pBlBtns[BTN_POINT2]->Flash(500);
      }
   }
   else if (m_nBtnsFlashState8 & (v << 1)) {
@@ -1466,7 +1469,7 @@
   if (m_nBtnsFlashState6 & (v << 2)) {
      if (!m_pBlBtns[BTN_POINT3]->IsFlash()) {
         m_pBlBtns[BTN_POINT3]->Flash(1000);
         m_pBlBtns[BTN_POINT3]->Flash(500);
      }
   }
   else if (m_nBtnsFlashState8 & (v << 2)) {
@@ -1477,7 +1480,7 @@
   if (m_nBtnsFlashState6 & (v << 3)) {
      if (!m_pBlBtns[BTN_POINT4]->IsFlash()) {
         m_pBlBtns[BTN_POINT4]->Flash(1000);
         m_pBlBtns[BTN_POINT4]->Flash(500);
      }
   }
   else if (m_nBtnsFlashState8 & (v << 3)) {
@@ -1488,7 +1491,7 @@
   if (m_nBtnsFlashState6 & (v << 4)) {
      if (!m_pBlBtns[BTN_POINT5]->IsFlash()) {
         m_pBlBtns[BTN_POINT5]->Flash(1000);
         m_pBlBtns[BTN_POINT5]->Flash(500);
      }
   }
   else if (m_nBtnsFlashState8 & (v << 4)) {