From 92dee0d8070594c351008d02fd9645c9e5de80a7 Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期五, 11 四月 2025 09:01:04 +0800
Subject: [PATCH] 1.车间测试部分功能; 2.警告测试,修复未能显示警告到报表中的问题。

---
 SourceCode/Bond/Servo/CEqStatusStep.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/SourceCode/Bond/Servo/CEqStatusStep.cpp b/SourceCode/Bond/Servo/CEqStatusStep.cpp
index b525e6f..52eaa0f 100644
--- a/SourceCode/Bond/Servo/CEqStatusStep.cpp
+++ b/SourceCode/Bond/Servo/CEqStatusStep.cpp
@@ -35,8 +35,9 @@
 				std::to_string(m_nReasonCode[i]).c_str(), ""));
 		}
 
+		std::string strTemp;
 		attrubutes.addAttribute(new CAttribute("Status Dev",
-			std::to_string(m_nStatusDev).c_str(), ""));
+			("W" + CToolUnits::toHexString(m_nStatusDev, strTemp)).c_str(), ""));
 	}
 
 	int CEqStatusStep::getStatus(unsigned int uint)

--
Gitblit v1.9.3