服务端的TigerApi 框架,基于.NET6 2024 版本
Ben Lin
2024-07-31 10f3247a8320da7e1e519c20b8014c65958301c2
Tiger.Business.MES/Transaction/CollectNode.cs
@@ -140,14 +140,14 @@
                    }
                }
                //没有可执行的工步
                ResetSteps();
                ResetNode();
                action.IsSuccessed = false;
                //action.LocaleMsg = new($"岗位[{CurPosition.POST_CODE}]工步执行异常,请重新扫描产品条码", CurPosition.POST_CODE);
                action.LocaleMsg = new("MES.Transaction.CollectNode.Submit.WorkStepException", CurPosition.POST_CODE);
            }
            catch (Exception ex)
            {
                action.CatchExceptionWithLog(ex, $"采集工序:扫描产品条码异常");
                action.CatchExceptionWithLog(ex, $"采集工序:提交操作数据异常");
            }
            return action;
        }
@@ -340,8 +340,8 @@
            }
            catch (Exception ex)
            {
                ResetSteps();
                action.CatchExceptionWithLog(ex, $"采集工序:扫描产品条码异常");
                ResetNode();
                action.CatchExceptionWithLog(ex, $"采集工序:工序节点工步提交数据异常");
            }
            return action;
        }