1
huanghongfeng
2024-11-19 a3dfe45b801f14a574caf27effaed58f1dc3a763
´úÂë¹ÜÀí/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskService.cs
@@ -181,6 +181,8 @@
        /// <returns></returns>
        public WebResponseContent ToPlatform(string palletCode)
        {
            try
            {
            WebResponseContent content = new WebResponseContent();
            GenerateInv generate = new GenerateInv()
            {
@@ -190,6 +192,28 @@
            
            return content = HttpHelper.Post<WebResponseContent>($"{urlQueryinventory}", generate);
        }
            catch (Exception ex)
            {
                throw;
            }
            /*WebResponseContent content = new WebResponseContent();
            GenerateInv generate = new GenerateInv()
            {
                SourceAddress = "",
                PalletCode = palletCode
            };
            content = HttpHelper.Post<WebResponseContent>($"{urlQueryinventory}", generate);
            if (content != null)
            {
                if (content.Status)
                {
                    return content;
                }
            }
            return content = WebResponseContent.Instance.Error();*/
        }
        /// <summary>
        /// æ ¹æ®æ‰˜ç›˜å·ã€èµ·å§‹åœ°å€å‘WMS请求任务