|
@@ -73,11 +73,32 @@ public class AnemometerTowerService {
|
|
|
resultMap.put("sd", DoubleUtils.keepPrecision(realData.get(1).getPointValueInDouble(), 2));
|
|
|
resultMap.put("kqmd", DoubleUtils.keepPrecision(realData.get(2).getPointValueInDouble(), 2));
|
|
|
resultMap.put("yq", DoubleUtils.keepPrecision(realData.get(3).getPointValueInDouble(), 2));
|
|
|
- resultMap.put("fs10", DoubleUtils.keepPrecision(realData.get(4).getPointValueInDouble(), 2));
|
|
|
+
|
|
|
+ if (weatherid.contains("NJLF")) {
|
|
|
+ resultMap.put("fs10", DoubleUtils.keepPrecision(realData.get(4).getPointValueInDouble() / 10, 2));
|
|
|
+ }else {
|
|
|
+ resultMap.put("fs10", DoubleUtils.keepPrecision(realData.get(4).getPointValueInDouble(), 2));
|
|
|
+ }
|
|
|
+
|
|
|
resultMap.put("fx10", DoubleUtils.keepPrecision(realData.get(5).getPointValueInDouble(), 2));
|
|
|
- resultMap.put("fs30", DoubleUtils.keepPrecision(realData.get(6).getPointValueInDouble(), 2));
|
|
|
- resultMap.put("fx30", DoubleUtils.keepPrecision(realData.get(7).getPointValueInDouble(), 2));
|
|
|
- resultMap.put("fs50", DoubleUtils.keepPrecision(realData.get(8).getPointValueInDouble(), 2));
|
|
|
+
|
|
|
+ if (weatherid.contains("NJLF")) {
|
|
|
+ resultMap.put("fs30", DoubleUtils.keepPrecision(realData.get(6).getPointValueInDouble() / 10, 2));
|
|
|
+ }else {
|
|
|
+ resultMap.put("fs30", DoubleUtils.keepPrecision(realData.get(6).getPointValueInDouble(), 2));
|
|
|
+ }
|
|
|
+
|
|
|
+ if (weatherid.contains("NJLF")) {
|
|
|
+ resultMap.put("fx30", DoubleUtils.keepPrecision(realData.get(7).getPointValueInDouble() / 10, 2));
|
|
|
+ }else {
|
|
|
+ resultMap.put("fx30", DoubleUtils.keepPrecision(realData.get(7).getPointValueInDouble(), 2));
|
|
|
+ }
|
|
|
+
|
|
|
+ if (weatherid.contains("NJLF")) {
|
|
|
+ resultMap.put("fs50", DoubleUtils.keepPrecision(realData.get(8).getPointValueInDouble() / 100, 2));
|
|
|
+ }else {
|
|
|
+ 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));
|