服务端的TigerApi 框架,基于.NET6 2024 版本
Rodney Chen
2024-08-28 935722e71cc47d8c9f3b0e911de33c7eb0cbc693
Tiger.Business.MES/WorkAction/ThreeInOne.cs
@@ -90,7 +90,7 @@
                    NeedScan = false,
                    Label = "",
                };
                action = End();
                action = End(input);
            }
            //厂内条码未绑定客户条码
            else
@@ -177,7 +177,7 @@
                CurCSN.FLOW_SN = CurPosition.CurWipSNs.First().SN;
                CurCSN.WORK_ORDER = CurPosition.WorkBatch.WO.ORDER_NO;
                CurCSN.ITEM_CODE = CurPosition.WorkBatch.WO.ITEM_CODE;
                action = End();
                action = End(input);
            }
            return action;
@@ -186,7 +186,7 @@
        /// 结束执行工序行为
        /// </summary>
        /// <returns></returns>
        public ApiAction<SubmitOutput> End()
        public ApiAction<SubmitOutput> End(SubmitInput input)
        {
            var action = new ApiAction<SubmitOutput>(new SubmitOutput());
@@ -247,6 +247,7 @@
            };
            IsFinished = true;
            CurStep.Status = StepStatus.Finished;
            action.Data.ShortMsg = new("客户条码已绑定", ShortMessage.Types.Success);
            //action.LocaleMsg = new($"厂内条码[{0}]已绑定客户条码[{1}]完成", Label.LABEL_NAME);
            action.LocaleMsg = new("MES.WorkAction.ThreeInOne.BindingComplete", CurCSN.FLOW_SN, CurCSN.CUST_SN);