From 200a9f60c25a1121e3fb5a44afbcfc5601b3de81 Mon Sep 17 00:00:00 2001 From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com> Date: 星期二, 02 九月 2025 08:59:25 +0800 Subject: [PATCH] 1.修复JobDataSy序列化,配方错位问题; --- SourceCode/Bond/Servo/PageRecipe.h | 13 ++++++++++--- 1 files changed, 10 insertions(+), 3 deletions(-) diff --git a/SourceCode/Bond/Servo/PageRecipe.h b/SourceCode/Bond/Servo/PageRecipe.h index 32bf429..6833e3b 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,7 +14,11 @@ virtual ~CPageRecipe(); private: + void InitListCtrlHeaderForMaster(); + void InitListCtrlHeaderForDevice(); + void UpdateRecipeByPPID(const CString& strPPID); void FillDataToListCtrl(const std::vector<RecipeInfo>& vecRecipe); + void FillRecipeListToListCtrl(SERVO::CRecipeList* pList); // 瀵硅瘽妗嗘暟鎹� #ifdef AFX_DESIGN_TIME @@ -24,16 +29,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(); + CListCtrlEx m_listPPID; }; -- Gitblit v1.9.3