chenluhua1980
2026-01-06 4d9d8d22e3666076988c30afb4e7c6fe365c19aa
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) {