From 8b96cadc838caf8d664e2d54576874bec299972a Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期四, 24 七月 2025 17:36:32 +0800
Subject: [PATCH] 1.EAP模拟器,增加Link Report加载功能,列表展示功能,修改Report ID功能,但未真正下发到指令到Master.

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

diff --git a/SourceCode/Bond/Servo/CBonder.cpp b/SourceCode/Bond/Servo/CBonder.cpp
index afe3cdf..78d003e 100644
--- a/SourceCode/Bond/Servo/CBonder.cpp
+++ b/SourceCode/Bond/Servo/CBonder.cpp
@@ -420,16 +420,18 @@
 		CEquipment::onTimer(nTimerid);
 
 		// test	 
+		/*
 		static int i[2] = { 0, 0 };
 		i[m_nIndex]++;
-		if (m_nIndex == 0 && i[m_nIndex] == 100) {
+		if (m_nIndex == 0 && i[m_nIndex] % 20 == 0) {
 			if (m_listener.onAlarm != nullptr) {
 				m_listener.onAlarm(this, 1,
-					100,
+					i[m_nIndex],
 					getID(),
 					1);
 			}
 		}
+		*/
 	}
 
 	void CBonder::serialize(CArchive& ar)

--
Gitblit v1.9.3