From a79fcf6a937e1bfe57014d2c99f1bb9f98bfa892 Mon Sep 17 00:00:00 2001
From: chenluhua1980 <Chenluhua@qq.com>
Date: 星期二, 10 二月 2026 10:20:17 +0800
Subject: [PATCH] 1.完善日志; 2.背景图表配置 3.更改EAP通讯端口和设备名;
---
SourceCode/Bond/Servo/CPageGraph1.h | 23 +++++++++++++++++++++++
1 files changed, 23 insertions(+), 0 deletions(-)
diff --git a/SourceCode/Bond/Servo/CPageGraph1.h b/SourceCode/Bond/Servo/CPageGraph1.h
index ffd2aeb..fac346d 100644
--- a/SourceCode/Bond/Servo/CPageGraph1.h
+++ b/SourceCode/Bond/Servo/CPageGraph1.h
@@ -1,6 +1,12 @@
锘�#pragma once
#include "ServoGraph.h"
#include "ServoCommo.h"
+#include "CSlotTableCtrl.h"
+
+namespace SERVO {
+ class CEquipment;
+ class CGlass;
+}
enum DeviceStatus {
ONLINE, // 鍦ㄧ嚎
@@ -38,12 +44,22 @@
POINT LoadArmOffset(const std::string& armName);
void SaveArmOffset(const std::string& armName, const POINT& pt);
+ void UpdateSlotBars();
+ void BuildSlotColors(SERVO::CEquipment* pEq, std::vector<COLORREF>& colors);
+ COLORREF GetSlotColor(SERVO::CGlass* pGlass, BOOL isProcessing);
+
+ void ApplySlotBarTestPattern(int mode);
+ void UpdateLegendPosition();
+ void UpdateSlotTable(SERVO::CEquipment* pEquipment);
+ void LayoutSlotTable();
+
private:
IObserver* m_pObserver;
CServoGraph* m_pGraph;
BOOL m_bIsRobotMoving;
COLORREF m_crBkgnd;
HBRUSH m_hbrBkgnd;
+ int m_slotBarTestMode;
// ===== 鏈哄櫒浜哄姩鐢荤浉鍏虫垚鍛樺彉閲� =====
@@ -73,6 +89,13 @@
// 涓や釜鏈烘鑷傜浉瀵逛簬鏈哄櫒浜轰腑蹇冪殑鍋忕Щ锛堝儚绱犲潗鏍囷級
POINT m_arm1Offset;
POINT m_arm2Offset;
+ SERVO::CEquipment* m_pSelectedEquipment;
+ CSlotTableCtrl m_slotTable;
+ int m_slotTableRowCount;
+ int m_slotTableRowHeight;
+ int m_slotTablePadding;
+ int m_slotTableHeaderHeight;
+ int m_slotTableTitleHeight;
// 瀵硅瘽妗嗘暟鎹�
--
Gitblit v1.9.3