From 2a7efcf2a4bac5e7f9813975c87683ea09fb984e Mon Sep 17 00:00:00 2001 From: chenluhua1980 <Chenluhua@qq.com> Date: 星期六, 24 一月 2026 10:47:39 +0800 Subject: [PATCH] 1.修复曲线数据未触发问题; --- SourceCode/Bond/Servo/PageRecipe.h | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/SourceCode/Bond/Servo/PageRecipe.h b/SourceCode/Bond/Servo/PageRecipe.h index d695564..1ca4b99 100644 --- a/SourceCode/Bond/Servo/PageRecipe.h +++ b/SourceCode/Bond/Servo/PageRecipe.h @@ -2,6 +2,8 @@ #include "afxdialogex.h" #include "RecipeManager.h" #include "ListCtrlEx.h" +#include "MsgDlg.h" + // CPageRecipe 瀵硅瘽妗� @@ -13,12 +15,16 @@ CPageRecipe(CWnd* pParent = nullptr); // 鏍囧噯鏋勯�犲嚱鏁� virtual ~CPageRecipe(); +public: + static UINT SyncThreadFunction(LPVOID lpvData); + UINT SyncThreadFunctionInner(CMsgDlg* pMsgDlg); + private: void InitListCtrlHeaderForMaster(); void InitListCtrlHeaderForDevice(); void UpdateRecipeByPPID(const CString& strPPID); void FillDataToListCtrl(const std::vector<RecipeInfo>& vecRecipe); - void FillRecipeListToListCtrl(SERVO::CRecipeList* pList); + void FillRecipeListToListCtrl(SERVO::CEquipment* pEq); // 瀵硅瘽妗嗘暟鎹� #ifdef AFX_DESIGN_TIME @@ -40,8 +46,11 @@ afx_msg void OnClickListPPID(NMHDR* pNMHDR, LRESULT* pResult); afx_msg void OnDblclkListPPID(NMHDR* pNMHDR, LRESULT* pResult); afx_msg void OnCbnSelchangeComboEquipment(); + virtual BOOL PreTranslateMessage(MSG* pMsg); DECLARE_MESSAGE_MAP() private: + std::string SanitizeName(const std::string& name); + CListCtrlEx m_listPPID; }; \ No newline at end of file -- Gitblit v1.9.3