From 3512011e94f013955b7b1e2de8558b8861db86b7 Mon Sep 17 00:00:00 2001 From: kazelee <1847801760@qq.com> Date: 星期一, 30 六月 2025 16:38:05 +0800 Subject: [PATCH] 优化配置文件读取和AGV调度细节 --- core/WCSCore.cs | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/core/WCSCore.cs b/core/WCSCore.cs index 63ae73d..8cebf87 100644 --- a/core/WCSCore.cs +++ b/core/WCSCore.cs @@ -126,13 +126,13 @@ return; } - if (db.Updateable<TN_Loc_Container>() - .SetColumns(d => d.S_IMG_URL == filepath) - .Where(d => d.S_CNTR_CODE == model.S_CNTR_CODE).ExecuteCommand() <= 0) { + //if (db.Updateable<TN_Loc_Container>() + // .SetColumns(d => d.S_IMG_URL == filepath) + // .Where(d => d.S_CNTR_CODE == model.S_CNTR_CODE).ExecuteCommand() <= 0) { - LogHelper.Info($"鍥剧墖URL '{filepath}' 鍐欏叆鏁版嵁搴撳け璐�); - return; - } + // LogHelper.Info($"鍥剧墖URL '{filepath}' 鍐欏叆鏁版嵁搴撳け璐�); + // return; + //} } catch (Exception ex) { LogHelper.Info($"鍙戠敓浜嗛敊璇細{ex.Message}"); @@ -245,7 +245,7 @@ // 濡傛灉娌℃湁绗﹀悎鏉′欢鐨勮揣浣嶏紝缃┖锛岀瓑寰匬DA閲嶆柊纭畾 if (endLoc == null) { - tn_task.S_END_AREA = Settings.Areas[1][0]; // HJQ + tn_task.S_END_AREA = Settings.Areas[AreaIndex.H璐ф灦鍖篯[0]; // HJQ tn_task.S_END_LOC = "0"; // 涓嶉渶瑕佸啀缁橤Z AGV浼犵┖鍊硷紝涓�紑濮嬪氨娌$粰鍏蜂綋璐т綅锛屽彧缁欎簡Area -- Gitblit v1.9.1