From 0222ece90a4caa554b1dd09aa37b95ad394bf893 Mon Sep 17 00:00:00 2001
From: chenluhua1980 <Chenluhua@qq.com>
Date: 星期五, 26 十二月 2025 15:53:51 +0800
Subject: [PATCH] 1.显示生产数据和tt

---
 SourceCode/Bond/Servo/CPageProdOverview.h |   37 +++++++++++++++++++++++++++++++++++++
 1 files changed, 37 insertions(+), 0 deletions(-)

diff --git a/SourceCode/Bond/Servo/CPageProdOverview.h b/SourceCode/Bond/Servo/CPageProdOverview.h
new file mode 100644
index 0000000..6198d90
--- /dev/null
+++ b/SourceCode/Bond/Servo/CPageProdOverview.h
@@ -0,0 +1,37 @@
+锘�#pragma once
+#include <chrono>
+#include "HmLabel.h"
+
+// CPageProOverview 瀵硅瘽妗�
+class CPageProdOverview : public CDialogEx
+{
+	DECLARE_DYNAMIC(CPageProdOverview)
+
+public:
+	CPageProdOverview(CWnd* pParent = nullptr);   // 鏍囧噯鏋勯�犲嚱鏁�
+	virtual ~CPageProdOverview();
+	void SetBackgroundColor(COLORREF color);
+
+protected:
+	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 鏀寔
+
+	DECLARE_MESSAGE_MAP()
+public:
+	virtual BOOL OnInitDialog();
+	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
+	afx_msg void OnDestroy();
+	afx_msg void OnSize(UINT nType, int cx, int cy);
+	afx_msg void OnTimer(UINT_PTR nIDEvent);
+
+private:
+	void RefreshData();
+
+private:
+	COLORREF m_clrBackground{ RGB(240, 240, 240) };
+	CBrush m_brushBackground;
+	UINT_PTR m_timerId = 0;
+	CHmLabel m_labelDayOut;
+	CHmLabel m_labelNightOut;
+	CHmLabel m_labelDayTakt;
+	CHmLabel m_labelNightTakt;
+};

--
Gitblit v1.9.3