zhou-hao 5 лет назад
Родитель
Сommit
c33a20b020

+ 1 - 1
jetlinks-manager/rule-engine-manager/src/main/java/org/jetlinks/community/rule/engine/model/DeviceAlarmModelParser.java

@@ -90,7 +90,7 @@ public class DeviceAlarmModelParser implements RuleModelParserStrategy {
         model.getNodes().add(conditionNode);
         if (CollectionUtils.isNotEmpty(rule.getAlarmRule().getActions())) {
             int index = 0;
-            for (DeviceAlarmRule.Action operation : rule.getAlarmRule().getActions()) {
+            for (Action operation : rule.getAlarmRule().getActions()) {
                 RuleNodeModel action = new RuleNodeModel();
                 action.setId("device_alarm_action:" + index);
                 action.setName("执行动作:" + index);