SystemConstants.java 1.03 KB
package com.viontech.constant;

import org.springframework.stereotype.Component;

@Component
public class SystemConstants {
    public static final int APP_CODE_SUCCESS = 200;
    public static final int APP_CODE_ERROR = 500;
    //--------------------------------------------------
    //交通类型
    public static final String CATE_TRAFFIC = "traffic";
    //事件类型
    public static final String CATE_BEHAVIOR = "behavior";

    //交通过车
    public static final String TYPE_VEHICLE = "vehicle";
    //交通非机动车
    public static final String TYPE_XCYCLE = "xcycle";
    //交通行人
    public static final String TYPE_PEDESTRIAN = "pedestrian";
    //违法类型
    public static final String TYPE_ILLEGAL = "illegal";
    //交通流量
    public static final String TYPE_TFLOW = "tflow";
    //行人流量
    public static final String TYPE_PFLOW = "pflow";
    //区域人流密度
    public static final String TYPE_PDENSITY = "pdensity";

    public static final String REDIS_KEY_EVENT_ID_SET = "eventIdSet";
}