| | |
| | | public List byMonitorIdGetDeviceAndWind(String id,String time,String tab) {
|
| | |
|
| | | List<DeviceAndWind> deviceAndWinds=deviceMapper.byMonitorIdGetDeviceAndWind(Integer.parseInt(id),time,tab);
|
| | | System.out.println(time);
|
| | | List loList=new ArrayList();
|
| | | List laList=new ArrayList();
|
| | | Double U=0.0;
|
| | | Double V=0.0;
|
| | | log.info("id="+id);
|
| | | log.info("time="+time);
|
| | | log.info("tab="+tab);
|
| | | log.info("deviceAndWinds="+deviceAndWinds);
|
| | | log.info("deviceAndWinds="+deviceAndWinds.size());
|
| | | for (DeviceAndWind andWind : deviceAndWinds) {
|
| | | Double lo=andWind.getLongitude();
|
| | | Double la=andWind.getLatitude();
|
| | |
| | | windDir=0.0;
|
| | | windSpeed=0.0;
|
| | | }
|
| | | Double tvoc=deviceAndWinds.get(j).gettVoc();
|
| | | Double tvoc=deviceAndWinds.get(j).getTVoc();
|
| | |
|
| | | List list= LatLngTransformation.Convert_BD09_To_GCJ02(deviceAndWinds.get(j).getLatitude(),deviceAndWinds.get(j).getLongitude());
|
| | | Double transLo=(Double) list.get(0);
|