Kaynağa Gözat

测风塔数据小数位改为2位

xusl 9 ay önce
ebeveyn
işleme
840bfd3bd6

+ 21 - 21
cpp-admin/src/main/java/com/cpp/web/domain/station/WindTowerStatusData.java

@@ -35,147 +35,147 @@ public class WindTowerStatusData extends BaseCppEntity {
      * 温度
      */
     @ApiModelProperty(value = "温度(℃)")
-    @Digits(integer = 10, fraction = 4)
+    @Digits(integer = 10, fraction = 2)
     private BigDecimal t = new BigDecimal(-99);
 
     /**
      * 湿度(%)
      */
     @ApiModelProperty(value = "湿度(%)")
-    @Digits(integer = 10, fraction = 4)
+    @Digits(integer = 10, fraction = 2)
     private BigDecimal rh = new BigDecimal(-99);
 
     /**
      * 气压(KPa)
      */
     @ApiModelProperty(value = "气压(KPa)")
-    @Digits(integer = 10, fraction = 4)
+    @Digits(integer = 10, fraction = 2)
     private BigDecimal pa = new BigDecimal(-99);
 
     /**
      * 10米风速(m/s)
      */
     @ApiModelProperty(value = "10米风速(m/s)")
-    @Digits(integer = 10, fraction = 4)
+    @Digits(integer = 10, fraction = 2)
     private BigDecimal ws10 = new BigDecimal(-99);
 
     /**
      * 10米风向(°)
      */
     @ApiModelProperty(value = "10米风向(°)")
-    @Digits(integer = 10, fraction = 4)
+    @Digits(integer = 10, fraction = 2)
     private BigDecimal wd10 = new BigDecimal(-99);
 
     /**
      * 30米风速(m/s)
      */
     @ApiModelProperty(value = "30米风速(m/s)")
-    @Digits(integer = 10, fraction = 4)
+    @Digits(integer = 10, fraction = 2)
     private BigDecimal ws30 = new BigDecimal(-99);
 
     /**
      * 30米风向(°)
      */
     @ApiModelProperty(value = "30米风向(°)")
-    @Digits(integer = 10, fraction = 4)
+    @Digits(integer = 10, fraction = 2)
     private BigDecimal wd30 = new BigDecimal(-99);
 
     /**
      * 50米风速(m/s)
      */
     @ApiModelProperty(value = "50米风速(m/s)")
-    @Digits(integer = 10, fraction = 4)
+    @Digits(integer = 10, fraction = 2)
     private BigDecimal ws50 = new BigDecimal(-99);
 
     /**
      * 50米风向(°)
      */
     @ApiModelProperty(value = "50米风向(°)")
-    @Digits(integer = 10, fraction = 4)
+    @Digits(integer = 10, fraction = 2)
     private BigDecimal wd50 = new BigDecimal(-99);
 
     /**
      * 60米风速(m/s)
      */
     @ApiModelProperty(value = "60米风速(m/s)")
-    @Digits(integer = 10, fraction = 4)
+    @Digits(integer = 10, fraction = 2)
     private BigDecimal ws60 = new BigDecimal(-99);
 
     /**
      * 60米风向(°)
      */
     @ApiModelProperty(value = "60米风向(°)")
-    @Digits(integer = 10, fraction = 4)
+    @Digits(integer = 10, fraction = 2)
     private BigDecimal wd60 = new BigDecimal(-99);
 
     /**
      * 70米风速(m/s)
      */
     @ApiModelProperty(value = "70米风速(m/s)")
-    @Digits(integer = 10, fraction = 4)
+    @Digits(integer = 10, fraction = 2)
     private BigDecimal ws70 = new BigDecimal(-99);
 
     /**
      * 70米风向(°)
      */
     @ApiModelProperty(value = "70米风向(°)")
-    @Digits(integer = 10, fraction = 4)
+    @Digits(integer = 10, fraction = 2)
     private BigDecimal wd70 = new BigDecimal(-99);
 
     /**
      * 80米风速(m/s)
      */
     @ApiModelProperty(value = "80米风速(m/s)")
-    @Digits(integer = 10, fraction = 4)
+    @Digits(integer = 10, fraction = 2)
     private BigDecimal ws80 = new BigDecimal(-99);
 
     /**
      * 80米风向(°)
      */
     @ApiModelProperty(value = "80米风向(°)")
-    @Digits(integer = 10, fraction = 4)
+    @Digits(integer = 10, fraction = 2)
     private BigDecimal wd80 = new BigDecimal(-99);
 
     /**
      * 90米风速(m/s)
      */
     @ApiModelProperty(value = "90米风速(m/s)")
-    @Digits(integer = 10, fraction = 4)
+    @Digits(integer = 10, fraction = 2)
     private BigDecimal ws90 = new BigDecimal(-99);
 
     /**
      * 90米风向(°)
      */
     @ApiModelProperty(value = "90米风向(°)")
-    @Digits(integer = 10, fraction = 4)
+    @Digits(integer = 10, fraction = 2)
     private BigDecimal wd90 = new BigDecimal(-99);
 
     /**
      * 100米风速(m/s)
      */
     @ApiModelProperty(value = "100米风速(m/s)")
-    @Digits(integer = 10, fraction = 4)
+    @Digits(integer = 10, fraction = 2)
     private BigDecimal ws100 = new BigDecimal(-99);
 
     /**
      * 100米风向(°)
      */
     @ApiModelProperty(value = "100米风向(°)")
-    @Digits(integer = 10, fraction = 4)
+    @Digits(integer = 10, fraction = 2)
     private BigDecimal wd100 = new BigDecimal(-99);
 
     /**
      * 轮毂高度风速
      */
     @ApiModelProperty(value = "轮毂高度风速")
-    @Digits(integer = 10, fraction = 4)
+    @Digits(integer = 10, fraction = 2)
     private BigDecimal wsHubHeight = new BigDecimal(-99);
 
     /**
      * 风机轮毂高度风向瞬时值(°)
      */
     @ApiModelProperty(value = "轮毂高度风向(°)")
-    @Digits(integer = 10, fraction = 4)
+    @Digits(integer = 10, fraction = 2)
     private BigDecimal wdHubHeight = new BigDecimal(-99);
 
 }