From e8a27bb203fe2aff70390a5eca002d7438da9b0f Mon Sep 17 00:00:00 2001
From: mrDarker <mr.darker@163.com>
Date: 星期三, 22 十月 2025 14:24:34 +0800
Subject: [PATCH] Merge branch 'clh' into liuyang

---
 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