From 040ca53dda7f9c8703490e36fbb3aae919ee4465 Mon Sep 17 00:00:00 2001 From: lucas Date: Tue, 2 Sep 2025 09:00:36 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E5=AE=8C=E5=96=84=E4=BB=BB=E6=84=8F?= =?UTF-8?q?=20=E6=9D=A1=E4=BB=B6=E7=9A=84=E5=91=8A=E8=AD=A6=E6=81=A2?= =?UTF-8?q?=E5=A4=8D=20=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- consumers/consumerAxySkAlarm.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/consumers/consumerAxySkAlarm.go b/consumers/consumerAxySkAlarm.go index d42cb86..07260a9 100644 --- a/consumers/consumerAxySkAlarm.go +++ b/consumers/consumerAxySkAlarm.go @@ -427,6 +427,8 @@ func (the *consumerAxySkAlarm) isRuleAlarm(trigger AXY_SK.AlarmTrigger, stationA dt = stationAlarm.Alarm3007.EndTime } triggerTypeCodes = append(triggerTypeCodes, stationAlarm.Alarm3007.AlarmTypeCode) + } else { + detail += fmt.Sprintf("测量值恢复正常") } case 1: if stationAlarm.Alarm3008 != nil && stationAlarm.Alarm3008.CurrentLevel <= trigger.AlarmLevel { @@ -436,6 +438,8 @@ func (the *consumerAxySkAlarm) isRuleAlarm(trigger AXY_SK.AlarmTrigger, stationA dt = stationAlarm.Alarm3008.EndTime } triggerTypeCodes = append(triggerTypeCodes, stationAlarm.Alarm3008.AlarmTypeCode) + } else { + detail += fmt.Sprintf("变化速率恢复正常") } }