Browse Source

122121212

茶饮新(现场)
fyf 1 year ago
parent
commit
66774a3f57
1 changed files with 12 additions and 11 deletions
  1. +12
    -11
      app/src/main/java/com/bonait/bnframework/business/ExecuteTheRecipe.java

+ 12
- 11
app/src/main/java/com/bonait/bnframework/business/ExecuteTheRecipe.java View File

@@ -813,19 +813,20 @@ public class ExecuteTheRecipe {
if(!isopen)
{
WritePLC("水池进水阀",true,null);
}

if(yw!=null)
}else
{
Object jsf= ReadPLC("水池进水阀");
if(jsf!=null && (boolean)jsf)
if(yw!=null )
{
new Handler().postDelayed(new Runnable() {
@Override
public void run() {
WritePLC("水池进水阀",false,null);
}
}, (int)Math.round((Double.parseDouble(ConfigName.getInstance().AutomaticWaterRefillTime) * 1000)));
Object jsf= ReadPLC("水池进水阀");
if(jsf!=null && (boolean)jsf)
{
new Handler().postDelayed(new Runnable() {
@Override
public void run() {
WritePLC("水池进水阀",false,null);
}
}, (int)Math.round((Double.parseDouble(ConfigName.getInstance().AutomaticWaterRefillTime) * 1000)));
}
}
}
}


Loading…
Cancel
Save