From 86074f0cd259814f2c5103e47360b6dd13f064f7 Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期五, 27 六月 2025 08:52:03 +0800
Subject: [PATCH] 1.Graph刷新问题; 2.AttributeVector造成的闪退问题;

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

diff --git a/SourceCode/Bond/Servo/CLoadPort.cpp b/SourceCode/Bond/Servo/CLoadPort.cpp
index c6591e7..25d2306 100644
--- a/SourceCode/Bond/Servo/CLoadPort.cpp
+++ b/SourceCode/Bond/Servo/CLoadPort.cpp
@@ -893,10 +893,8 @@
 
 		// 缓存Attribute,用于调试时显示信息
 		unsigned int weight = 201;
-		CAttributeVector attrubutes;
+		CAttributeVector& attrubutes = pStep->attributeVector();
 		m_portStatusReport.getAttributeVector(attrubutes, weight);
-		pStep->addAttributeVector(attrubutes);
-
 
 		LOGI("<CCassetteTranserStateStep>decodePortStatusReport<Status:%d, CassetteSequenceNo:%d>",
 			m_portStatusReport.getPortStatus(), m_portStatusReport.getCassetteSequenceNo());

--
Gitblit v1.9.3