| | |
| | | private Logger logger = LoggerFactory.getLogger(HKConstants.class); |
| | | //海康平台根据现场环境配置http还是https |
| | | public static final String RESPONSE_SUCCEE = "0"; |
| | | public static final String RESPONSE_DOWNLOAD_ERROR= "0x15406001"; |
| | | public static final String RESPONSE_FACE_ERROR= "0x1540350c";//回调错误:人脸建模失败 |
| | | public static final String RESPONSE_FACE_ERROR2= "0x1540350d";//回调错误:人脸眼间距太小 |
| | | |
| | | public static String https ; |
| | | /** |
| | | * 能力开放平台的网站路径 路径不用修改,就是/artemis |
| | |
| | | public interface InterfacePath{ |
| | | // String doorEvents = "/api/acs/v2/door/events";//门禁事件查询 |
| | | // String visitEvents = "/api/visitor/v1/event/turnover/search";//访客事件查询 |
| | | // String parkEvents = "/api/pms/v1/crossRecords/page";//停车场事件查询 |
| | | String parkCrossRecords = "/api/pms/v1/crossRecords/page";//停车场过程记录 |
| | | String rootOrg = "/api/resource/v1/org/rootOrg";//获取跟组织 |
| | | String orgAllList = "/api/resource/v1/org/orgList";//获取全量组织信息 |
| | | String userAllList = "/api/resource/v2/person/personList";//获取全量用户列表 |
| | | String orgTimeRangeList = "/api/resource/v1/org/timeRange";//增量获取组织信息 |
| | | String userTimeRangeList = "/api/resource/v1/person/personList/timeRange";//增量获取用户列表 |
| | | String addBatchOrg = "/api/resource/v1/org/batch/add";//批量新增组织 |
| | | String delBatchOrg = "/api/resource/v1/org/batch/delete";//批量删除组织 |
| | | String editOrg = "/api/resource/v1/org/single/update";//修改组织 |
| | |
| | | String cardLoss= "/api/cis/v1/card/batch/loss";//批量挂失 |
| | | String cardUnloss= "/api/cis/v1/card/batch/unLoss";//批量解挂 |
| | | String taskPersoDetail= "/api/acps/v1/download_record/person/detail/search";//查询设备通道的人员权限下载详情 |
| | | String appointmentRecords= "/api/visitor/v2/appointment/records";//查询访客预约记录v2 |
| | | String visitingRecords= "/api/visitor/v2/visiting/records";//查询访客来访记录v2 |
| | | String vehicleList= "/api/resource/v2/vehicle/advance/vehicleList";//查询车辆列表v2 |
| | | String vehicleTimeRangeList= "/api/resource/v1/vehicle/timeRange";//增量获取车辆数据 |
| | | String facePictureCheck= "/api/frs/v1/face/picture/check";//人脸评分 |
| | | String acsDeviceStatus= "/api/nms/v1/online/acs_device/get";//获取门禁设备在线状态 |
| | | String tempCarInRecords= "/api/pms/v1/tempCarInRecords/page";//查询场内车停车信息 |
| | | } |
| | | |
| | | /** |
| | |
| | | private String name; |
| | | private int key; |
| | | |
| | | public static String getName(int index) { |
| | | for (EventTypes c : EventTypes.values()) { |
| | | if (c.getKey() == index) { |
| | | return c.name; |
| | | } |
| | | } |
| | | return null; |
| | | } |
| | | // 构造方法 |
| | | EventTypes(int key, String name ) { |
| | | this.name = name; |