From 2d6d21b907ce6863f5794aa0d7ee6a7f21f86e20 Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期三, 27 八月 2025 11:27:28 +0800
Subject: [PATCH] 1.CJStart事件上报功能实现,EAP模拟器接收数据并验证;

---
 SourceCode/Bond/Servo/CMaster.cpp |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/SourceCode/Bond/Servo/CMaster.cpp b/SourceCode/Bond/Servo/CMaster.cpp
index 38b6884..e574cd6 100644
--- a/SourceCode/Bond/Servo/CMaster.cpp
+++ b/SourceCode/Bond/Servo/CMaster.cpp
@@ -761,6 +761,10 @@
 				if (m_pControlJob->state() == CJState::Queued) {
 					LOGI("<Master>ControlJob已经启动");
 					m_pControlJob->start();
+
+					if (m_listener.onCjStart != nullptr) {
+						m_listener.onCjStart(this, m_pControlJob);
+					}
 				}
 				if (m_pControlJob->state() == CJState::Paused) {
 					LOGI("<Master>ControlJob已经恢复运行");
@@ -1315,7 +1319,7 @@
 					if (pGlass == nullptr) {
 						bOk = TRUE;
 						slot = m_pActiveRobotTask->getTarSlot();
-						LOGI("<CMaster>onPreFethedOutJob, 已校验数据一致性.");
+						LOGI("<CMaster>onPreStoredJob, 已校验数据一致性.");
 					}
 				}
 
@@ -1326,7 +1330,7 @@
 					if (pGlass == nullptr && m_pActiveRobotTask->getSrcSlot() == port) {
 						bOk = TRUE;
 						slot = m_pActiveRobotTask->getSrcSlot();
-						LOGI("<CMaster>onPreFethedOutJob, 已校验数据一致性.");
+						LOGI("<CMaster>onPreStoredJob, 已校验数据一致性.");
 					}
 				}
 			}

--
Gitblit v1.9.3