| | |
| | | //获取萤石云摄像头播放地址URL |
| | | private static final String GET_VEDIO_URL = "/v2/live/address/get"; |
| | | |
| | | |
| | | private final PoleBindingService poleBindingService; |
| | | |
| | | /** |
| | | * 查询全部摄像头 |
| | | */ |
| | |
| | | bindingState1 = monitorParam.getBindingState(); |
| | | bindingState2 = monitorParam.getBindingState(); |
| | | } |
| | | return monitorMapper.listMonitorByKeyword(monitorParam.getKeyword(), equipmentState1, equipmentState2, bindingState1, bindingState2); |
| | | // return monitorMapper.listMonitorByKeyword(monitorParam.getKeyword(), equipmentState1, equipmentState2, bindingState1, bindingState2); |
| | | return monitorMapper.listMonitorByKeyword1(monitorParam.getKeyword(), bindingState1, bindingState2); |
| | | } |
| | | |
| | | /** |
| | |
| | | if (monitor == null) { |
| | | throw new BusinessException("找不到摄像头"); |
| | | } |
| | | |
| | | //删除摄像头设备前需要先解绑 |
| | | poleBindingService.unBindPole(monitor.getDeviceSerial()); |
| | | return removeById(Id); |
| | | } |
| | | |