rev:生成入库指令校验二段出库指令起点
This commit is contained in:
@@ -1011,6 +1011,13 @@ public class ConveyorWithScannerWeightDeviceDriver extends AbstractOpcDeviceDriv
|
||||
requireSucess = false;
|
||||
return true;
|
||||
}
|
||||
//判断有没有第二段出库输送指令,有的话则不生成入库指令
|
||||
Instruction byStarCodeAndExcute = instructionService.findByStarCodeAndExcute(next_device_code);
|
||||
if (ObjectUtil.isNotEmpty(byStarCodeAndExcute)) {
|
||||
this.message = "有DDJ对接位出入库的指令";
|
||||
requireSucess = false;
|
||||
return true;
|
||||
}
|
||||
//关联站点判断
|
||||
Device nextDevice = deviceAppService.findDeviceByCode(next_device_code);
|
||||
BeltConveyorDeviceDriver beltConveyorDeviceDriver;
|
||||
|
||||
Reference in New Issue
Block a user