From 14d6589b50fc4e2de782bc03c2dc112f1258f530 Mon Sep 17 00:00:00 2001
From: wangxinhui <wangxinhui@hnkhzn.com>
Date: 星期二, 23 十二月 2025 18:59:09 +0800
Subject: [PATCH] 1

---
 /dev/null                                          |    0 
 项目资料/接口汇总文件/上游WMS接口.docx                           |    0 
 项目资料/接口汇总文件/WCS接口20251216_V1.1.3.docx              |    0 
 项目资料/接口汇总文件/WCS接口_V1.1.3.docx                      |    0 
 项目资料/接口汇总文件/二期播种墙接口文档1.1.docx                      |    0 
 项目资料/操作手册/哈尔滨东安WCS系统操作说明书.doc                      |    0 
 项目代码/WCSServices/WIDESEAWCS_Tasks/AGV/AGVExtend.cs |   10 ++++++++--
 7 files changed, 8 insertions(+), 2 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCSServices/WIDESEAWCS_Tasks/AGV/AGVExtend.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCSServices/WIDESEAWCS_Tasks/AGV/AGVExtend.cs"
index 8d9aeaa..4babe88 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCSServices/WIDESEAWCS_Tasks/AGV/AGVExtend.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCSServices/WIDESEAWCS_Tasks/AGV/AGVExtend.cs"
@@ -31,10 +31,15 @@
                 {
                     foreach (var GroupTask in newTasksOut.GroupBy(x=>x.NextAddress))
                     {
-                        var tasks = GroupTask.OrderBy(x => x.TaskNum).ToList();
+                        int taskCount = 6;
+                        if (GroupTask.ObjToInt() > 201)
+                        {
+                            taskCount = 4;
+                        }
+                        var tasks = GroupTask.Take(taskCount).ToList();
                         TimeSpan span = DateTime.Now - tasks.FirstOrDefault().CreateDate;
                         int taskDownCount = taskDownOut.Where(x => x.NextAddress == GroupTask.Key).Count();
-                        if (taskDownCount < (GroupTask.ObjToInt() > 201 ? 4 : 6) && (int)span.TotalSeconds > 20)
+                        if (taskDownCount < (GroupTask.ObjToInt() > 201 ? 4 : 6) && (tasks.Count >= 4 || (int)span.TotalSeconds >= 20))
                         {
                             try
                             {
@@ -43,6 +48,7 @@
                                     MissionData = new List<MissionDataItem>()
                                 };
                                 string taskGroupId = Guid.NewGuid().ToString().Replace("-", "");
+                                
                                 foreach (var task in tasks)
                                 {
                                     //鑾峰彇鐩爣鐐硅揣浣�
diff --git "a/\351\241\271\347\233\256\350\265\204\346\226\231/\346\216\245\345\217\243\346\261\207\346\200\273\346\226\207\344\273\266/WMS\346\216\245\345\217\243\345\257\271\346\216\245\346\226\207\346\241\24320251216_V1.1.3.docx" "b/\351\241\271\347\233\256\350\265\204\346\226\231/\346\216\245\345\217\243\346\261\207\346\200\273\346\226\207\344\273\266/WCS\346\216\245\345\217\24320251216_V1.1.3.docx"
similarity index 100%
rename from "\351\241\271\347\233\256\350\265\204\346\226\231/\346\216\245\345\217\243\346\261\207\346\200\273\346\226\207\344\273\266/WMS\346\216\245\345\217\243\345\257\271\346\216\245\346\226\207\346\241\24320251216_V1.1.3.docx"
rename to "\351\241\271\347\233\256\350\265\204\346\226\231/\346\216\245\345\217\243\346\261\207\346\200\273\346\226\207\344\273\266/WCS\346\216\245\345\217\24320251216_V1.1.3.docx"
Binary files differ
diff --git "a/\351\241\271\347\233\256\350\265\204\346\226\231/\346\216\245\345\217\243\346\261\207\346\200\273\346\226\207\344\273\266/WMS\346\216\245\345\217\243\345\257\271\346\216\245\346\226\207\346\241\243_V1.1.3.docx" "b/\351\241\271\347\233\256\350\265\204\346\226\231/\346\216\245\345\217\243\346\261\207\346\200\273\346\226\207\344\273\266/WCS\346\216\245\345\217\243_V1.1.3.docx"
similarity index 100%
rename from "\351\241\271\347\233\256\350\265\204\346\226\231/\346\216\245\345\217\243\346\261\207\346\200\273\346\226\207\344\273\266/WMS\346\216\245\345\217\243\345\257\271\346\216\245\346\226\207\346\241\243_V1.1.3.docx"
rename to "\351\241\271\347\233\256\350\265\204\346\226\231/\346\216\245\345\217\243\346\261\207\346\200\273\346\226\207\344\273\266/WCS\346\216\245\345\217\243_V1.1.3.docx"
Binary files differ
diff --git "a/\351\241\271\347\233\256\350\265\204\346\226\231/\346\216\245\345\217\243\346\261\207\346\200\273\346\226\207\344\273\266/WMS\346\216\245\345\217\243.docx" "b/\351\241\271\347\233\256\350\265\204\346\226\231/\346\216\245\345\217\243\346\261\207\346\200\273\346\226\207\344\273\266/WMS\346\216\245\345\217\243.docx"
deleted file mode 100644
index cfaebaf..0000000
--- "a/\351\241\271\347\233\256\350\265\204\346\226\231/\346\216\245\345\217\243\346\261\207\346\200\273\346\226\207\344\273\266/WMS\346\216\245\345\217\243.docx"
+++ /dev/null
Binary files differ
diff --git "a/\351\241\271\347\233\256\350\265\204\346\226\231/\346\216\245\345\217\243\346\261\207\346\200\273\346\226\207\344\273\266/\344\270\212\346\270\270WMS\346\216\245\345\217\243.docx" "b/\351\241\271\347\233\256\350\265\204\346\226\231/\346\216\245\345\217\243\346\261\207\346\200\273\346\226\207\344\273\266/\344\270\212\346\270\270WMS\346\216\245\345\217\243.docx"
new file mode 100644
index 0000000..a224e3f
--- /dev/null
+++ "b/\351\241\271\347\233\256\350\265\204\346\226\231/\346\216\245\345\217\243\346\261\207\346\200\273\346\226\207\344\273\266/\344\270\212\346\270\270WMS\346\216\245\345\217\243.docx"
Binary files differ
diff --git "a/\351\241\271\347\233\256\350\265\204\346\226\231/\346\216\245\345\217\243\346\261\207\346\200\273\346\226\207\344\273\266/EPLight Web API \346\216\245\345\217\243\346\226\207\346\241\2431.1.docx" "b/\351\241\271\347\233\256\350\265\204\346\226\231/\346\216\245\345\217\243\346\261\207\346\200\273\346\226\207\344\273\266/\344\272\214\346\234\237\346\222\255\347\247\215\345\242\231\346\216\245\345\217\243\346\226\207\346\241\2431.1.docx"
similarity index 100%
rename from "\351\241\271\347\233\256\350\265\204\346\226\231/\346\216\245\345\217\243\346\261\207\346\200\273\346\226\207\344\273\266/EPLight Web API \346\216\245\345\217\243\346\226\207\346\241\2431.1.docx"
rename to "\351\241\271\347\233\256\350\265\204\346\226\231/\346\216\245\345\217\243\346\261\207\346\200\273\346\226\207\344\273\266/\344\272\214\346\234\237\346\222\255\347\247\215\345\242\231\346\216\245\345\217\243\346\226\207\346\241\2431.1.docx"
Binary files differ
diff --git "a/\351\241\271\347\233\256\350\265\204\346\226\231/\346\223\215\344\275\234\346\211\213\345\206\214/\345\223\210\345\260\224\346\273\250\344\270\234\345\256\211WCS\347\263\273\347\273\237\346\223\215\344\275\234\350\257\264\346\230\216\344\271\246.doc" "b/\351\241\271\347\233\256\350\265\204\346\226\231/\346\223\215\344\275\234\346\211\213\345\206\214/\345\223\210\345\260\224\346\273\250\344\270\234\345\256\211WCS\347\263\273\347\273\237\346\223\215\344\275\234\350\257\264\346\230\216\344\271\246.doc"
new file mode 100644
index 0000000..7fe50ba
--- /dev/null
+++ "b/\351\241\271\347\233\256\350\265\204\346\226\231/\346\223\215\344\275\234\346\211\213\345\206\214/\345\223\210\345\260\224\346\273\250\344\270\234\345\256\211WCS\347\263\273\347\273\237\346\223\215\344\275\234\350\257\264\346\230\216\344\271\246.doc"
Binary files differ

--
Gitblit v1.9.3