From 9e25e06d7ec9d7cd1c31a9d30a8a018e2af63e3a Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期五, 29 八月 2025 11:28:16 +0800
Subject: [PATCH] 1.Port Unload Ready,事件的上报,EAP模拟程序观察验证数据;

---
 SourceCode/Bond/Servo/HsmsPassive.h                    |    1 +
 SourceCode/Bond/x64/Debug/CollectionEventList.txt      |    1 +
 SourceCode/Bond/Servo/HsmsPassive.cpp                  |    5 +++++
 SourceCode/Bond/Servo/Model.cpp                        |    7 +++++++
 SourceCode/Bond/x64/Debug/ReportList.txt               |    1 +
 SourceCode/Bond/x64/Debug/VariableList.txt             |    3 ++-
 Document/Panel Bonder八零联合 SecsTest CheckList_v3.0.xlsx |    0 
 7 files changed, 17 insertions(+), 1 deletions(-)

diff --git "a/Document/Panel Bonder\345\205\253\351\233\266\350\201\224\345\220\210 SecsTest CheckList_v3.0.xlsx" "b/Document/Panel Bonder\345\205\253\351\233\266\350\201\224\345\220\210 SecsTest CheckList_v3.0.xlsx"
index b4ff826..fd7688e 100644
--- "a/Document/Panel Bonder\345\205\253\351\233\266\350\201\224\345\220\210 SecsTest CheckList_v3.0.xlsx"
+++ "b/Document/Panel Bonder\345\205\253\351\233\266\350\201\224\345\220\210 SecsTest CheckList_v3.0.xlsx"
Binary files differ
diff --git a/SourceCode/Bond/Servo/HsmsPassive.cpp b/SourceCode/Bond/Servo/HsmsPassive.cpp
index 29106d2..4765d68 100644
--- a/SourceCode/Bond/Servo/HsmsPassive.cpp
+++ b/SourceCode/Bond/Servo/HsmsPassive.cpp
@@ -1874,6 +1874,11 @@
 	return requestEventReportSend("CarrierID_Readed");
 }
 
+int CHsmsPassive::requestEventReportSend_Port_Unload_Ready()
+{
+	return requestEventReportSend("Port_Unload_Ready");
+}
+
 int CHsmsPassive::requestEventReportSend_PJ_Queued()
 {
 	return requestEventReportSend("PJ_Queued");
diff --git a/SourceCode/Bond/Servo/HsmsPassive.h b/SourceCode/Bond/Servo/HsmsPassive.h
index dbbee08..5767836 100644
--- a/SourceCode/Bond/Servo/HsmsPassive.h
+++ b/SourceCode/Bond/Servo/HsmsPassive.h
@@ -191,6 +191,7 @@
 	int requestEventReportSend(unsigned int CEID);
 	int requestEventReportSend(const char* pszEventName);
 	int requestEventReportSend_CarrierID_Readed();
+	int requestEventReportSend_Port_Unload_Ready();
 	int requestEventReportSend_PJ_Queued();
 	int requestEventReportSend_PJ_Start();
 	int requestEventReportSend_PJ_End();
diff --git a/SourceCode/Bond/Servo/Model.cpp b/SourceCode/Bond/Servo/Model.cpp
index 48fc012..357ca57 100644
--- a/SourceCode/Bond/Servo/Model.cpp
+++ b/SourceCode/Bond/Servo/Model.cpp
@@ -382,6 +382,13 @@
 			}
 			m_hsmsPassive.requestEventReportSend_CarrierID_Readed();
 		}
+		else if (status == PORT_UNLOAD_READY) {
+			SERVO::CLoadPort* pLoadPort = dynamic_cast<SERVO::CLoadPort*>(pEquipment);
+			if (pLoadPort != nullptr) {
+				m_hsmsPassive.setVariableValue("PortId", pLoadPort->getID());
+			}
+			m_hsmsPassive.requestEventReportSend_Port_Unload_Ready();
+		}
 		notifyPtr(RX_CODE_LOADPORT_STATUS_CHANGED, pEquipment);
 	};
 	masterListener.onCTRoundEnd = [&](void* pMaster, int round) {
diff --git a/SourceCode/Bond/x64/Debug/CollectionEventList.txt b/SourceCode/Bond/x64/Debug/CollectionEventList.txt
index 61f7804..79b0885 100644
--- a/SourceCode/Bond/x64/Debug/CollectionEventList.txt
+++ b/SourceCode/Bond/x64/Debug/CollectionEventList.txt
@@ -45,4 +45,5 @@
 50005,Panel_End,,(50005)
 50006,CJ_Start,,(50006)
 50007,CJ_End,,(50007)
+50008,Port_Unload_Ready,,(50008)
 
diff --git a/SourceCode/Bond/x64/Debug/ReportList.txt b/SourceCode/Bond/x64/Debug/ReportList.txt
index 2353520..c7afc77 100644
--- a/SourceCode/Bond/x64/Debug/ReportList.txt
+++ b/SourceCode/Bond/x64/Debug/ReportList.txt
@@ -23,5 +23,6 @@
 50005,(5007)
 50006,(5008)
 50007,(5009)
+50008,(5010)
 
 
diff --git a/SourceCode/Bond/x64/Debug/VariableList.txt b/SourceCode/Bond/x64/Debug/VariableList.txt
index 81dedc8..7e921d8 100644
--- a/SourceCode/Bond/x64/Debug/VariableList.txt
+++ b/SourceCode/Bond/x64/Debug/VariableList.txt
@@ -43,4 +43,5 @@
 5006,PanelStartID,A20,PanelStartID
 5007,PanelEndID,A20,PanelEndID
 5008,CJStartID,A20,CJStartID
-5009,CJEndID,A20,CJEndID
\ No newline at end of file
+5009,CJEndID,A20,CJEndID
+5010,PortId,U2,"Port ID"
\ No newline at end of file

--
Gitblit v1.9.3