Browse Source

修改mq发送报警消息的key

xujiaheng 3 years ago
parent
commit
af5d7b1e2c
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/main/java/com/persagy/constant/RedisConstant.java

+ 3 - 3
src/main/java/com/persagy/constant/RedisConstant.java

@@ -66,17 +66,17 @@ public class RedisConstant {
     /**
      * itemCode-objId拼接,用于根据defineId获取报警定义状态
      */
-    public static final String DEFINE_ID = "DEFINE_ID";
+    public static final String DEFINE_ID = "ALARM_CONDITION_STATE";
 
     /**
      * 报警条件Id REDIS hash 的 id
      */
-    public static final String ALARMCONDITION_ID = "ALARM_CONDITION_ID";
+    public static final String ALARMCONDITION_ID = "ALARM_CONDITION";
 
 
     /**
      * 设备仪表ID
      */
-    public static final String METER_ID = "METER_ID";
+    public static final String METER_ID = "OBJ_CONDITION_REL";
 
 }