forked from dyf/fys-Multi-tenant
代码优化
This commit is contained in:
@ -0,0 +1,12 @@
|
||||
package com.fuyuanshen.global.mqtt.constants;
|
||||
|
||||
public class DeviceRedisKeyConstants {
|
||||
// 将设备上报状态
|
||||
public static final String DEVICE_STATUS_KEY_PREFIX = "device:status:";
|
||||
// 在线状态
|
||||
public static final String DEVICE_ONLINE_STATUS_KEY_PREFIX = "device:onlineStatus:";
|
||||
// 将设备状态信息存储到Redis中
|
||||
public static final String DEVICE_LOCATION_KEY_PREFIX = "device:location:";
|
||||
// 存储到一个列表中,保留历史位置信息
|
||||
public static final String DEVICE_LOCATION_HISTORY_KEY_PREFIX = "device:location:history:";
|
||||
}
|
Reference in New Issue
Block a user