From b2aa706dfea78ad2e327fb5e414207af69d23d64 Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期六, 13 九月 2025 11:33:04 +0800
Subject: [PATCH] 1.对话框显示工艺参数,可复制到剪贴板; 2.修复几处因按回车或ESC键导致页面被关闭的问题; 3.修复解释警告数据文本失败的问题; 4.更新警告文本,显示警告详细信息; 5.完善警告描述内容 ;

---
 SourceCode/Bond/BondEq/CProjectPageMain.h |   20 +++++++++++++++-----
 1 files changed, 15 insertions(+), 5 deletions(-)

diff --git a/SourceCode/Bond/BondEq/CProjectPageMain.h b/SourceCode/Bond/BondEq/CProjectPageMain.h
index 21a2387..563e8af 100644
--- a/SourceCode/Bond/BondEq/CProjectPageMain.h
+++ b/SourceCode/Bond/BondEq/CProjectPageMain.h
@@ -1,5 +1,16 @@
 锘�#pragma once
 #include "afxdialogex.h"
+#include "BlButton.h"
+
+// BUTTON鎺т欢
+#define BTN_MAX			7
+#define BTN_RUN			0
+#define BTN_AUTO		1
+#define BTN_PUASE		2
+#define BTN_MANUAL		3
+#define BTN_MUTE		4
+#define BTN_OPR			5
+#define BTN_STOP		6
 
 // CProjectPageMain 瀵硅瘽妗�
 
@@ -26,9 +37,9 @@
 
 private:
 	void InitRxWindows();
+	void SetButtonBackgroundColors(CBlButton* btn, bool bOff);
 	void HandleOperation(OperationType eOpType);
 	void WriteOperationDataToPLC(OperationType eOpType, bool bPressed);
-	void ReadPLCDataToUI();
 
 private:
 	COLORREF m_crBkgnd;
@@ -36,10 +47,9 @@
 	IObserver* m_pObserver;
 	CPLC* m_pPLC;
 
-	int nVelocityRatio;			// 閫熷害姣�
-	double dTactTime;			// 鍛ㄦ湡鏃堕棿
-	int nDayShiftCapacity;		
-	int nNightShiftCapacity;	
+private:
+	// 鎺т欢
+	CBlButton* m_pBlBtns[BTN_MAX];
 
 // 瀵硅瘽妗嗘暟鎹�
 #ifdef AFX_DESIGN_TIME

--
Gitblit v1.9.3