From 166fa1cb727d6fe6962bbd2b5c4a0c9da6088048 Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期三, 30 七月 2025 14:50:03 +0800
Subject: [PATCH] 1.获取配方后自动刷新列表; 2.HsmsAction序列化和反序列化,将来用于缓存上报的数据;

---
 SourceCode/Bond/Servo/PageRecipe.cpp |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/SourceCode/Bond/Servo/PageRecipe.cpp b/SourceCode/Bond/Servo/PageRecipe.cpp
index 6863f01..a625647 100644
--- a/SourceCode/Bond/Servo/PageRecipe.cpp
+++ b/SourceCode/Bond/Servo/PageRecipe.cpp
@@ -440,7 +440,7 @@
 	else {
 		// enable port
 		CMsgDlg msgDlg("璇风瓑寰�", "姝e湪鑾峰彇閰嶆柟...");
-		pEq->masterRecipeListRequest(0, [&](int status) -> void {
+		pEq->masterRecipeListRequest(0, [&, pEq](int status) -> void {
 			if (status == SS_FAILED || status == SS_TIMEOUT) {
 				CString strMsg;
 				strMsg.Format(status == SS_FAILED ? _T("鑾峰彇閰嶆柟澶辫触锛�") : _T("鑾峰彇閰嶆柟瓒呮椂锛�"));
@@ -460,6 +460,8 @@
 				msgDlg.SetMessage((LPTSTR)(LPCTSTR)strMsg);
 				msgDlg.SetMarquee(FALSE, 0);
 				msgDlg.SetCompleteCode(0);
+				SERVO::CRecipeList* pRecipeList = pEq->getRecipeList(0);
+				FillRecipeListToListCtrl(pRecipeList);
 			}
 		});
 		msgDlg.DoModal();

--
Gitblit v1.9.3