From 8d492d8d449d6aaff1825a99055298682ebf71b7 Mon Sep 17 00:00:00 2001
From: mrDarker <mr.darker@163.com>
Date: 星期二, 02 九月 2025 09:55:49 +0800
Subject: [PATCH] 1. 配方数据库管理表里面添加ID(下发JobDataS) 2. 如果任务没有创建,那么配方是当前选择的(不是默认第一个)

---
 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 3ada9c2..008a1fd 100644
--- a/SourceCode/Bond/Servo/RecipeManager.h
+++ b/SourceCode/Bond/Servo/RecipeManager.h
@@ -64,6 +64,12 @@
 	// 获取所有 PPID
     std::vector<std::string> getAllPPID() const;
 
+	// 按 ID 查询 PPID
+    std::string getPPIDById(int nId);
+
+	// 按 PPID 查询 ID
+    int getIdByPPID(const std::string& ppid);
+
     // 按 PPID 查询配方
     RecipeInfo getRecipeByPPID(const std::string& ppid);
 

--
Gitblit v1.9.3