From 876ad153fd25c0605f516b0f3a6407999db69131 Mon Sep 17 00:00:00 2001
From: LAPTOP-T815PCOQ\25526 <mr.liuyang@126.com>
Date: 星期二, 17 十二月 2024 16:46:37 +0800
Subject: [PATCH] 1. 完善配方列表模块,与对称轴交互 2. 双击修改配方描述 3.配方列表控件动态变化

---
 SourceCode/Bond/BondEq/FileManager/RecipeManager.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/SourceCode/Bond/BondEq/FileManager/RecipeManager.h b/SourceCode/Bond/BondEq/FileManager/RecipeManager.h
index 3407874..ed43b0c 100644
--- a/SourceCode/Bond/BondEq/FileManager/RecipeManager.h
+++ b/SourceCode/Bond/BondEq/FileManager/RecipeManager.h
@@ -52,6 +52,9 @@
     // 设置配方文件夹路径
     void setRecipeFolder(const std::string& folderPath);
 
+	// 获取当前配方名称
+	std::string getCurrentRecipeName() const;
+
     // 加载配方(文件不存在时加载默认数据)
     bool loadRecipe(const std::string& recipeName);
 
@@ -93,6 +96,7 @@
     void saveAxes(pugi::xml_node& axesNode);
 
 private:
+	std::string m_currentRecipeName; // 当前配方名称
     std::string m_recipeFolder;      // 配方文件夹路径
     std::map<int, AxisInfo> m_axes;  // 轴信息缓存
 };

--
Gitblit v1.9.3