LAPTOP-SNT8I5JK\Boounion
2025-05-05 38fdd2e7d1d45a3ffed57fde30031a6a8f04d235
SourceCode/Bond/Servo/CEquipment.cpp
@@ -887,11 +887,15 @@
      }
      LOGI("<CEquipment-%s>正在请求单元<%d>主配方列表", m_strName.c_str(), unitNo);
      pStep->writeShort(unitNo, [&](int code) -> int {
      if (m_recipesManager.syncing() != 0) {
         return -2;
      }
      pStep->writeShort(unitNo, [&, unitNo](int code) -> int {
         if (code == WOK) {
            LOGI("<CEquipment-%s>请求单元<%d>主配方列表成功,正在等待数据.", m_strName.c_str(), unitNo);
         }
         else {
            //m_recipesManager.syncFailed();
            LOGI("<CEquipment-%s>请求单元<%d>主配方列表失败,code:%d", m_strName.c_str(), unitNo, code);
         }
@@ -899,4 +903,9 @@
      });
      return 0;
   }
   int CEquipment::decodeRecipeListReport(const char* pszData, size_t size)
   {
      return m_recipesManager.decodeRecipeListReport(pszData, size);
   }
}