chenluhua1980
2025-12-17 e3729db9e5b77d253666d9c7287bf2ea84c05132
SourceCode/Bond/Servo/RecipeManager.cpp
@@ -491,7 +491,10 @@
      << "recipe_name TEXT NOT NULL,"
      << "recipe_para TEXT NOT NULL"
      << ");";
   m_pDB->executeQuery(sql.str());
   bool bRet = m_pDB->executeQuery(sql.str());
   if (!bRet) {
      return false;
   }
   std::ostringstream ins;
   ins << "INSERT OR REPLACE INTO " << strDeviceName
@@ -610,13 +613,13 @@
   addRecipe(recipe);
   addDeviceRecipe("Bonder1", 101, "标准工艺", "");
   addDeviceRecipe("Bonder1", 102, "改良工艺", "");
   addDeviceRecipe("Bonder1", 103, "高速模式", "");
   addDeviceRecipe("Bonder1", 101, "标准工艺", "00");
   addDeviceRecipe("Bonder1", 102, "改良工艺", "00");
   addDeviceRecipe("Bonder1", 103, "高速模式", "00");
   addDeviceRecipe("Bonder2", 101, "标准工艺", "");
   addDeviceRecipe("Bonder2", 102, "改良工艺", "");
   addDeviceRecipe("Bonder2", 103, "高速模式", "");
   addDeviceRecipe("Bonder2", 101, "标准工艺", "00");
   addDeviceRecipe("Bonder2", 102, "改良工艺", "00");
   addDeviceRecipe("Bonder2", 103, "高速模式", "00");
}
bool RecipeManager::readRecipeFile(const std::string& filename) {