Browse Source

add
添加重设参数值

18339543638 1 year ago
parent
commit
360bde7d89

+ 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());