|
|
@ -374,7 +374,7 @@ func (the *consumerAxySkAlarm) isRuleAlarm(trigger AXY_SK.AlarmTrigger, stationA |
|
|
|
case 0: |
|
|
|
if stationAlarm.Alarm3007 == nil || stationAlarm.Alarm3007.CurrentLevel > trigger.AlarmLevel { |
|
|
|
isAlarm = false |
|
|
|
detail += fmt.Sprintf("阈值告警不满足") |
|
|
|
detail += fmt.Sprintf("测量值恢复正常") |
|
|
|
} |
|
|
|
if isAlarm { |
|
|
|
|
|
|
@ -391,7 +391,7 @@ func (the *consumerAxySkAlarm) isRuleAlarm(trigger AXY_SK.AlarmTrigger, stationA |
|
|
|
case 1: |
|
|
|
if stationAlarm.Alarm3008 == nil || stationAlarm.Alarm3008.CurrentLevel > trigger.AlarmLevel { |
|
|
|
isAlarm = false |
|
|
|
detail += fmt.Sprintf("变化速率告警不满足") |
|
|
|
detail += fmt.Sprintf("变化速率恢复正常") |
|
|
|
} |
|
|
|
if isAlarm { |
|
|
|
|
|
|
|