| | |
| | | @ApiModelProperty(value = "距离") |
| | | private double dis; |
| | | |
| | | @ApiModelProperty(value = "500m范围最大值的方向") |
| | | @ApiModelProperty(value = "500m范围最大值的风向") |
| | | private String maxDir; |
| | | |
| | | @ApiModelProperty(value = "是否一致") |
| | |
| | | |
| | | double speed2 = CalculateUtils.getWindSpeed(suMax.getV(), suMax.getU()); |
| | | double direction2 = CalculateUtils.getWindDirection(suMax.getV(), suMax.getU()); |
| | | String maxDir = CalculateUtils.getDir(angle); |
| | | String maxDir = CalculateUtils.getDir(direction2); // CalculateUtils.getDir(angle); |
| | | int isSame = (Math.abs(direction1 - direction2) <= 45 && Math.abs(speed1 - speed2) <= 0.5) ? 1 : 0; |
| | | |
| | | return new Report(wd.getLocationName(), c1.getX(), c1.getY(), wd.getValue(), time, |