From 272ea6040258a7adfc807123036378915860fb90 Mon Sep 17 00:00:00 2001 From: zongzhibin <zongzhibin@weben-smart.com> Date: 周日, 24 11月 2024 14:23:31 +0800 Subject: [PATCH] add --- CC/iWareCC_ASRS/ThreadService/02_BZ39工位(补板后工位)/Outbound/1、DataProcess_RobotBuffer_AutoQiTaoOutbound.cs | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git "a/CC/iWareCC_ASRS/ThreadService/02_BZ39\345\267\245\344\275\215\357\274\210\350\241\245\346\235\277\345\220\216\345\267\245\344\275\215\357\274\211/Outbound/1\343\200\201DataProcess_RobotBuffer_AutoQiTaoOutbound.cs" "b/CC/iWareCC_ASRS/ThreadService/02_BZ39\345\267\245\344\275\215\357\274\210\350\241\245\346\235\277\345\220\216\345\267\245\344\275\215\357\274\211/Outbound/1\343\200\201DataProcess_RobotBuffer_AutoQiTaoOutbound.cs" index da14603..d4a4924 100644 --- "a/CC/iWareCC_ASRS/ThreadService/02_BZ39\345\267\245\344\275\215\357\274\210\350\241\245\346\235\277\345\220\216\345\267\245\344\275\215\357\274\211/Outbound/1\343\200\201DataProcess_RobotBuffer_AutoQiTaoOutbound.cs" +++ "b/CC/iWareCC_ASRS/ThreadService/02_BZ39\345\267\245\344\275\215\357\274\210\350\241\245\346\235\277\345\220\216\345\267\245\344\275\215\357\274\211/Outbound/1\343\200\201DataProcess_RobotBuffer_AutoQiTaoOutbound.cs" @@ -43,8 +43,11 @@ if (allCount == group.ToList().Count()) { //婊¤冻榻愬锛屽嚭搴� - group.ToList().ForEach(x => + //娉ㄦ剰锛氭帓搴忎弗鏍兼寜鐓� 娆″簭 杩涜鎺掑簭銆� 锛侊紒锛侊紒锛侊紒锛侊紒 + var doList = upiList.Where(x => x.PackageCode == packageCode).OrderBy(x => x.Shelf).ToList(); + foreach (var item in doList) { + var x = group.ToList().Find(b => b.Upi == item.UPI); x.StockStatus = (int)StockStatusEnum.榻愬寘寰呭嚭搴�; //鐢熸垚鍑哄簱浠诲姟 @@ -69,7 +72,7 @@ RbTaskTypeEnumName = RbTaskTypeEnum.鍑哄簱浠诲姟.ToString(), TaskStatus = (int)TaskStatusEnum.鏂板缓, TaskStatusName = TaskStatusEnum.鏂板缓.ToString(), - TaskMsg = "鍏ュ簱", + TaskMsg = "鍑哄簱浠诲姟", CreateTime = DateTime.Now, @@ -82,7 +85,9 @@ var place = StationHandler.GetPlaceByPlaceCode(x.PlaceCode, wmsDB); place.PlaceStatus = (int)PlaceStatusEnum.閿佸畾; - }); + + Thread.Sleep(100); + } } } -- Gitblit v1.9.3