From 629ee07ae56fbedeec143fa722b982f0e62d5219 Mon Sep 17 00:00:00 2001
From: kaiyu <404897439@qq.com>
Date: Wed, 23 Jun 2021 14:52:29 +0800
Subject: [PATCH] screen-manage 修复型号增加因子空指针异常BUG
---
screen-common/src/main/java/com/moral/constant/RedisConstants.java | 37 ++++++++++++++++++++++++++++---------
1 files changed, 28 insertions(+), 9 deletions(-)
diff --git a/screen-common/src/main/java/com/moral/constant/RedisConstants.java b/screen-common/src/main/java/com/moral/constant/RedisConstants.java
index 2578c67..dd34339 100644
--- a/screen-common/src/main/java/com/moral/constant/RedisConstants.java
+++ b/screen-common/src/main/java/com/moral/constant/RedisConstants.java
@@ -12,20 +12,39 @@
@Data
public class RedisConstants {
/*
- * ������������ redis������key
- * ������Map<String,List<sysDictData>>���������key������������������������Value������������������������
- * */
+ * ������������ redis������key
+ * ������Map<String,List<sysDictData>>���������key������������������������Value������������������������
+ * */
public static final String DICT_DATA_KEY = "dict_data";
/*
- * ������������ redis������key
- * ������List<sysDictType>������
- * */
+ * ������������ redis������key
+ * ������List<sysDictType>������
+ * */
public static final String DICT_TYPE_KEY = "dict_type";
/*
- * ������ redis������key
- * ������Map<Integer,Sensor>������
- * */
+ * ������ redis������key
+ * ������Map<Integer,Sensor>������
+ * */
public static final String SENSOR_KEY = "sensor";
+
+ /*
+ * ������������������
+ * */
+ public static final String DEVICE = "device";
+
+ /*
+ * ������������������������
+ * */
+ public static final String STATE = "state";
+
+ /*
+ * ���������������������������������������������������������������
+ * ���������������hash
+ * key���mac
+ * value���Device
+ * ���������������Map<String,Device>
+ * */
+ public static final String DEVICE_INFO = "device_alarm_info";
}
--
Gitblit v1.8.0