jinpengyong
2021-06-23 69d00365e9f099b26c4fc7a298cabeb131956d8a
screen-common/src/main/java/com/moral/constant/RedisConstants.java
@@ -12,20 +12,50 @@
@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";
    /*
     * 设备校准公式前缀
     * */
    public static final String ADJUST = "adjust";
    /*
     * 设备实时数据
     * */
    public static final String DEVICE_DATA = "data";
}