From f5d3efdcec2d59e4adf6a3ae534082023e2df345 Mon Sep 17 00:00:00 2001 From: mrDarker <mr.darker@163.com> Date: 星期四, 04 九月 2025 15:51:25 +0800 Subject: [PATCH] 1. 配方列表中添加设备配方参数 2. 测试权限功能 --- SourceCode/Bond/Servo/PageRecipe.h | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/SourceCode/Bond/Servo/PageRecipe.h b/SourceCode/Bond/Servo/PageRecipe.h index 8f489b4..d695564 100644 --- a/SourceCode/Bond/Servo/PageRecipe.h +++ b/SourceCode/Bond/Servo/PageRecipe.h @@ -1,6 +1,7 @@ 锘�#pragma once #include "afxdialogex.h" #include "RecipeManager.h" +#include "ListCtrlEx.h" // CPageRecipe 瀵硅瘽妗� @@ -13,6 +14,8 @@ virtual ~CPageRecipe(); private: + void InitListCtrlHeaderForMaster(); + void InitListCtrlHeaderForDevice(); void UpdateRecipeByPPID(const CString& strPPID); void FillDataToListCtrl(const std::vector<RecipeInfo>& vecRecipe); void FillRecipeListToListCtrl(SERVO::CRecipeList* pList); @@ -34,10 +37,11 @@ afx_msg void OnBnClickedButtonDelete(); afx_msg void OnBnClickedButtonDeleteAll(); afx_msg void OnBnClickedButtonRefresh(); - afx_msg void OnLvnItemChangedListPPID(NMHDR* pNMHDR, LRESULT* pResult); + afx_msg void OnClickListPPID(NMHDR* pNMHDR, LRESULT* pResult); + afx_msg void OnDblclkListPPID(NMHDR* pNMHDR, LRESULT* pResult); afx_msg void OnCbnSelchangeComboEquipment(); DECLARE_MESSAGE_MAP() private: - CListCtrl m_listPPID; -}; + CListCtrlEx m_listPPID; +}; \ No newline at end of file -- Gitblit v1.9.3