| | |
| | | //最外层包装已处理完成则直接结束行为 |
| | | if (CurPkg.Item.PKG_LEVEL == FinishLevel) |
| | | { |
| | | action = End(); |
| | | action = End(input); |
| | | } |
| | | //最外层包装未打印扫描则继续 |
| | | else |
| | |
| | | } |
| | | else |
| | | { |
| | | action = End(); |
| | | action = End(input); |
| | | } |
| | | } |
| | | break; |
| | |
| | | //当前包装层级的明细数量未达到包装数量,则完成本次扫描,等待下个产品进站 |
| | | else |
| | | { |
| | | action = End(); |
| | | action = End(input); |
| | | } |
| | | } |
| | | //数据异常 |
| | |
| | | /// 结束执行工序行为 |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | public ApiAction<SubmitOutput> End() |
| | | public ApiAction<SubmitOutput> End(SubmitInput input) |
| | | { |
| | | var action = new ApiAction<SubmitOutput>(new SubmitOutput()); |
| | | |
| | |
| | | } |
| | | |
| | | IsFinished = true; |
| | | CurStep.Status = StepStatus.Finished; |
| | | action.Data.ShortMsg = new("包装完成", ShortMessage.Types.Success); |
| | | |
| | | return action; |