From 9e25e06d7ec9d7cd1c31a9d30a8a018e2af63e3a Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期五, 29 八月 2025 11:28:16 +0800
Subject: [PATCH] 1.Port Unload Ready,事件的上报,EAP模拟程序观察验证数据;

---
 SourceCode/Bond/Servo/RecipeManager.h |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/SourceCode/Bond/Servo/RecipeManager.h b/SourceCode/Bond/Servo/RecipeManager.h
index a51e14d..444a529 100644
--- a/SourceCode/Bond/Servo/RecipeManager.h
+++ b/SourceCode/Bond/Servo/RecipeManager.h
@@ -10,8 +10,7 @@
 // 单个设备配方映射信息
 struct DeviceRecipe {
     int nDeviceID;               // 设备ID
-    int nRecipeID;               // 该设备对应的子配方ID
-    std::string strPPID;         // 配方ID(主键)
+    int nRecipeID;               // 子配方ID
     std::string strDeviceName;   // 设备名称 
 };
 
@@ -58,6 +57,12 @@
     // 查询所有配方
     std::vector<RecipeInfo> getAllRecipes();
 
+	// 根据 PPID 或描述查询配方
+    std::vector<RecipeInfo> getRecipesByKeyword(const std::string& keyword);
+
+	// 获取所有 PPID
+    std::vector<std::string> getAllPPID() const;
+
     // 按 PPID 查询配方
     RecipeInfo getRecipeByPPID(const std::string& ppid);
 

--
Gitblit v1.9.3