服务端的TigerApi 框架,基于.NET6 2024 版本
Ben Lin
2024-12-10 1704d383bf3b7a8dda86d0a403500c08fa2f4dae
Tiger.Business.MES/Transaction/YadaPacking.cs
@@ -298,8 +298,11 @@
            {
                action.Data.ShortMsg = new("工序异常", ShortMessage.Types.Error);
                action.Data.OperInfo = CurOperInfo(input.Locale);
                RemoveCurSnFromCurPackage(Context.ContainsKey("CurPackage") ? (Context["CurPackage"] as WipPkg).Item : null);
                ResetNode();
                //action.CatchExceptionWithLog(ex, $"包装工序:提交操作数据异常");
                action.CatchExceptionWithLog(ex, Biz.L("MES.Transaction.PackingNode.SubmitException"));
            }
            debug.Log(new StackFrame(true), "***** 9", info => { ConsoleExt.WriteLine(info.ToString()); });
            return SetOutPutMqttMsg(action, input.Locale);
@@ -774,7 +777,7 @@
                    }
                };
            }
            //throw new Exception("哈");
            //保存数据库
            SaveStepsCommitActionToDB(endAction);