From aabaff9cdcf9bb279b762891aedda5a03571fbb5 Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期二, 01 七月 2025 08:55:07 +0800
Subject: [PATCH] 1.修改Glass的JobDataS的更新逻辑,在收到OnReceiveJob时,机器内未保存和管理Glass, 此时Glass在Arm上,应通过Arm来更新JobDataS;
---
SourceCode/Bond/Servo/RecipeManager.h | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/SourceCode/Bond/Servo/RecipeManager.h b/SourceCode/Bond/Servo/RecipeManager.h
index a51e14d..f25d36c 100644
--- a/SourceCode/Bond/Servo/RecipeManager.h
+++ b/SourceCode/Bond/Servo/RecipeManager.h
@@ -58,6 +58,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