| | |
| | | HKService.eventSub(param);//门禁事件 |
| | | |
| | | } |
| | | /** |
| | | * 取消订阅门禁事件、访客事件、和停车场事件 |
| | | */ |
| | | @Override |
| | | public void cancelEventSub(){ |
| | | EventSubRequest param = new EventSubRequest(); |
| | | param.setEventTypes(new Integer[]{HKConstants.EventTypes.PARK_LINE_IN.getKey() |
| | | ,HKConstants.EventTypes.PARK_LINE_OUT.getKey() |
| | | ,HKConstants.EventTypes.PARK_PASS_IN.getKey() |
| | | ,HKConstants.EventTypes.PARK_PASS_OUT.getKey() |
| | | ,HKConstants.EventTypes.VISIT_SIGN_OUT.getKey(), |
| | | HKConstants.EventTypes.DOOR_FACE_AUTH_SUCCESS.getKey()}); |
| | | HKService.cancelEventSub(param);//停车场事件 |
| | | |
| | | } |
| | | } |