From 9167ffecc0c63927d56268182e57cb8c52ed1b37 Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期四, 28 八月 2025 15:19:25 +0800
Subject: [PATCH] 1.ControlJob工作流程模拟测试,保存工作状态,重启软件还原工作状态等; 2.CJEnd事件上报,EAP模拟测试,数据验证等;

---
 SourceCode/Bond/Servo/CEquipmentPage2.cpp |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/SourceCode/Bond/Servo/CEquipmentPage2.cpp b/SourceCode/Bond/Servo/CEquipmentPage2.cpp
index 14b46ac..984fa26 100644
--- a/SourceCode/Bond/Servo/CEquipmentPage2.cpp
+++ b/SourceCode/Bond/Servo/CEquipmentPage2.cpp
@@ -180,7 +180,17 @@
 
 			SERVO::CGlass* pGlass = (SERVO::CGlass*)pSlot->getContext();
 			if (pGlass != nullptr) {
-				m_listCtrl.SetItemText(index, 3, pGlass->getID().c_str());
+				CString strText;
+				if (pGlass->getType() == SERVO::MaterialsType::G1) {
+					strText.Format(_T("(G1)%s"), pGlass->getID().c_str());
+				}
+				else if (pGlass->getType() == SERVO::MaterialsType::G2) {
+					strText.Format(_T("(G2)%s"), pGlass->getID().c_str());
+				}
+				else {
+					strText.Format(_T("(%s"), pGlass->getID().c_str());
+				}
+				m_listCtrl.SetItemText(index, 3, strText);
 				SERVO::CGlass* pBuddy = pGlass->getBuddy();
 				if (pBuddy != nullptr) {
 					m_listCtrl.SetItemText(index, 4, pBuddy->getID().c_str());

--
Gitblit v1.9.3