From 4110b7475eccf48283ff22c0e4545850849d445d Mon Sep 17 00:00:00 2001
From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com>
Date: 星期三, 30 七月 2025 14:03:06 +0800
Subject: [PATCH] 代码提交

---
 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/QuartzJob/DeviceInfoController.cs |   61 ++++++++++++++++++++++++++++++
 1 files changed, 61 insertions(+), 0 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/QuartzJob/DeviceInfoController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/QuartzJob/DeviceInfoController.cs"
index 5996ff9..5392760 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/QuartzJob/DeviceInfoController.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/QuartzJob/DeviceInfoController.cs"
@@ -3,6 +3,7 @@
 using Microsoft.AspNetCore.Mvc;
 using WIDESEAWCS_Core;
 using WIDESEAWCS_Core.BaseController;
+using WIDESEAWCS_DTO.StackerHandTask;
 using WIDESEAWCS_ISystemServices;
 using WIDESEAWCS_Model.Models;
 using WIDESEAWCS_QuartzJob.DTO;
@@ -26,5 +27,65 @@
         {
             return await Service.QueryDeviceProInfos();
         }
+
+        [HttpPost, Route("StackerHandTask"), AllowAnonymous]
+        public WebResponseContent StackerHandTask([FromBody] HandTask stackerhand)
+        {
+            return Service.StackerHandTask(stackerhand);
+        }
+
+        [HttpPost, Route("StackerReset"), AllowAnonymous]
+        public WebResponseContent StackerReset(string DeviceCode)
+        {
+            return Service.StackerReset(DeviceCode);
+        }
+
+        [HttpPost, Route("StackerEmergencyStop"), AllowAnonymous]
+        public WebResponseContent StackerEmergencyStop(string DeviceCode)
+        {
+            return Service.StackerEmergencyStop(DeviceCode);
+        }
+
+        [HttpPost, Route("GetConveyorLineInfo"), AllowAnonymous]
+        public WebResponseContent GetConveyorLineInfo(string DeviceChildCode)
+        {
+            return Service.GetConveyorLineInfo(DeviceChildCode);
+        }
+
+        [HttpPost, Route("ConveyorLineHandTask"), AllowAnonymous]
+        public WebResponseContent ConveyorLineHandTask([FromBody] HandTask stackerhand)
+        {
+            return Service.ConveyorLineHandTask(stackerhand);
+        }
+
+        [HttpPost, Route("ConveyorLineReset"), AllowAnonymous]
+        public WebResponseContent ConveyorLineReset(string DeviceChildCode)
+        {
+            return Service.ConveyorLineReset(DeviceChildCode);
+        }
+
+        [HttpPost, Route("ConveyorLineEmergencyStop"), AllowAnonymous]
+        public WebResponseContent ConveyorLineEmergencyStop(string DeviceChildCode)
+        {
+            return Service.ConveyorLineEmergencyStop(DeviceChildCode);
+        }
+
+        [HttpPost, Route("ConveyorLineReturn"), AllowAnonymous]
+        public WebResponseContent ConveyorLineReturn(string DeviceChildCode)
+        {
+            return Service.ConveyorLineReturn(DeviceChildCode);
+        }
+
+        [HttpPost, Route("ConveyorLineCancel"), AllowAnonymous]
+        public WebResponseContent ConveyorLineCancel(string DeviceChildCode)
+        {
+            return Service.ConveyorLineCancel(DeviceChildCode);
+        }
+
+        [HttpPost, Route("ConveyorLineInitialize"), AllowAnonymous]
+        public WebResponseContent ConveyorLineInitialize(string DeviceChildCode)
+        {
+            return Service.ConveyorLineInitialize(DeviceChildCode);
+        }
     }
 }

--
Gitblit v1.9.3