| | |
| | | //ConveyorLineSendFinish(conveyorLine, childDeviceCode, ProtocalDetailValue, true); |
| | | content = _taskService.UpdateTaskStatusToNext(task); |
| | | } |
| | | //else |
| | | //{ |
| | | // Dt_StationManager stationManager = _stationManagerRepository.QueryFirst(x => x.stationPLC == conveyorLine.DeviceCode && x.stationChildCode == childDeviceCode && x.stationArea == "Cache"); |
| | | // ////查询对应产线的在途数据 |
| | | // //dt_needBarcode needBarcode = _needBarcodeRepository.QueryFirst(x => x.productLine == station.productLine); |
| | | |
| | | // //needBarcode.inLineNum = _taskRepository.QueryData(x => x.TargetAddress == station.stationChildCode).Count(); |
| | | |
| | | // //若在途数量小于目标位置的缓存数量 则寻找对应常温库存中常温3工序的可出库数据 并建立出库任务 |
| | | // //if (needBarcode.inLineNum <= needBarcode.cacheNum) |
| | | // //{ |
| | | // //} |
| | | // //如果包装缓存站台存在 且有请求 则 |
| | | // if (stationManager != null) |
| | | // { |
| | | // _taskService.RequestOutTaskToBZAsync(stationManager); |
| | | // } |
| | | //} |
| | | } |
| | | |
| | | /// <summary> |