From b0ee051fc769193f851c1b6fa49f2161462e52c5 Mon Sep 17 00:00:00 2001 From: czw <selecti@yeah.net> Date: 星期六, 21 六月 2025 17:32:21 +0800 Subject: [PATCH] 1 --- 2025年6月12日/AuxAllWCS/Build/Project/代码/VS自定义类/AutoThread.cs | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git "a/2025\345\271\2646\346\234\21012\346\227\245/AuxAllWCS/Build/Project/\344\273\243\347\240\201/VS\350\207\252\345\256\232\344\271\211\347\261\273/AutoThread.cs" "b/2025\345\271\2646\346\234\21012\346\227\245/AuxAllWCS/Build/Project/\344\273\243\347\240\201/VS\350\207\252\345\256\232\344\271\211\347\261\273/AutoThread.cs" index c9fabe9..e452ea6 100644 --- "a/2025\345\271\2646\346\234\21012\346\227\245/AuxAllWCS/Build/Project/\344\273\243\347\240\201/VS\350\207\252\345\256\232\344\271\211\347\261\273/AutoThread.cs" +++ "b/2025\345\271\2646\346\234\21012\346\227\245/AuxAllWCS/Build/Project/\344\273\243\347\240\201/VS\350\207\252\345\256\232\344\271\211\347\261\273/AutoThread.cs" @@ -688,7 +688,7 @@ // 2鍙�浼樺厛缁�1020 1008 1016 var t2 = tklist.OrderBy(x => x.T_CREATE).ToList().Find(x => x.S_START_LOC == "1020" || x.S_START_LOC == "1008" || x.S_START_LOC == "1016"); - if (tklist != null) + if (t2 != null) { LogHelper.Info($"鏌ョ湅RGV1 鏈変换鍔task1.S_TASK_NO},宸ヤ綅2 娌′换鍔°� 鎵�020 1008 1016鍙栬揣浠诲姟{t2.S_TASK_NO}銆�); tag.RGV.workMod = 2; @@ -810,7 +810,6 @@ LogHelper.Info($"{e1017first.S_TASK_NO}> taskend 鍐�25"); //tag.RGV.taskend=125 Conn.榛樿Redis.SetValue("RGV.taskend", "125", "RGVQueue", false); - } else { @@ -1155,7 +1154,7 @@ var R5绌洪棽_LAST = (System.UInt16)System.Convert.ChangeType(Conn.榛樿Redis.GetValue($"S{item}Read.R5绌洪棽_LAST"), typeof(System.UInt16)); if (R5 == 5 && R5绌洪棽_LAST == 0) { - task = taskRepository.FindEntity(x => x.S_END_LOC == Bssx && x.S_B_STATE != "瀹屾垚" && x.S_B_STATE != "鍙栨秷"); + task = taskRepository.FindEntity(x => x.S_END_LOC == item && x.S_B_STATE != "瀹屾垚" && x.S_B_STATE != "鍙栨秷"); msg = ""; if (task != null) { -- Gitblit v1.9.1