From ddab693f389b648157c8b48c7fcbdefc92561dd2 Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期五, 05 七月 2024 19:55:22 +0800
Subject: [PATCH] 老PCS替换代码优化,工业大屏优化,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