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_SnapCount_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路径 通道1
|
public final static String HK_OSD_PATH_1 = "/ISAPI/System/Video/inputs/channels/1/overlays";
|
//海康访问OSD路径 通道2
|
public final static String HK_OSD_PATH_2 = "/ISAPI/System/Video/inputs/channels/2/overlays";
|
//海康访问时间路径
|
public final static String HK_OSD_TIME = "/ISAPI/System/time";
|
|
//海康成绩重点标签
|
public final static Integer HK_FOCUS_FLAG_ALL = 0;
|
public final static Integer HK_FOCUS_FLAG_Important = 1;
|
|
//国标码通道索引
|
public final static Integer SerialNumber_Channel = 13;
|
//国标码设备类型索引
|
public final static Integer SerialNumber_Category = 17;
|
//国标全景标识
|
public final static char SerialNumber_All = '0';
|
//国标细节标识
|
public final static char SerialNumber_Detail = '1';
|
|
//标签常量
|
public final static Integer TRUE = 1;
|
public final static Integer FALSE = 0;
|
}
|