From 1c8098f74227411b5417c560eb7e6d7c0a61ae6e Mon Sep 17 00:00:00 2001
From: mrDarker <mr.darker@163.com>
Date: 星期四, 04 九月 2025 16:28:52 +0800
Subject: [PATCH] Merge branch 'clh' into liuyang

---
 SourceCode/Bond/Servo/CRecipesManager.h |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/SourceCode/Bond/Servo/CRecipesManager.h b/SourceCode/Bond/Servo/CRecipesManager.h
index 388fe4e..e61df75 100644
--- a/SourceCode/Bond/Servo/CRecipesManager.h
+++ b/SourceCode/Bond/Servo/CRecipesManager.h
@@ -6,9 +6,10 @@
 
 #define SS_NONE					0
 #define SS_SYNCING				1
-#define SS_COMPLETE				2
-#define SS_TIMEOUT				3
-#define SS_FAILED				4
+#define SS_LIST_COMPLETE		2
+#define SS_PARAMS_COMPLETE		3
+#define SS_TIMEOUT				4
+#define SS_FAILED				5
 
 namespace SERVO {
 	typedef std::function<void(int state)> ONSYNCINGSTATECHANGED;
@@ -29,6 +30,8 @@
 		short decodeRecipeParameterReport(const char* pszData, size_t size);
 		CRecipeList* getRecipeListFromTemp(int unitNo);
 		CRecipeList* getRecipeList(int unitNo);
+		bool saveRecipeList(int unitNo, std::string& strFilepath);
+		bool readRecipeList(int unitNo, std::string& strFilepath);
 
 	public:
 		inline void lock() { ::EnterCriticalSection(&m_cs); };

--
Gitblit v1.9.3