Преглед на файлове

add
添加重设参数值

18339543638 преди 1 година
родител
ревизия
360bde7d89
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      nb-service-api/web-service-api/src/main/java/com/nb/web/api/entity/common/BusDeviceRunningEntity.java

+ 2 - 2
nb-service-api/web-service-api/src/main/java/com/nb/web/api/entity/common/BusDeviceRunningEntity.java

@@ -249,8 +249,8 @@ public class BusDeviceRunningEntity extends CommonDeviceParam<String,String> {
         }
 
         //设置阻塞
-        this.setBlock1(items.getInteger(PumpParams.maxFlow));
-        this.setBlock2(items.getInteger(PumpParams.maxFlow));
+        this.setBlock1(items.getInteger(PumpParams.block1));
+        this.setBlock2(items.getInteger(PumpParams.block2));
 
         if(ObjectUtil.isNotNull(this.getBlock1())&&ObjectUtil.isNotNull(this.getBlock2())){
             int abs = Math.abs(this.getBlock1() - this.getBlock2());