From 82e5d2df096e55f1142106657668b87c8cfedda3 Mon Sep 17 00:00:00 2001 From: czw <selecti@yeah.net> Date: 星期一, 23 六月 2025 09:09:01 +0800 Subject: [PATCH] aux --- 2025年6月12日/AuxAllWCS/Build/Project/代码/自定义类.cs | 12 +++--------- 1 files changed, 3 insertions(+), 9 deletions(-) diff --git "a/2025\345\271\2646\346\234\21012\346\227\245/AuxAllWCS/Build/Project/\344\273\243\347\240\201/\350\207\252\345\256\232\344\271\211\347\261\273.cs" "b/2025\345\271\2646\346\234\21012\346\227\245/AuxAllWCS/Build/Project/\344\273\243\347\240\201/\350\207\252\345\256\232\344\271\211\347\261\273.cs" index dc18472..1252671 100644 --- "a/2025\345\271\2646\346\234\21012\346\227\245/AuxAllWCS/Build/Project/\344\273\243\347\240\201/\350\207\252\345\256\232\344\271\211\347\261\273.cs" +++ "b/2025\345\271\2646\346\234\21012\346\227\245/AuxAllWCS/Build/Project/\344\273\243\347\240\201/\350\207\252\345\256\232\344\271\211\347\261\273.cs" @@ -28,7 +28,6 @@ using GZ.DB.Repository.OIDATABASE; using GZ.DB.IRepository.OIDATABASE; using GZ.DB.Entity.OIDATABASE; -using static System.Windows.Forms.VisualStyles.VisualStyleElement; namespace GZ.Projects.AuxAllWCS { public class Settings @@ -563,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($"杈撻�绾縍GV绌烘墭浠诲姟 from:{from}>to {to}寮�鍒涘缓>"); + LogHelper.Debug($"杈撻�绾縍GV绌烘墭浠诲姟 from:{from}>to {to}寮�鍒涘缓>"); var cntrInfo = string.Join(",", cntrs); ILocRepository locc = new LocRepository(); var fromLoc = locc.FindEntity(x => x.S_LOC_CODE == from); @@ -605,6 +604,7 @@ }; ITaskRepository taskserice = new TaskRepository(); taskserice.Insert(wmsTask); + if (workMode == "AGV") { fromLoc.S_LOCK_STATE = "鍑哄簱閿�; @@ -613,7 +613,7 @@ locc.Update(endLoc); } - LogHelper.Info($"杈撻�绾縍GV绌烘墭浠诲姟 from:{from}>to {to} 鍒涘缓{wmsTask.S_TASK_NO}鎴愬姛"); + LogHelper.Debug($"杈撻�绾縍GV绌烘墭浠诲姟 from:{from}>to {to} 鍒涘缓{wmsTask.S_TASK_NO}鎴愬姛"); return true; } catch (Exception ex) @@ -657,12 +657,6 @@ { #region [鑷畾涔夌被][20250417094750211][Utils] - - public void ThreadSettingInit() - { - Console.WriteLine("Utils ThreadSettingInit "); - - } #endregion [鑷畾涔夌被][20250417094750211][Utils] } public class ToWMSMES -- Gitblit v1.9.1