package com.fuyuanshen.global.mqtt.constants;

public class DeviceRedisKeyConstants {
    public static final String DEVICE_KEY_PREFIX = "device:";
    // 设备上报状态
    public static final String DEVICE_STATUS_KEY_PREFIX = ":status";
    // 在线状态
    public static final String DEVICE_ONLINE_STATUS_KEY_PREFIX = ":onlineStatus";
    // 设备状态信息存储到Redis中
    public static final String DEVICE_LOCATION_KEY_PREFIX = ":location";
    // 存储到一个列表中，保留历史位置信息
    public static final String DEVICE_LOCATION_HISTORY_KEY_PREFIX = ":location:history";

    // 存储设备活跃上报信息
    public static final String DEVICE_ACTIVE_REPORTING_KEY_PREFIX = ":activeReporting";

    // 存储设备人员信息
    public static final String DEVICE_PERSONNEL_INFO_KEY_PREFIX = ":personnelInfo";

    // 存储设备发送消息
    public static final String DEVICE_SEND_MESSAGE_KEY_PREFIX = ":sendMessage";

    // 存储设备启动logo
    public static final String DEVICE_BOOT_LOGO_KEY_PREFIX = ":bootLogo";

    /**
     * 灯模式
     */
    public static final String DEVICE_LIGHT_MODE_KEY_PREFIX = ":lightMode";

    /**
     * 亮度模式
     */
    public static final String DEVICE_LIGHT_BRIGHTNESS_KEY_PREFIX = ":lightBrightness";

    /**
     * 激光模式
     */
    public static final String DEVICE_LASER_MODE_KEY_PREFIX = ":laserMode";

    /**
     * 地图逆地理编码
     */
    public static final String DEVICE_MAP_REVERSE_GEOCODING_KEY_PREFIX = ":mapReverseGeocoding";

    /**
     * 告警
     */
    public static final String DEVICE_ALARM_KEY_PREFIX = ":alarm";

    /**
     * 告警信息
     */
    public static final String DEVICE_ALARM_MESSAGE_KEY_PREFIX = ":alarmMessage";
}
