From 21f95bee3cdfbc5a1c22b5aaa3e9fda4aa7f85a1 Mon Sep 17 00:00:00 2001 From: lucas Date: Tue, 2 Sep 2025 15:21:11 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E6=96=B0=E6=97=B6=E5=88=BB=E7=9A=84?= =?UTF-8?q?=E4=BD=8E=E7=AD=89=E7=BA=A7=E5=91=8A=E8=AD=A6=20=E4=B9=9F?= =?UTF-8?q?=E5=8F=AF=E4=BB=A5=E7=BB=A7=E7=BB=AD=E8=A7=A6=E5=8F=91=E9=AB=98?= =?UTF-8?q?=E7=AD=89=E7=BA=A7=E6=AC=A1=E6=95=B0=E7=B4=AF=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- consumers/consumerAxySkAlarm.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/consumers/consumerAxySkAlarm.go b/consumers/consumerAxySkAlarm.go index ca5d74f..f620574 100644 --- a/consumers/consumerAxySkAlarm.go +++ b/consumers/consumerAxySkAlarm.go @@ -292,11 +292,11 @@ func (the *consumerAxySkAlarm) isHistoryAlarm(sourceId string, level int, alarmT continue } - if hv.AlarmLevel < level { //低等级告警过滤 - log.Printf("测点[%s]本次触发 %s(实际es=%s) 低于 历史有效等级%d,历史时刻%s,不再重复触发", sourceId, rawK, hisK, hv.AlarmLevel, hv.Time.Format("2006-01-02 15:04:05.000")) - isHis = true - continue - } + //if hv.AlarmLevel < level { //低等级告警过滤 + // log.Printf("测点[%s]本次触发 %s(实际es=%s) 低于 历史有效等级%d,历史时刻%s,不再重复触发", sourceId, rawK, hisK, hv.AlarmLevel, hv.Time.Format("2006-01-02 15:04:05.000")) + // isHis = true + // continue + //} } }