fuliqi
2024-09-24 8f83a63bc5f046e34a1a06bcf6f1a8241c7277ac
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
83
84
85
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;
 
    //OSD校验标识
    public final static Integer OSD_Correct = 1;
    public final static Integer OSD_Unknown = 0;
    public final static Integer OSD_Error = -1;
 
    //自贡行政编码
    public final static String AreaNo = "5103";
 
    //省厅前缀
    public final static String Province = "Province_";
    //区县前缀
    public final static String County = "County_";
    //公安部前缀
    public final static String Dept = "Dept_";
 
    //海康访问OSD路径
    public final static String HK_OSD_PATH = "/ISAPI/System/Video/inputs/channels/1/overlays";
    //海康访问时间路径
    public final static String HK_OSD_TIME = "/ISAPI/System/time";
 
    //标签常量
    public final static Integer TRUE = 1;
    public final static Integer FALSE = 0;
}