|
@@ -51,4 +51,36 @@ public class TargetdetailController extends SocketToolController {
|
|
|
TargetdetailService.targetdetail_histogram_pointMap = pointMap;
|
|
|
return remoteAddr;
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
+ @ResponseBody
|
|
|
+ @RequestMapping("/close_targetdetail_target")
|
|
|
+ public String close_targetdetail(HttpServletRequest httpServletRequest,String pointKey) throws Exception {
|
|
|
+ String remoteAddr = httpServletRequest.getRemoteAddr();
|
|
|
+ Map<String, String> pointMap = TargetdetailService.targetdetail_target_pointMap;
|
|
|
+ pointMap.remove(remoteAddr);
|
|
|
+ TargetdetailService.targetdetail_target_pointMap = pointMap;
|
|
|
+ return remoteAddr;
|
|
|
+ }
|
|
|
+
|
|
|
+ @ResponseBody
|
|
|
+ @RequestMapping("/close_targetdetail_curve")
|
|
|
+ public String close_targetdetail_curve(HttpServletRequest httpServletRequest,String pointKey) throws Exception {
|
|
|
+ String remoteAddr = httpServletRequest.getRemoteAddr();
|
|
|
+ Map<String, String> pointMap = TargetdetailService.targetdetail_curve_pointMap;
|
|
|
+ pointMap.remove(remoteAddr);
|
|
|
+ TargetdetailService.targetdetail_curve_pointMap = pointMap;
|
|
|
+ return remoteAddr;
|
|
|
+ }
|
|
|
+
|
|
|
+ @ResponseBody
|
|
|
+ @RequestMapping("/close_targetdetail_histogram")
|
|
|
+ public String close_targetdetail_histogram(HttpServletRequest httpServletRequest,String pointKey) throws Exception {
|
|
|
+ String remoteAddr = httpServletRequest.getRemoteAddr();
|
|
|
+ Map<String, String> pointMap = TargetdetailService.targetdetail_histogram_pointMap;
|
|
|
+ pointMap.remove(remoteAddr);
|
|
|
+ TargetdetailService.targetdetail_histogram_pointMap = pointMap;
|
|
|
+ return remoteAddr;
|
|
|
+ }
|
|
|
+
|
|
|
}
|