package com.changfa.constants;

public class CommomConstants {
    public static final String AUTHORIZATION = "Authorizations";

    public static final String keyPrefix = "shiro:session:";

    public  interface LEVEL{
        //提示
         Integer PROMPT = 1;

        //一般
         Integer NORMAL = 2;

        //紧急
        Integer EMERGENCY = 3;

    }


    public  interface DEVICE_TYPE{
        //可视对讲
        Integer d10 = 10;
        //交换机
        Integer d1 = 1;
        //路由器
        Integer d2 = 2;

    }


    public  interface WORK_RESULT{
        //
        Integer pending = 1;
        Integer processed = 2;
        Integer ignored = 3;

    }

    public interface DEVICE_OFF{
        int STATUS_ONLINE = 1;
        //2-离线
        int STATUS_OFFLINE = 2;
    }

    public interface EXECUTE_PLAN{
        String API = "接口";
        String SDK = "SDK";
        String PING = "ping";
        String PROTOCOL = "协议";
        //String SEND = "推送";
        String HEART = "心跳";

    }

}
