From 9a0afe1ccce6fd3a6882b4c19b72cee579a54dd1 Mon Sep 17 00:00:00 2001
From: xuxiuxi <554325746@qq.com>
Date: 星期五, 08 三月 2019 12:57:51 +0800
Subject: [PATCH] find channel list bug

---
 QiaoJiaSystem/RapidStructureApp/TriggerElement.cpp |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/QiaoJiaSystem/RapidStructureApp/TriggerElement.cpp b/QiaoJiaSystem/RapidStructureApp/TriggerElement.cpp
index 6f0272d..11233ce 100644
--- a/QiaoJiaSystem/RapidStructureApp/TriggerElement.cpp
+++ b/QiaoJiaSystem/RapidStructureApp/TriggerElement.cpp
@@ -78,7 +78,13 @@
     lastDown = 0;
     triggerType = DOWN;
 }
+void TriggerElement::resetTriggerState()
+{
 
+    //state=false;
+    triggerState=false;
+    triggerTimes=0;
+}
 
 void TriggerElement::timerFunc() {
 

--
Gitblit v1.8.0