Showing
1 changed file
with
2 additions
and
1 deletions
@@ -209,7 +209,8 @@ class ReactState { | @@ -209,7 +209,8 @@ class ReactState { | ||
209 | if (alarm != null && alarm.getClearRule() != null) { | 209 | if (alarm != null && alarm.getClearRule() != null) { |
210 | for (TriggerDTO rule : alarm.getClearRule()) { | 210 | for (TriggerDTO rule : alarm.getClearRule()) { |
211 | if ((ScopeEnum.PART.equals(rule.getEntityType()) && !rule.getEntityId().contains(deviceId)) | 211 | if ((ScopeEnum.PART.equals(rule.getEntityType()) && !rule.getEntityId().contains(deviceId)) |
212 | - || !alarmAction.getDeviceId().contains(deviceId)) { | 212 | +// || !alarmAction.getDeviceId().contains(deviceId) |
213 | + ) { | ||
213 | continue; | 214 | continue; |
214 | } | 215 | } |
215 | 216 |