/** 巡检车辆轨迹数据 */ public void getHistoryPositionsBySimid() { Map<String, Object> param = new HashMap<String, Object>(); param.put("simid", request.getParameter("simid")); param.put("begindate", request.getParameter("begin")); param.put("enddate", request.getParameter("end")); List<Map<String, Object>> hp = onlineService.getHistoryPositionsBySimid(param); super.convertmaptojson(hp); }
/** 统计故障列表信息 */ public void undorealonlinealerdata() { UserInfo user = ((UserInfo) request.getSession().getAttribute("user")); List<Map<String, Object>> regionsonline = onlineService.getOnlineAlertRealdataByRegion(user); List<Map<String, Object>> orgsonline = onlineService.getOnlineAlertRealdataByOrg(user); Map<String, Object> map = new HashMap<String, Object>(); map.put("regionsonline", regionsonline); map.put("orgsonline", orgsonline); super.convertmaptojson(map); }
/** 统计在线车辆数量 */ public void todayrealonlinecardata() { UserInfo user = ((UserInfo) request.getSession().getAttribute("user")); List<Map<String, Object>> regionsonlinecar = onlineService.getOnlinecarRealdataByRegion(user); List<Map<String, Object>> orgsonlinecar = onlineService.getOnlinecarRealdataByOrg(user); List<Map<String, Object>> onlinecarcount = onlineService.getOnlineCarCounts(user); Map<String, Object> map = new HashMap<String, Object>(); map.put("regionsonline", regionsonlinecar); map.put("orgsonline", orgsonlinecar); map.put("onlinecount", onlinecarcount); super.convertmaptojson(map); }
/** 首页统计在线车辆、人员计数 */ public void todaycalcdata() { UserInfo user = ((UserInfo) request.getSession().getAttribute("user")); Map<String, Object> map = onlineService.getOnlineDataCount(user); super.convertmaptojson(map); }