From c1dbe3bb1724236f4c283cf5315e555df2026c6d Mon Sep 17 00:00:00 2001
From: 刘磊 <1161824510@qq.com>
Date: 星期四, 15 一月 2026 15:03:12 +0800
Subject: [PATCH] 同步
---
项目代码/WMS/WMSServer/WIDESEA_WMSServer/Controllers/MES/MESController.cs | 65 ++++++++++++++++++++++++++++++--
1 files changed, 60 insertions(+), 5 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServer/WIDESEA_WMSServer/Controllers/MES/MESController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServer/WIDESEA_WMSServer/Controllers/MES/MESController.cs"
index b860861..07fa43e 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServer/WIDESEA_WMSServer/Controllers/MES/MESController.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServer/WIDESEA_WMSServer/Controllers/MES/MESController.cs"
@@ -26,7 +26,7 @@
/// <param name="stationCode"></param>
/// <returns></returns>
[HttpPost, Route("PassPoint"), AllowAnonymous]
- public WebResponseContent PassPoint(string stationCode,string rfid)
+ public WebResponseContent PassPoint(string stationCode, string rfid)
{
return _MESService.PassPoint(stationCode, rfid);
}
@@ -43,6 +43,17 @@
}
/// <summary>
+ /// 娑傝宸ュ崟
+ /// </summary>
+ /// <param name="json"></param>
+ /// <returns></returns>
+ [HttpPost, Route("pushWorkOrderInfo"), AllowAnonymous]
+ public WebResponseContent pushWorkOrderInfo([FromBody] object json)
+ {
+ return _MESService.pushWorkOrderInfo(json);
+ }
+
+ /// <summary>
/// 鎬昏宸ュ崟
/// </summary>
/// <param name="json"></param>
@@ -51,6 +62,17 @@
public WebResponseContent pushOrderInfo([FromBody] object json)
{
return _MESService.pushOrderInfo(json);
+ }
+
+ /// <summary>
+ /// 宸ュ崟鎺掓挙
+ /// </summary>
+ /// <param name="json"></param>
+ /// <returns></returns>
+ [HttpPost, Route("removeWorkOrderInfo"), AllowAnonymous]
+ public WebResponseContent removeWorkOrderInfo([FromBody] object json)
+ {
+ return _MESService.removeWorkOrderInfo(json);
}
/// <summary>
@@ -65,13 +87,46 @@
}
/// <summary>
- /// 杞﹁韩杩囩偣
+ /// BDC璇锋眰杞﹁韩鐗瑰緛
+ /// </summary>
+ /// <param name="json"></param>
+ /// <returns></returns>
+ [HttpPost, Route("getCharacteristic"), AllowAnonymous]
+ public WebResponseContent getCharacteristic([FromBody] string station, string rfid)
+ {
+ return _MESService.getCharacteristic(station, rfid);
+ }
+
+ /// <summary>
+ /// MES鎷夊姩閿佽溅
/// </summary>
/// <param name="stationCode"></param>
/// <returns></returns>
- [HttpPost, Route("PassPoint"), AllowAnonymous]
- public WebResponseContent PassPoint(string stationCode, string rfid)
+ [HttpPost, Route("pullLock"), AllowAnonymous]
+ public WebResponseContent pullLock([FromBody] object json)
{
- return _MESService.(stationCode, rfid);
+ return _MESService.pullLock(json);
+ }
+
+ /// <summary>
+ /// MES鍚屾璁㈠崟鐗瑰緛
+ /// </summary>
+ /// <param name="stationCode"></param>
+ /// <returns></returns>
+ [HttpPost, Route("syncOrderFeature"), AllowAnonymous]
+ public WebResponseContent syncOrderFeature([FromBody] object json)
+ {
+ return _MESService.syncOrderFeature(json);
+ }
+
+ /// <summary>
+ /// 鐩撮�氭秱瑁呯粦瀹氬伐鍗�
+ /// </summary>
+ /// <param name="stationCode"></param>
+ /// <returns></returns>
+ [HttpPost, Route("bindWorkOrder"), AllowAnonymous]
+ public WebResponseContent bindWorkOrder([FromBody] string station, string rfid)
+ {
+ return _MESService.bindWorkOrder(station, rfid);
}
}
\ No newline at end of file
--
Gitblit v1.9.3