| | |
| | | |
| | | //剔除风速和风向超过上下限范围的数据 |
| | | if (!ObjectUtils.isEmpty(windDirUpper)) { |
| | | if (windDir < (Double) windDirUpper) { |
| | | if (windDir > (Double) windDirUpper) { |
| | | continue; |
| | | } |
| | | } |
| | | |
| | | if (!ObjectUtils.isEmpty(windDirLower)) { |
| | | if (windDir > (Double) windDirLower) { |
| | | if (windDir < (Double) windDirLower) { |
| | | continue; |
| | | } |
| | | } |
| | | |
| | | if (!ObjectUtils.isEmpty(windSpeedUpper)) { |
| | | if (windSpeed < (Double) windSpeedUpper) { |
| | | if (windSpeed > (Double) windSpeedUpper) { |
| | | continue; |
| | | } |
| | | } |
| | | |
| | | if (!ObjectUtils.isEmpty(windSpeedLower)) { |
| | | if (windSpeed > (Double) windSpeedLower) { |
| | | if (windSpeed < (Double) windSpeedLower) { |
| | | continue; |
| | | } |
| | | } |
| | |
| | | Double co = Double.parseDouble(o.toString()); |
| | | //剔除超过上下限的数据 |
| | | if (!ObjectUtils.isEmpty(upper)) { |
| | | if (co < (Double) upper) { |
| | | if (co > (Double) upper) { |
| | | continue; |
| | | } |
| | | } |
| | | if (!ObjectUtils.isEmpty(lower)) { |
| | | if (co > (Double) upper) { |
| | | if (co < (Double) lower) { |
| | | continue; |
| | | } |
| | | } |
| | |
| | | Double o3 = Double.parseDouble(o.toString()); |
| | | //剔除超过上下限的数据 |
| | | if (!ObjectUtils.isEmpty(upper)) { |
| | | if (o3 < (Double) upper) { |
| | | if (o3 > (Double) upper) { |
| | | continue; |
| | | } |
| | | } |
| | | if (!ObjectUtils.isEmpty(lower)) { |
| | | if (o3 > (Double) upper) { |
| | | if (o3 < (Double) lower) { |
| | | continue; |
| | | } |
| | | } |