巷道口输送机下发读值校验优化
This commit is contained in:
@@ -496,11 +496,11 @@ public class RoadConvThread implements Runnable {
|
||||
if (i == 1) {
|
||||
|
||||
//执行下发后再次读输送机任务号检查是否写入成功
|
||||
boolean sendConvIsSuccess = Convert.toInt(mydoJobStockin.getTaskNo()) == getRoadConvTaskNo(inSsjDevice.getDeviceCode());
|
||||
if (!sendConvIsSuccess){
|
||||
log.info("【更新状态】巷道口输送机{}未获取到下发任务号:{},等待重试中...", inSsjDevice.getDeviceCode(), mydoJobStockin.getTaskNo());
|
||||
return;
|
||||
}
|
||||
// boolean sendConvIsSuccess = Convert.toInt(mydoJobStockin.getTaskNo()) == getRoadConvTaskNo(inSsjDevice.getDeviceCode());
|
||||
// if (!sendConvIsSuccess){
|
||||
// log.info("【更新状态】巷道口输送机{}未获取到下发任务号:{},等待重试中...", inSsjDevice.getDeviceCode(), mydoJobStockin.getTaskNo());
|
||||
// return;
|
||||
// }
|
||||
|
||||
//写入成功则更新执行阶段
|
||||
mydoJobStockin.setStatus(TASK_STATUS_RUNNING);
|
||||
|
||||
Reference in New Issue
Block a user