|
@@ -100,8 +100,16 @@ public class AnemometerTowerService {
|
|
|
resultMap.put("fs50", DoubleUtils.keepPrecision(realData.get(8).getPointValueInDouble(), 2));
|
|
|
}
|
|
|
resultMap.put("fx50", DoubleUtils.keepPrecision(realData.get(9).getPointValueInDouble(), 2));
|
|
|
- resultMap.put("fs70", DoubleUtils.keepPrecision(realData.get(10).getPointValueInDouble(), 2));
|
|
|
- resultMap.put("fx70", DoubleUtils.keepPrecision(realData.get(11).getPointValueInDouble(), 2));
|
|
|
+ if (weatherid.contains("NJLF")) {
|
|
|
+ resultMap.put("fs70", DoubleUtils.keepPrecision(realData.get(10).getPointValueInDouble() /10, 2));
|
|
|
+ }else {
|
|
|
+ resultMap.put("fs70", DoubleUtils.keepPrecision(realData.get(10).getPointValueInDouble(), 2));
|
|
|
+ }
|
|
|
+ if (weatherid.contains("NJLF")) {
|
|
|
+ resultMap.put("fx70", DoubleUtils.keepPrecision(realData.get(11).getPointValueInDouble() / 10, 2));
|
|
|
+ }else {
|
|
|
+ resultMap.put("fx70", DoubleUtils.keepPrecision(realData.get(11).getPointValueInDouble(), 2));
|
|
|
+ }
|
|
|
}
|
|
|
return resultMap;
|
|
|
}
|