package com.zd.common.core.constant;

/**
 * 缓存的key 常量
 *
 * @author zd
 */
public class CacheConstants {
    /**
     * 权限缓存前缀
     */
    public final static String LOGIN_TOKEN_KEY = "login_tokens:";

    /**
     * 应急疏散线路前缀
     */
    public static final String  EVACUATION = "evacuation:";

    /**
     * 传感器缓存前缀
     */
    public final static String SENSOR_DATA_KEY = "sensor_data_key:";


    /**
     * 传感器状态前缀
     */
    public final static String RELAY_STATUS_KEY = "sensor_status_key:";


    /**
     * 传感器缓存前缀
     */
    public final static String SENSOR_DATA_KEY_ISONLINE = "sensor_data_key_isOnline:";

    /**
     * 网关所在实验室ID缓存 KEY
     */
    public final static String GATEWAY_KEY = "GATEWAY_SUB:";

    /**
     * 心跳
     */
    public static final String  HEARTBEAT = "heartbeat:";

    /**
     * 学习一体机用户登录状态前缀
     */
    public final static String LEARN_USER_KEY = "learn_user:";

    /**
     * 危化品技术说明书缓存
     */
    public final static String HAZARD_BOOK_KEY = "hazard_book:";

    /**
     * 计时timer
     */
    public final static String SENSOR_TiMER = "timer:";
}
