| | |
| | | HkConstant.previewURLs, |
| | | hk.getCameraIndexCode(), |
| | | ProtocolConstant.WS, |
| | | null==hk.getTransmode()?1:hk.getTransmode(), |
| | | expand, |
| | | null==hk.getStreamType()?1:hk.getStreamType()); |
| | | if (null!=result) { |
| | |
| | | HkConstant.previewURLs, |
| | | hk.getCameraIndexCode(), |
| | | hk.getProtocol(), |
| | | null==hk.getTransmode()?1:hk.getTransmode(), |
| | | expand, |
| | | null==hk.getStreamType()?1:hk.getStreamType()); |
| | | if (null!=result) { |
| | |
| | | HkConstant.previewURLs, |
| | | hk.getCameraIndexCode(), |
| | | ProtocolConstant.HLS, |
| | | null==hk.getTransmode()?1:hk.getTransmode(), |
| | | expand, |
| | | null==hk.getStreamType()?1:hk.getStreamType()); |
| | | if (null!=result) { |
| | |
| | | jsonBody.put("cameraIndexCode", hk.getCameraIndexCode()); |
| | | jsonBody.put("protocol", hk.getProtocol()); |
| | | jsonBody.put("recordLocation", "1"); |
| | | jsonBody.put("transmode", null==hk.getTransmode()?1:hk.getTransmode()); |
| | | jsonBody.put("beginTime", hk.getBeginTime()); |
| | | jsonBody.put("endTime", hk.getEndTime()); |
| | | String body = jsonBody.toJSONString(); |
| | |
| | | jsonBody.put("cameraIndexCode", hk.getCameraIndexCode()); |
| | | jsonBody.put("streamType",null==hk.getStreamType()?1:hk.getStreamType()); |
| | | jsonBody.put("protocol", hk.getProtocol()); |
| | | jsonBody.put("transmode", null==hk.getTransmode()?1:hk.getTransmode()); |
| | | String body = jsonBody.toJSONString(); |
| | | |
| | | /** |
| | |
| | | // 根据水库名称、所在区域查询改水库的数量 |
| | | Integer number = attResBaseService.getWaterCountByResNameAndCountyName(hk.getRegionName(),info.getCountyCode()); |
| | | if (number>1){ |
| | | return info.getTownName() + hk.getRegionName(); |
| | | return hk.getRegionName() + "(" + info.getTownName() + ")"; |
| | | }else { |
| | | return hk.getRegionName(); |
| | | } |