From 379bdd05d0b7ede3a161115b7a6fedfef104a37a Mon Sep 17 00:00:00 2001
From: zhaowc <526854230@qq.com>
Date: 星期五, 14 二月 2025 10:33:52 +0800
Subject: [PATCH] 小车入库前等待

---
 Wms/WMS.BLL/LogServer/TaskServer.cs |   26 ++++++++++++++++++++++++++
 1 files changed, 26 insertions(+), 0 deletions(-)

diff --git a/Wms/WMS.BLL/LogServer/TaskServer.cs b/Wms/WMS.BLL/LogServer/TaskServer.cs
index 2228a6e..9da8836 100644
--- a/Wms/WMS.BLL/LogServer/TaskServer.cs
+++ b/Wms/WMS.BLL/LogServer/TaskServer.cs
@@ -3,9 +3,12 @@
 using System.Linq;
 using System.Linq.Expressions;
 using System.Text;
+using Model.InterFaceModel;
 using Model.ModelDto.BllSoDto;
 using Model.ModelDto.LogDto;
+using Newtonsoft.Json;
 using SqlSugar;
+using Utility.Tools;
 using WMS.DAL; 
 using WMS.Entity.Context;
 using WMS.Entity.LogEntity;
@@ -158,5 +161,28 @@
                 throw new Exception(e.Message);
             }
         }
+
+        /// <summary>
+        /// AGV鍏ュ簱鏀捐揣璇锋眰涓嬪彂鑷砏CS
+        /// </summary>
+        /// <param name="port"></param> 鍏ュ簱鍙�
+        /// <param name="url"></param>  璇锋眰鍦板潃
+        /// <returns></returns>
+        public string  GetWcsPuttype(string port,string url)
+        {
+            try
+            {
+                var res = HttpHelper.DoPost(url, port, "璇锋眰WCS"+ port+"鍏ュ簱鍙f斁璐�", "WCS");
+
+                //////瑙f瀽杩斿洖鏁版嵁 
+                var ret = JsonConvert.DeserializeObject<WcsModel>(res);
+                return ret.Msg.ToString();
+            }                                                                                                 
+            catch (Exception ex)
+            {
+
+                throw ex;
+            }
+        } 
     }
 }

--
Gitblit v1.8.0