From 6dae2517aa69e7a81e87b8cc2bcb63f401fa77dd Mon Sep 17 00:00:00 2001
From: 南骏 池 <chiffly@163.com>
Date: 星期四, 21 八月 2025 13:46:51 +0800
Subject: [PATCH] 1.AGV调用新增日志。

---
 Controllers/Wom/WomdaaController.cs |  199 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 199 insertions(+), 0 deletions(-)

diff --git a/Controllers/Wom/WomdaaController.cs b/Controllers/Wom/WomdaaController.cs
index c761e97..809832b 100644
--- a/Controllers/Wom/WomdaaController.cs
+++ b/Controllers/Wom/WomdaaController.cs
@@ -583,5 +583,204 @@
         }
     }
 
+    /// <summary>
+    ///     鍐呯鏍稿 锛� 鎵弿鍚庣洊鐮佽幏鍙栦俊鎭�
+    /// </summary>
+    /// <returns></returns>
+    [HttpPost("getHgBarInfo")]
+    public ResponseResult getHgBarInfo([FromBody] dynamic query)
+    {
+        try
+        {
+            dynamic resultInfos = new ExpandoObject();
+            // 鍏堝垵濮嬪寲tbBillList灞炴��
+            resultInfos.tbBillList = new ExpandoObject();
+            resultInfos.tbBillList.ZsBarInfo = m.getHgBarInfo(query);
+            resultInfos.tbBillList.Traceability = m.getTraceabilityByLsBar(query);
+            return new ResponseResult
+            {
+                status = 0,
+                message = "OK",
+                data = resultInfos
+            };
+        }
+        catch (Exception ex)
+        {
+            return ResponseResult.ResponseError(ex);
+        }
+    }
+
+    /// <summary>
+    ///     鍐呯鏍稿锛岃拷婧爜鍜屾祦姘寸爜缁戝畾
+    /// </summary>
+    /// <returns></returns>
+    [HttpPost("ScanNxhd")]
+    public ResponseResult ScanNxhd([FromBody] dynamic query)
+    {
+        try
+        {
+            dynamic resultInfos = new ExpandoObject();
+            // 鍏堝垵濮嬪寲tbBillList灞炴��
+            resultInfos.tbBillList = new ExpandoObject();
+            resultInfos.tbBillList = m.ScanNxhd(query);
+            return new ResponseResult
+            {
+                status = 0,
+                message = "OK",
+                data = resultInfos
+            };
+        }
+        catch (Exception ex)
+        {
+            return ResponseResult.ResponseError(ex);
+        }
+    }
+
+    /// <summary>
+    ///     杩斿伐缁戝畾
+    /// </summary>
+    [HttpPost("ScanFgbd")]
+    public ResponseResult ScanFgbd([FromBody] dynamic query)
+    {
+        try
+        {
+            dynamic resultInfos = new ExpandoObject();
+            resultInfos.tbBillList = m.ScanFgbd(query);
+            return new ResponseResult
+            {
+                status = 0,
+                message = "OK",
+                data = resultInfos
+            };
+        }
+        catch (Exception ex)
+        {
+            return ResponseResult.ResponseError(ex);
+        }
+    }
+
+
+    /// <summary>
+    /// AGV鍛煎彨绾夸綋鍒楄〃
+    /// </summary>
+    /// <param name="query"></param>
+    /// <returns></returns>
+    [HttpPost("GetAgvXt")]
+    public ResponseResult GetAgvXt([FromBody] dynamic query)
+    {
+        try
+        {
+            dynamic resultInfos = new ExpandoObject();
+            resultInfos.tbBillList = m.GetAgvXt(query);
+            return new ResponseResult
+            {
+                status = 0,
+                message = "OK",
+                data = resultInfos
+            };
+        }
+        catch (Exception ex)
+        {
+            return ResponseResult.ResponseError(ex);
+        }
+    }
+
+    #endregion
+
+
+
+    #region  pda璋冪敤AGV鐩稿叧
+    /// <summary>
+    ///     AGV閫佹
+    /// </summary>
+    [HttpPost("handleAGVInspection")]
+    public ResponseResult HandleAGVInspection([FromBody] dynamic query)
+    {
+        try
+        {
+            dynamic resultInfos = new ExpandoObject();
+            resultInfos.tbBillList = m.HandleAGVInspection(query);
+            return new ResponseResult
+            {
+                status = 0,
+                message = "OK",
+                data = resultInfos
+            };
+        }
+        catch (Exception ex)
+        {
+            return ResponseResult.ResponseError(ex);
+        }
+    }
+
+        /// <summary>
+    ///     AGV鍛煎彨
+    /// </summary>
+    [HttpPost("handleAGVCall")]
+    public ResponseResult HandleAGVCall([FromBody] dynamic query)
+    {
+        try
+        {
+            dynamic resultInfos = new ExpandoObject();
+            resultInfos.tbBillList = m.HandleAGVCall(query);
+            return new ResponseResult
+            {
+                status = 0,
+                message = "OK",
+                data = resultInfos
+            };
+        }
+        catch (Exception ex)
+        {
+            return ResponseResult.ResponseError(ex);
+        }
+    }
+
+    /// <summary>
+    /// AGV妫�楠屽鐞�
+    /// </summary>
+    [HttpPost("handleAgvJy")]
+    public ResponseResult HandleAgvJy([FromBody] dynamic query)
+    {
+        try
+        {
+            dynamic resultInfos = new ExpandoObject();
+            resultInfos.tbBillList = m.HandleAgvJy(query);
+            return new ResponseResult
+            {
+                status = 0,
+                message = "OK",
+                data = resultInfos
+            };
+        }
+        catch (Exception ex)
+        {
+            return ResponseResult.ResponseError(ex);
+        }
+    }
+
+    /// <summary>
+    ///     AGV鍏ョ珛搴�
+    /// </summary>
+    [HttpPost("handleAgvRk")]
+    public ResponseResult HandleAgvRk([FromBody] dynamic query)
+    {
+        try
+        {
+            dynamic resultInfos = new ExpandoObject();
+            resultInfos.tbBillList = m.HandleAgvRk(query);
+            return new ResponseResult
+            {
+                status = 0,
+                message = "OK",
+                data = resultInfos
+            };
+        }
+        catch (Exception ex)
+        {
+            return ResponseResult.ResponseError(ex);
+        }
+    }
+
     #endregion
 }
\ No newline at end of file

--
Gitblit v1.9.3