| | |
| | | { |
| | | minPkgList = GetMinPkgList(_pkaction); |
| | | } |
| | | if (curAction is PrintInStoreLabel) |
| | | { |
| | | minPkgList = (curAction as PrintInStoreLabel).CurPkg.Item.GetWipSnList().Select(q => q.Value).ToList(); |
| | | } |
| | | } |
| | | return string.Join("\r\n", minPkgList); |
| | | case "GetDescription": |
| | |
| | | { |
| | | list = _action.CurPkg.Item.GetWipSnList().Select(q => q.Value).ToList(); |
| | | } |
| | | if (curAction is PrintInStoreLabel) |
| | | { |
| | | list = (curAction as PrintInStoreLabel).CurPkg.Item.GetWipSnList().Select(q => q.Value).ToList(); |
| | | } |
| | | } |
| | | return GetHuaWeiWeek(WorkBatch.Batch.ORDER_NO, list); |
| | | case "GetQty": |
| | |
| | | /// <summary> |
| | | /// 开始时间 |
| | | /// </summary> |
| | | public static DateTime StartTime { get; set; } |
| | | public DateTime StartTime { get; set; } |
| | | /// <summary> |
| | | /// 保存日志 |
| | | /// </summary> |
| | | public static ApiAction SaveLog(JobExecutingContext context, string remark) |
| | | public ApiAction SaveLog(JobExecutingContext context, string remark) |
| | | { |
| | | ApiAction action = new ApiAction(); |
| | | Type type = Type.GetType(context.JobDetail.JobType, throwOnError: true); |