From e370d743235b6c182a62e15fb3efe764103ad8ef Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期六, 07 六月 2025 11:53:33 +0800
Subject: [PATCH] 1.流程中断后,物料的人工搬出机制,用于恢复流程,保证数据同步;

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

diff --git a/SourceCode/Bond/Servo/CArm.cpp b/SourceCode/Bond/Servo/CArm.cpp
index 3a8d15b..cf6320e 100644
--- a/SourceCode/Bond/Servo/CArm.cpp
+++ b/SourceCode/Bond/Servo/CArm.cpp
@@ -106,6 +106,10 @@
 		pGlass = pPreviousGlass;
 		pGlass->addRef();
 		m_slot[0].setContext(nullptr);
+		CGlass* pBuddy = pGlass->getBuddy();
+		if (pBuddy != nullptr) {
+			m_slot[1].setContext(nullptr);
+		}
 		Unlock();
 
 		if (m_listener.onDataChanged != nullptr) {

--
Gitblit v1.9.3