| | |
| | | public string UserCode { get; set; } |
| | | public long UserId { get; set; } |
| | | public string OrgCode { get; set; } |
| | | public string CurrSmtCode { get; set; } |
| | | public string CurSmtCode { get; set; } |
| | | public string CurrSlotNo { get; set; } |
| | | /// <summary> |
| | | /// 步骤类型 |
| | |
| | | action.CatchExceptionWithLog(ex, $"扫描料盘码异常"); |
| | | } |
| | | return action; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 添加一个ApiAction的历史记录 |
| | | /// </summary> |
| | | /// <param name="action"></param> |
| | | public override void AddHistory<T>(Microsoft.AspNetCore.Http.HttpRequest request, ApiAction<T> action) |
| | | { |
| | | var his = action.History(); |
| | | //his.TraceDic.Add("CurReqType", CurReqType); |
| | | //his.TraceDic.Add("CurInv", CurInv); |
| | | //his.TraceDic.Add("req", req); |
| | | //his.TraceDic.Add("toMes", toMes); |
| | | //his.TraceDic.Add("CurPoolList", CurPoolList); |
| | | //his.TraceDic.Add("isComplete", his_isComplete); |
| | | //ActionHistoryList.Add($"{request.HttpContext.TraceIdentifier} at {action.Timestamp:yyyy/MM/dd HH:mm:ss.fff}: {request.Path}", his); |
| | | LastActionTime = DateTime.Now; |
| | | } |
| | | |
| | | #endregion Functions |