zhaowc
2025-02-14 379bdd05d0b7ede3a161115b7a6fedfef104a37a
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入库放货请求下发至WCS
        /// </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+"入库口放货", "WCS");
                //////解析返回数据
                var ret = JsonConvert.DeserializeObject<WcsModel>(res);
                return ret.Msg.ToString();
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
    }
}