From 4a9f803ce6896554706b97fe36e0002d18e1f346 Mon Sep 17 00:00:00 2001
From: mrDarker <mr.darker@163.com>
Date: 星期三, 16 七月 2025 09:35:41 +0800
Subject: [PATCH] 1. [TaskControl] 添加设备启用状态判断(IsEnabled) 2. 在多个工艺任务(如 bake_to_cooling、bond_to_bake 等)中增加 psrEq->IsEnabled() 判断

---
 SourceCode/Bond/BondEq/View/UserManagerDlg.h |   10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/SourceCode/Bond/BondEq/View/UserManagerDlg.h b/SourceCode/Bond/BondEq/View/UserManagerDlg.h
index 3f0ac6a..545a019 100644
--- a/SourceCode/Bond/BondEq/View/UserManagerDlg.h
+++ b/SourceCode/Bond/BondEq/View/UserManagerDlg.h
@@ -1,10 +1,11 @@
 锘�#pragma once
 #include "afxdialogex.h"
 #include "GridCtrl.h"
+#include "CBaseDlg.h"
 
 // CUserManagerDlg 瀵硅瘽妗�
 
-class CUserManagerDlg : public CDialogEx
+class CUserManagerDlg : public CBaseDlg
 {
 	DECLARE_DYNAMIC(CUserManagerDlg)
 
@@ -23,15 +24,11 @@
 	void AddRow(CGridCtrl* pGridCtrl);
 	void DeleteSelectedRow(CGridCtrl* pGridCtrl);
 	bool IsUsernameDuplicate(const CString& username);
-	void AdjustControls(int nWidth, int nHeight);
-	void AdjustControlFont(CWnd* pWnd, int nWidth, int nHeight);
 
 private:
-	int m_nInitialWidth;
-	int m_nInitialHeight;
 	std::map<CString, CString> m_mapRoleDescriptions;
 
-private:
+	// 鎺т欢
 	CGridCtrl m_gridUserManager;
 
 protected:
@@ -40,7 +37,6 @@
 	DECLARE_MESSAGE_MAP()
 public:
 	virtual BOOL OnInitDialog();
-	afx_msg void OnSize(UINT nType, int cx, int cy);
 	afx_msg void OnGridComboSelChange(NMHDR* pNMHDR, LRESULT* pResult);
 	afx_msg void OnBnClickedButtonAdd();
 	afx_msg void OnBnClickedButtonInsert();

--
Gitblit v1.9.3