Browse Source

#水位质量判断

zhongwei
yang_shj 8 months ago
parent
commit
c9e8c4c524
  1. 3
      hzims-service/hzims-scheduled/src/main/java/com/hnac/hzims/scheduled/service/operation/home/impl/RealTargetServiceImpl.java

3
hzims-service/hzims-scheduled/src/main/java/com/hnac/hzims/scheduled/service/operation/home/impl/RealTargetServiceImpl.java

@ -955,6 +955,9 @@ public class RealTargetServiceImpl implements RealTargetService {
if(System.currentTimeMillis() - date.getTime() > 30 * 60 * 1000L){ if(System.currentTimeMillis() - date.getTime() > 30 * 60 * 1000L){
return 0.0; return 0.0;
} }
if(fields.get(0).getQ() != 0){
return 0.0;
}
return Double.parseDouble(fields.get(0).getValue()); return Double.parseDouble(fields.get(0).getValue());
} }

Loading…
Cancel
Save