From 4a102d22d449d0230f01a77f661ab667c36a648e Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期五, 11 七月 2025 11:33:37 +0800
Subject: [PATCH] 1.EAP模拟器之警告信息模拟

---
 SourceCode/Bond/Servo/CBonder.cpp |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/SourceCode/Bond/Servo/CBonder.cpp b/SourceCode/Bond/Servo/CBonder.cpp
index 3c42d87..afe3cdf 100644
--- a/SourceCode/Bond/Servo/CBonder.cpp
+++ b/SourceCode/Bond/Servo/CBonder.cpp
@@ -419,16 +419,17 @@
 	{
 		CEquipment::onTimer(nTimerid);
 
-		// test
-		/*
+		// test	 
 		static int i[2] = { 0, 0 };
 		i[m_nIndex]++;
-
-		if (i[m_nIndex] == 15) {
-			char szBuffer[26];
-			decodeJobProcessStartReport(getStep(STEP_ID_JOB_PROCESS_START_REPORT), szBuffer, 26);
+		if (m_nIndex == 0 && i[m_nIndex] == 100) {
+			if (m_listener.onAlarm != nullptr) {
+				m_listener.onAlarm(this, 1,
+					100,
+					getID(),
+					1);
+			}
 		}
-		*/
 	}
 
 	void CBonder::serialize(CArchive& ar)

--
Gitblit v1.9.3