Constants.java 1.32 KB
package cn.com.glsx.admin.common.constants;

/**
 * @Desc:公共的常量类
 * @Author huangxc
 * @Date 2021/5/22
 */
public final class Constants {

    /**
     * 删除标识 -1:删除
     */
    public static final Integer DELETE_FLAG = -1;


    /**
     * 设备离线时间:三天 单位 s/秒
     */
    public static final long OFFLINE_TIME_OTHER = 3 * 24 * 3600L;

    /**
     * 有源在线时间点 6分钟 单位 毫秒/ms
     */
    public static final long ONLINE_SOURCE_TIME = 6 * 60 * 1000L;
    /**
     * 字典表中车辆车型的type
     */
    public static final String TRIALDRIVE_VEHICLE_MODEL = "trialdrive_vehicle_model";
    /**
     * 字典表中试驾车辆配置的type
     */
    public static final String TRIALDRIVE_VEHICLE_CONFIG = "trialdrive_vehicle_config";

    /**
     * 同步渠道 timed_task:定时任务渠道
     */
    public static final String SYNC_CHANNEL_TIMED_TASK = "edun_timed_task";

    /**
     * 厂商ID-博实结
     */
    public static final String BSJ_FACTORY_ID = "BSJ";

    /**
     * 设备调频模式 0 追车模式;1 闹钟模式;2 星期模式;3 初始化模式
     */
    public static final int ADJ_FREQ_CATCHING = 0;
    public static final int ADJ_FREQ_TIMER = 1;
    public static final int ADJ_FREQ_WEEK = 2;
    public static final int ADJ_FREQ_INITIAL = 3;
}