aux
czw
2025-06-23 82e5d2df096e55f1142106657668b87c8cfedda3
2025Äê6ÔÂ12ÈÕ/AuxAllWCS/Build/Project/´úÂë/×Ô¶¨ÒåÀà.cs
@@ -562,8 +562,8 @@
        #region    [自定义类][20250325152141671][TaskProcess]
        internal static bool CreateTask(string no, string from, string to, string taskType, int pri, List<string> cntrs, string workMode = "AGV", int cntrCount = 1, int startLayer = 1, int endLayer = 1)
        {
            LogHelper.Info($"输送线RGV空托任务 from:{from}>to {to}开始创建>");
            LogHelper.Debug($"输送线RGV空托任务 from:{from}>to {to}开始创建>");
            var cntrInfo = string.Join(",", cntrs);
            ILocRepository locc = new LocRepository();
            var fromLoc = locc.FindEntity(x => x.S_LOC_CODE == from);
@@ -604,6 +604,7 @@
                };
                ITaskRepository taskserice = new TaskRepository();
                taskserice.Insert(wmsTask);
                if (workMode == "AGV")
                {
                    fromLoc.S_LOCK_STATE = "出库锁";
@@ -612,7 +613,7 @@
                    locc.Update(endLoc);
                }
                LogHelper.Info($"输送线RGV空托任务 from:{from}>to {to} åˆ›å»º{wmsTask.S_TASK_NO}成功");
                LogHelper.Debug($"输送线RGV空托任务 from:{from}>to {to} åˆ›å»º{wmsTask.S_TASK_NO}成功");
                return true;
            }
            catch (Exception ex)