From fe256a7afaa132910875d3dc73783d9ab2d7ace5 Mon Sep 17 00:00:00 2001
From: liulijun <liulijun@hnkhzn.com>
Date: 星期四, 12 三月 2026 18:57:44 +0800
Subject: [PATCH] 老厂排程单页面增加用纸顺序号和是否缺料

---
 项目代码/WMS/WMSServices/WIDESEA_External/MESService/InvokeMESService.cs |   66 ++++++++++++++++++++++++++++++++
 1 files changed, 65 insertions(+), 1 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_External/MESService/InvokeMESService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_External/MESService/InvokeMESService.cs"
index e7c3177..2537e9b 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_External/MESService/InvokeMESService.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_External/MESService/InvokeMESService.cs"
@@ -28,6 +28,70 @@
         {
             ContractResolver = new CamelCasePropertyNamesContractResolver()
         };
-        
+        /// <summary>
+        /// MES閰嶉�佸嚭鍙戦�氱煡
+        /// </summary>
+        /// <param name="mESDispatchModel"></param>
+        /// <returns></returns>
+        public string MESDispatchUp(MESDispatchModel mESDispatchModel)
+        {
+            Dt_ApiInfo apiInfo = _apiInfoRepository.QueryFirst(x => x.ApiCode == APIEnum.MESDispatchUp.ToString());
+
+            string response = HttpMesHelper.Post(apiInfo.ApiAddress, JsonConvert.SerializeObject(mESDispatchModel));
+
+            return response;
+        }
+        /// <summary>
+        /// MES閰嶉�佸埌杈鹃�氱煡
+        /// </summary>
+        /// <param name="mESDeliveryModel"></param>
+        /// <returns></returns>
+        public string MESDelivery(MESDeliveryModel mESDeliveryModel)
+        {
+            Dt_ApiInfo apiInfo = _apiInfoRepository.QueryFirst(x => x.ApiCode == APIEnum.MESDelivery.ToString());
+
+            string response = HttpMesHelper.Post(apiInfo.ApiAddress, JsonConvert.SerializeObject(mESDeliveryModel));
+
+            return response;
+        }
+        /// <summary>
+        /// MES閫�鏂欑┖鎵樻帴鏀堕�氱煡
+        /// </summary>
+        /// <param name="mESRecepNoticeModel"></param>
+        /// <returns></returns>
+        public string MESRecepNotice(MESRecepNoticeModel mESRecepNoticeModel)
+        {
+            Dt_ApiInfo apiInfo = _apiInfoRepository.QueryFirst(x => x.ApiCode == APIEnum.MESRecepNotice.ToString());
+
+            string response = HttpMesHelper.Post(apiInfo.ApiAddress, JsonConvert.SerializeObject(mESRecepNoticeModel));
+            
+            return response;
+        }
+        /// <summary>
+        /// MES灏忚溅鍒拌揪閫氱煡
+        /// </summary>
+        /// <param name="mESAvgArriveNoticeModel"></param>
+        /// <returns></returns>
+        public string MESAvgArriveNotice(MESAvgArriveNoticeModel mESAvgArriveNoticeModel)
+        {
+            Dt_ApiInfo apiInfo = _apiInfoRepository.QueryFirst(x => x.ApiCode == APIEnum.MESAvgArriveNotice.ToString());
+
+            string response = HttpMesHelper.Post(apiInfo.ApiAddress, JsonConvert.SerializeObject(mESAvgArriveNoticeModel));
+
+            return response;
+        }
+        /// <summary>
+        /// MES浜ч噺鍥炰紶
+        /// </summary>
+        /// <param name="boxCode">鎴愬搧绠辩爜</param>
+        /// <returns></returns>
+        public string MESBoxCodeNotice(string boxCode)
+        {
+            Dt_ApiInfo apiInfo = _apiInfoRepository.QueryFirst(x => x.ApiCode == APIEnum.MESBoxCodeNotice.ToString());
+
+            string response = HttpMesHelper.Post(apiInfo.ApiAddress+ "?boxCode="+boxCode);
+
+            return response;
+        }
     }
 }

--
Gitblit v1.9.3