Pārlūkot izejas kodu

现场调试改动99

master
fyf pirms 1 gada
vecāks
revīzija
e73972218e
1 mainītis faili ar 3 papildinājumiem un 7 dzēšanām
  1. +3
    -7
      app/src/main/java/com/example/bpa/service/BusinessServer.java

+ 3
- 7
app/src/main/java/com/example/bpa/service/BusinessServer.java Parādīt failu

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


Notiek ielāde…
Atcelt
Saglabāt