Quellcode durchsuchen

122121212

茶饮新(现场)
fyf vor 1 Jahr
Ursprung
Commit
66774a3f57
1 geänderte Dateien mit 12 neuen und 11 gelöschten Zeilen
  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 Datei anzeigen

@@ -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)));
}
}
}
}


Laden…
Abbrechen
Speichern