mrDarker
2025-05-14 a56b1aade6f788f68a2474f524f004706f0d14a7
SourceCode/Bond/Servo/SECSRuntimeManager.cpp
@@ -1420,6 +1420,22 @@
    }
}
std::vector<std::string> SECSRuntimeManager::getAllPPID() {
   std::lock_guard<std::mutex> lock(m_mutex);
   if (m_pDB == nullptr) {
      return {};
   }
   std::string querySQL = "SELECT PPID FROM EqpPPID;";
   auto rows = m_pDB->fetchResults(querySQL);
   std::vector<std::string> vecResult;
   for (const auto& row : rows) {
        vecResult.push_back(row[0]);
   }
   return vecResult;
}
bool SECSRuntimeManager::updatePPIDForRecipe(int nRecipeNo, const std::string& strPPID) {
    std::lock_guard<std::mutex> lock(m_mutex);
    if (m_pDB == nullptr) {