From dae8d2ead57bf0712ef4a7ceecd4f4becfd9e591 Mon Sep 17 00:00:00 2001
From: wxw <Administrator@DESKTOP-5BIMHQ3>
Date: 星期五, 12 九月 2025 13:11:08 +0800
Subject: [PATCH] 修改读取设备状态休眠时间

---
 Admin.NET/WCS.Application/Util/HttpService.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Admin.NET/WCS.Application/Util/HttpService.cs b/Admin.NET/WCS.Application/Util/HttpService.cs
index e50fc2e..83bac49 100644
--- a/Admin.NET/WCS.Application/Util/HttpService.cs
+++ b/Admin.NET/WCS.Application/Util/HttpService.cs
@@ -60,13 +60,13 @@
                 {
                     TaskType = TaskTypeEnum.In,
                     Status = TaskStatusEnum.Wait,
-                    Type = PLCTypeEnum.ConveyorLine,
+                    Type = PLCTypeEnum.AGV,
                     Origin = "WMS",
 
                     Qty = result.TaskList.Qty,
                     PalletNo = model.PalletNo,
                     TaskNo = result.TaskList.TaskNo,
-                    Levels = 999,
+                    Levels = 888,
 
                     StartLocate = model.Locate,
                     StartRoadway = result.TaskList.StartRoadway,
@@ -417,7 +417,7 @@
 
         var result = await url.SetHeaders(dic).SetBody(mod, "application/json", Encoding.UTF8).PostAsAsync<ResponseAgvDto>();
         Log.Information("璋冪敤AGV灏忚溅鎺ュ彛缁х画鎵ц浠诲姟" + result.ToJson());
-        return null;
+        return result;
     }
 
     /// <summary>

--
Gitblit v1.8.0