From f6b143d9a6f62875e62dae61a0af061139d7a156 Mon Sep 17 00:00:00 2001 From: mrDarker <mr.darker@163.com> Date: 星期一, 21 七月 2025 17:23:17 +0800 Subject: [PATCH] 1. 添加新建配方和部分编辑配方绑定的功能 --- SourceCode/Bond/Servo/PageRecipe.h | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/SourceCode/Bond/Servo/PageRecipe.h b/SourceCode/Bond/Servo/PageRecipe.h index 55baf65..8f489b4 100644 --- a/SourceCode/Bond/Servo/PageRecipe.h +++ b/SourceCode/Bond/Servo/PageRecipe.h @@ -13,6 +13,7 @@ virtual ~CPageRecipe(); private: + void UpdateRecipeByPPID(const CString& strPPID); void FillDataToListCtrl(const std::vector<RecipeInfo>& vecRecipe); void FillRecipeListToListCtrl(SERVO::CRecipeList* pList); @@ -25,18 +26,18 @@ virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 鏀寔 virtual BOOL OnInitDialog(); afx_msg void OnSize(UINT nType, int cx, int cy); + afx_msg void OnDestroy(); + afx_msg void OnShowWindow(BOOL bShow, UINT nStatus); + afx_msg void OnBnClickedButtonNew(); afx_msg void OnBnClickedButtonSearch(); afx_msg void OnBnClickedButtonModify(); afx_msg void OnBnClickedButtonDelete(); afx_msg void OnBnClickedButtonDeleteAll(); afx_msg void OnBnClickedButtonRefresh(); afx_msg void OnLvnItemChangedListPPID(NMHDR* pNMHDR, LRESULT* pResult); + afx_msg void OnCbnSelchangeComboEquipment(); DECLARE_MESSAGE_MAP() private: CListCtrl m_listPPID; -public: - afx_msg void OnDestroy(); - afx_msg void OnCbnSelchangeComboEquipment(); - afx_msg void OnShowWindow(BOOL bShow, UINT nStatus); }; -- Gitblit v1.9.3