| | |
| | |
|
| | | @Override
|
| | | public List byMonitorIdGetDeviceAndWindSpecial(String id, String time, String tab) {
|
| | |
|
| | | MonitorPoint monitorPoint=monitorPointMapper.byIdGetMonitorPoint(Integer.parseInt(id));
|
| | | Integer areaCode=monitorPoint.getAreaCode();
|
| | | String townCode= monitorPoint.getTownCode()+"";
|
| | | int monitorPointId=monitorPoint.getId();
|
| | | Map<String, Object> parm=new HashMap<>();
|
| | | List<DeviceAndWind> deviceAndWinds=new ArrayList<>();
|
| | | Double loma= 0.0;
|
| | |
| | | }
|
| | | length=2000;
|
| | | perdlen=280;
|
| | | }else if(monitorPointId==35){
|
| | | DeviceAndWind deviceAndWind=deviceMapper.getDeviceAndWindByMac("898607b0101730392253",time,tab);
|
| | | DeviceAndWind deviceAndWind1=deviceMapper.getDeviceAndWindByMac("p5dnd7a0392083",time,tab);
|
| | | deviceAndWinds.add(deviceAndWind);
|
| | | deviceAndWinds.add(deviceAndWind1);
|
| | | length=2000;
|
| | | perdlen=50;
|
| | |
|
| | | }else {
|
| | | deviceAndWinds=deviceMapper.byMonitorIdGetDeviceAndWind(Integer.parseInt(id),time,tab);
|
| | | length=2000;
|
| | |
| | | return list;
|
| | | }
|
| | |
|
| | | @Override
|
| | | public DeviceAndWind getDeviceAndWindByMac(String mac,String time,String table) {
|
| | | return deviceMapper.getDeviceAndWindByMac(mac,time,table);
|
| | | }
|
| | | }
|