From ef6c229b7dd70ef82a068ae198f23bc9a44dfad2 Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期五, 21 三月 2025 15:12:33 +0800
Subject: [PATCH] 1.修复因对齐线未清0导致点击子项自动移动的问题;

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

diff --git a/SourceCode/Bond/Servo/CReadStep.cpp b/SourceCode/Bond/Servo/CReadStep.cpp
index 0a2474f..6c948de 100644
--- a/SourceCode/Bond/Servo/CReadStep.cpp
+++ b/SourceCode/Bond/Servo/CReadStep.cpp
@@ -129,10 +129,12 @@
 	void CReadStep::getAttributeVector(CAttributeVector& attrubutes)
 	{
 		CStep::getAttributeVector(attrubutes);
+		std::string strTemp;
+
 		attrubutes.addAttribute(new CAttribute("Current Step",
 			std::to_string(m_nCurStep).c_str(), ""));
 		attrubutes.addAttribute(new CAttribute("Signal Dev",
-			std::to_string(m_nWriteSignalDev).c_str(), ""));
+			("W" + CToolUnits::toHexString(m_nWriteSignalDev, strTemp)).c_str(), ""));
 	}
 
 	void CReadStep::init()

--
Gitblit v1.9.3