满足信号时等待五秒,防止出现刚盘点完毕lms库存信息还未同步完毕的情况
This commit is contained in:
@@ -505,6 +505,12 @@ public class HfStationDeviceDriver extends AbstractOpcDeviceDriver implements De
|
|||||||
if (status != 2) {
|
if (status != 2) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
//满足信号时等待五秒,防止出现刚盘点完毕lms库存信息还未同步完毕的情况
|
||||||
|
try {
|
||||||
|
Thread.sleep(5000L);
|
||||||
|
} catch (InterruptedException e) {
|
||||||
|
throw new RuntimeException(e);
|
||||||
|
}
|
||||||
logServer.deviceInfo("acs申请任务", this.getDevice_code(), "开始申请压机叫料任务!");
|
logServer.deviceInfo("acs申请任务", this.getDevice_code(), "开始申请压机叫料任务!");
|
||||||
this.instruction_call_material_time = date;
|
this.instruction_call_material_time = date;
|
||||||
JSONObject json = new JSONObject();
|
JSONObject json = new JSONObject();
|
||||||
|
|||||||
Reference in New Issue
Block a user