fuliqi
2024-08-19 c0a6471efcf392e54aeefe318a27d5da78220fd7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
package constant;
 
/**
 * 海康优云请求参数常量
 */
public class ApiConstants {
    //成功状态码
    public final static String HKSuccessCode = "0";
    public final static String UYSuccessCodeStr = "200";
    public final static Integer UYSuccessCode = 200;
    public final static Integer PageNo = 1;
    public final static Integer PageSize = 20000;
    public final static Integer HKPageSize = 5000;
    //请求参数dataType-卡口过车
    public final static Integer HK_DataType_CAR = 1;
    //请求参数dataType-人脸数据
    public final static Integer HK_DataType_FACE = 2;
 
    //抓拍数据量监测结果 正常
    public final static Integer HK_SnapCount_ResultType_Normal = 1;
    //抓拍数据量监测结果 无数据
    public final static Integer HK_SnapCount_ResultType_Null = 2;
    //抓拍数据量监测结果 数据突降
    public final static Integer HK_SnapCount_ResultType_Descent = 3;
 
    //请求参数dataType 数据量少
    public final static Integer HK_DataType_ResultType_Low = 4;
 
    //经纬度检测结果 正常
    public final static Integer HK_Info_LayType_Normal = 1;
    //经纬度检测结果 经纬度缺失
    public final static Integer HK_Info_LayType_Absent = 2;
    //经纬度检测结果 不在辖区
    public final static Integer HK_Info_LayType_NotIn = 3;
    //经纬度检测结果 精度低
    public final static Integer HK_Info_LayType_Low = 4;
 
    //国际编码监测结果 正常
    public final static Integer HK_Info_GbCodeType_Normal = 1;
    //国际编码监测结果 编码长度不等于20位
    public final static Integer HK_Info_GbCodeType_NotEq = 2;
    //国际编码监测结果 前6位不合标准
    public final static Integer HK_Info_GbCodeType_6NotStandard = 3;
    //国际编码监测结果 11-13位不合标准
    public final static Integer HK_Info_GbCodeType_11NotStandard = 4;
 
    //优云在线状态 1在线 0未知 -1离线
    public final static Integer UY_OnlineSite_Online = 1;
    public final static Integer UY_OnlineSite_Unknown = 0;
    public final static Integer UY_OnlineSite_Offline = -1;
    //优云录像完整状态
    public final static Integer UY_RecordStatus_Integrity = 1;
    public final static Integer UY_RecordStatus_Interval = 0;
    public final static Integer UY_RecordStatus_Abnormal = -1;
 
    //优云点位在线状态
    public final static Integer UY_OnlineStatus_All = 2;
    public final static Integer UY_OnlineStatus_Online = 1;
    public final static Integer UY_OnlineStatus_Offline = -1;
    public final static Integer UY_OnlineStatus_Unknown = 0;
 
    //Python校验标识
    public final static Integer PY_OSD_Correct = 1;
    public final static Integer PY_OSD_Unknown = 0;
    public final static Integer PY_OSD_Error = -1;
 
    //自贡行政编码
    public final static String AreaNo = "5103";
 
    //省厅前缀
    public final static String Province = "Province_";
 
 
 
    /** 考核指标 条件参数  */
    //车辆考核,点位在线率,区县不少于40路
    public final static Integer Check_Car_SiteOnline = 40;
    public final static Integer Check_Face_SiteOnline = 40;
    //车辆在线率  Redis 每月数据中断次数 Hash key
    public final static String Check_Car_ViewConnect = "CarViewConnectNoData";
    public final static String Check_Face_ViewConnect = "FaceViewConnectNoData";
}