From d1aa8faa0632de2dafb7d081a3a93a3c2d4f8962 Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期二, 24 六月 2025 17:36:22 +0800
Subject: [PATCH] 1.与EFEM对接调试Port Command(Type Change、Mode Change、Transfer Mode Change、Enable Mode Change、Type Auto Change、Cassette Type Change)并修改完善代码。 2.增加Recive Able信号的获取,并以此作为能否放料的逻辑判断依据。 3.配方获取完善,待测。

---
 SourceCode/Bond/BondEq/AlarmMonitor.cpp |   24 ++----------------------
 1 files changed, 2 insertions(+), 22 deletions(-)

diff --git a/SourceCode/Bond/BondEq/AlarmMonitor.cpp b/SourceCode/Bond/BondEq/AlarmMonitor.cpp
index 37528f3..de5d6e7 100644
--- a/SourceCode/Bond/BondEq/AlarmMonitor.cpp
+++ b/SourceCode/Bond/BondEq/AlarmMonitor.cpp
@@ -161,29 +161,9 @@
 
 void CAlarmMonitor::Serialize(CArchive& ar)
 {
-	if (ar.IsStoring())
-	{
-		Lock();
-		int count = (int)m_mapAlarming.size();
-		ar << count;
-		for (auto item : m_mapAlarming) {
-			item.second->Serialize(ar);
-		}
-		Unlock();
+	if (ar.IsStoring()) {
 	}
-	else
-	{
-		Lock();
-		int count;
-		ar >> count;
-		for (int i = 0; i < count; i++) {
-			CAlarm* pAlarm = new CAlarm();
-			pAlarm->addRef();
-			pAlarm->Serialize(ar);
-			addAlarming(pAlarm);
-			pAlarm->release();
-		}
-		Unlock();
+	else {
 	}
 }
 

--
Gitblit v1.9.3