fyf 11 个月前
父节点
当前提交
c8663679fe
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      app/src/main/java/com/bonait/bnframework/business/ExecuteTheRecipe.java

+ 1
- 1
app/src/main/java/com/bonait/bnframework/business/ExecuteTheRecipe.java 查看文件

@@ -2115,7 +2115,7 @@ public class ExecuteTheRecipe {
int AtPresentTime=delay;
if (NoticeAtPresentTime!=null){NoticeAtPresentTime.Run(AtPresentTime);}
long startTime = System.currentTimeMillis();// && ConfigName.getInstance().PlcIsConnect
while ((System.currentTimeMillis() - startTime) <= (delay * 1000) && !IsForcedEnd)
while ((System.currentTimeMillis() - startTime) <= (delay * 1000) && !IsForcedEnd && ConfigName.getInstance().PlcIsConnect)
{
try {
Thread.sleep(100);


正在加载...
取消
保存