|  |  | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      *消防看板-4温湿度统计 | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     public  static  BaseResponse<BaseListPageResponse<TemperatureHumidityDataResponse>>  temperatureHumidityDataStatistic(TemperatureHumidityDataRequest param){ | 
 |  |  |         log.info("【海康消防看板-4温湿度统计】================开始===="+JSONObject.toJSONString(param)); | 
 |  |  |         try { | 
 |  |  |             String res = HKTools.temperatureHumidityDataStatistic(JSONObject.toJSONString(param)); | 
 |  |  |             TypeReference typeReference = | 
 |  |  |                     new TypeReference< BaseResponse<BaseListPageResponse<TemperatureHumidityDataResponse> >>(){}; | 
 |  |  |             BaseResponse<BaseListPageResponse<TemperatureHumidityDataResponse>>   result = JSONObject.parseObject(res, typeReference.getType()); | 
 |  |  |             logResult(result,"海康消防看板-4温湿度统计"); | 
 |  |  |             return  result; | 
 |  |  |         }catch (Exception e){ | 
 |  |  |             log.error("【海康消防看板-4温湿度统计】================失败====:\n"+ e.getMessage()); | 
 |  |  |         } | 
 |  |  |         return  null; | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      *消防看板-4获取区域用量排名-能耗看板 | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     public  static  BaseResponse<List<RegionDataRankingDataResponse>>  regionDataRanking(RegionDataRankingDataRequest param){ | 
 |  |  |         log.info("【海康消防看板-4获取区域用量排名-能耗看板】================开始===="+JSONObject.toJSONString(param)); | 
 |  |  |         try { | 
 |  |  |             String res = HKTools.regionDataRanking(JSONObject.toJSONString(param)); | 
 |  |  |             TypeReference typeReference = | 
 |  |  |                     new TypeReference< BaseResponse<List<RegionDataRankingDataResponse> >>(){}; | 
 |  |  |             BaseResponse<List<RegionDataRankingDataResponse>>   result = JSONObject.parseObject(res, typeReference.getType()); | 
 |  |  |             logResult(result,"海康消防看板-4获取区域用量排名-能耗看板"); | 
 |  |  |             return  result; | 
 |  |  |         }catch (Exception e){ | 
 |  |  |             log.error("【海康消防看板-4获取区域用量排名-能耗看板】================失败====:\n"+ e.getMessage()); | 
 |  |  |         } | 
 |  |  |         return  null; | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      *消防看板-4获取区域用量排名-能耗看板 | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     public  static  BaseResponse<EnergyTotalDataResponse>  energyTotal(EnergyTotalDataRequest param){ | 
 |  |  |         log.info("【海康消防看板-4根据时间和时间维度获取园区能耗数据】================开始===="+JSONObject.toJSONString(param)); | 
 |  |  |         try { | 
 |  |  |             String res = HKTools.energyTotal(JSONObject.toJSONString(param)); | 
 |  |  |             TypeReference typeReference = | 
 |  |  |                     new TypeReference< BaseResponse<EnergyTotalDataResponse >>(){}; | 
 |  |  |             BaseResponse<EnergyTotalDataResponse>   result = JSONObject.parseObject(res, typeReference.getType()); | 
 |  |  |             logResult(result,"海康消防看板-4根据时间和时间维度获取园区能耗数据"); | 
 |  |  |             return  result; | 
 |  |  |         }catch (Exception e){ | 
 |  |  |             log.error("【海康消防看板-4根据时间和时间维度获取园区能耗数据】================失败====:\n"+ e.getMessage()); | 
 |  |  |         } | 
 |  |  |         return  null; | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      *分页查询消防设备部件状态 | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  | 
 |  |  |         return  null; | 
 |  |  |     } | 
 |  |  |     /** | 
 |  |  |      *通过openId或userName等删除绑定信息 | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     public  static  BaseResponse  userOpenidDel(UserOpenidSaveRequest param){ | 
 |  |  |         log.info("【海康通过openId或userName等删除绑定信息】================开始===="+JSONObject.toJSONString(param)); | 
 |  |  |         try { | 
 |  |  |             String res = HKTools.userOpenidDel(toMap(param)); | 
 |  |  |             TypeReference typeReference = | 
 |  |  |                     new TypeReference< BaseResponse >(){}; | 
 |  |  |             BaseResponse<Integer>   result = JSONObject.parseObject(res, typeReference.getType()); | 
 |  |  |             logResult(result,"海康通过openId或userName等删除绑定信息"); | 
 |  |  |             return  result; | 
 |  |  |         }catch (Exception e){ | 
 |  |  |             log.error("【海康通过openId或userName等删除绑定信息】================失败====:\n"+ e.getMessage()); | 
 |  |  |         } | 
 |  |  |         return  null; | 
 |  |  |     } | 
 |  |  |     /** | 
 |  |  |      *分页查询设备监测历史数据 | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  | 
 |  |  |         } | 
 |  |  |         return  null; | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      *根据用户标识获取客户端TGC接口 | 
 |  |  |      * @return |