From 8529ae408d5e41d5982a8caab2a035e360cfc6c6 Mon Sep 17 00:00:00 2001 From: dengjunjie <dengjunjie@hnkhzn.com> Date: 星期五, 10 五月 2024 18:26:29 +0800 Subject: [PATCH] WMS添加PDA人工出库接口 --- 代码管理/WMS/WMS_Server/WIDESEA_WebApi/Controllers/ToWms/ToWMSController.cs | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WMS_Server/WIDESEA_WebApi/Controllers/ToWms/ToWMSController.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WMS_Server/WIDESEA_WebApi/Controllers/ToWms/ToWMSController.cs" index bf51130..8b4d0c3 100644 --- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WMS_Server/WIDESEA_WebApi/Controllers/ToWms/ToWMSController.cs" +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WMS_Server/WIDESEA_WebApi/Controllers/ToWms/ToWMSController.cs" @@ -12,6 +12,7 @@ public class ToWMSController : ControllerBase { private static readonly object OutsourceInboundobj = new object(); + private static readonly object Outsourceobj=new object(); private static readonly object agvTransferListobj = new object(); private static readonly object shiftingparkingobj = new object(); private static readonly object GetStationobj = new object(); @@ -80,6 +81,20 @@ } /// <summary> + /// 浜哄伐鍑哄簱 + /// </summary> + /// <param name="request"></param> + /// <returns></returns> + [HttpPost, Route("Outsource")] + public WebResponseContent Outsource([FromBody] SaveModel saveModel) + { + lock (Outsourceobj) + { + return new ToMesServer().Outsource(saveModel); + } + } + + /// <summary> /// 澶栧崗鍑哄簱(妫�娴嬩笂鏂�) /// </summary> /// <param name="request"></param> -- Gitblit v1.9.3