diff --git a/app/src/main/java/com/example/bpa/service/BusinessServer.java b/app/src/main/java/com/example/bpa/service/BusinessServer.java index de2a566..8e6b8e2 100644 --- a/app/src/main/java/com/example/bpa/service/BusinessServer.java +++ b/app/src/main/java/com/example/bpa/service/BusinessServer.java @@ -142,20 +142,16 @@ public class BusinessServer { ModbusTcpServer.get().WriteBool(bs.plcvar, false); MessageLog.ShowUserMessage(UserLogEnum.订单处理日志,message+"下发成功!"); } - + //将其余料仓出料设置为0,重置 for (int k=1;k<=10;k++) { if(!liaochang.contains(k)) { DeviceData.Get().setDemandValue((short) 0, k, new IWriteCallBack() { @Override - public void onSuccess() { - MessageLog.ShowInfo(message+"下发成功!"); - } + public void onSuccess() { } @Override - public void onFailure(String ErrorMsg) { - MessageLog.ShowInfo(message+"下发失败!"+ErrorMsg); - } + public void onFailure(String ErrorMsg) {} }); } }