mrDarker
2025-09-08 6dc80508b1c0f431007f8a8c947c152ec00c3d15
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) {