|
|
@ -218,7 +218,7 @@ public class LiquidAdditionInstance { |
|
|
|
// 获取蠕动泵索引 |
|
|
|
private List<Integer> getPumpIndexForGroupOutAndIn( String type ) { |
|
|
|
for ( int i=0; i<8; i++ ) { |
|
|
|
if ( liquids.get(i).type.equals(type) ) { |
|
|
|
if ( liquids.get(i).type.equals(type) && 0 < liquids.get(i).volume ) { |
|
|
|
return List.of(i*2, i*2+1); |
|
|
|
} |
|
|
|
} |
|
|
|