ConstantsDevice.java 1.52 KB
package cn.com.glsx.admin.common.constants;

/**
 * 设备相关的常量类
 */
public final class ConstantsDevice {

    /**
     * 设备绑定车辆状态:1绑定
     */
    public static final int BIND_VEHICLE_STATUS = 1;

    /**
     * 设备绑定车辆状态:2解绑
     */
    public static final int UN_BIND_VEHICLE_STATUS = 2;
    /**
     * 设备在线状态 (0 行驶中)
     */
    public static final int DEVICE_STATUS_DRIVING = 0;
    /**
     * 设备在线状态 (1 静止)
     */
    public static final int DEVICE_STATUS_STATIC = 1;
    /**
     * 设备在线状态 (2 离线)
     */
    public static final int DEVICE_STATUS_OFFLINE = 2;
    /**
     * 设备在线状态 (3 在线)
     */
    public static final int DEVICE_STATUS_ONLINE = 3;

    /**
     * 定位类型:gps:1
     */
    public static final int DEVICE_LOCATION_GPS = 1;
    /**
     * 定位类型:基站:2
     */
    public static final int DEVICE_LOCATION_BS = 2;
    /**
     * 1有源
     */
    public static final int SOURCE_HAS = 1;
    /**
     * 0无源
     */
    public static final int SOURCE_NO = 0;

    /**
     * 试驾设备类型   0:非试驾设备
     */
    public static final int NOT_TRIAL_DEVICE_STATUS = 0;

    /**
     * 试驾设备类型  1:试驾设备
     */
    public static final int TRIAL_DEVICE_STATUS = 1;

    /**
     * 删除标记   0=正常 -1=删除
     */
    public static final int NOT_DEL_FLAG = 0;

    /**
     * 删除标记  1=删除
     */
    public static final int DEL_FLAG = 1;
}