Sfoglia il codice sorgente

122121212

茶饮新(现场)
fyf 1 anno fa
parent
commit
66774a3f57
1 ha cambiato i file con 12 aggiunte e 11 eliminazioni
  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 Vedi 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)));
}
}
}
}


Caricamento…
Annulla
Salva