| | |
| | | String time = map.get("time").toString(); |
| | | time = time.substring(time.length() - 2); |
| | | map.put("time", Integer.valueOf(time)); |
| | | if(parameters.get("type").equals("day")){ |
| | | map.put("time", Integer.valueOf(time)+1); |
| | | } |
| | | map.put("value", map.remove(sensorKey)); |
| | | } |
| | | return new ResultBean<List<Map<String, Object>>>(list); |
| | |
| | | params.put("description",parameters.get("description")); |
| | | String paramsJson = params.toJSONString(); |
| | | model.addObject("uavDroppointParams", paramsJson); |
| | | model.setViewName("uavdroppointnew"); |
| | | model.setViewName("uavdroppoint"); |
| | | return model; |
| | | } else { |
| | | StringBuilder msg = new StringBuilder(); |