From 789af4f4a7baee07bd6c2c03588afcb19555343b Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期三, 16 七月 2025 14:00:32 +0800
Subject: [PATCH] 1.CollectionEvent列表从文件加载,界面上显示;
---
SourceCode/Bond/Servo/CBonder.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/SourceCode/Bond/Servo/CBonder.cpp b/SourceCode/Bond/Servo/CBonder.cpp
index afe3cdf..98e2164 100644
--- a/SourceCode/Bond/Servo/CBonder.cpp
+++ b/SourceCode/Bond/Servo/CBonder.cpp
@@ -422,10 +422,10 @@
// 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);
}
--
Gitblit v1.9.3