From 19724b0969eb2f91b38efb262a6ef4de04d6b0c5 Mon Sep 17 00:00:00 2001
From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com>
Date: 星期二, 14 十月 2025 12:07:58 +0800
Subject: [PATCH] 新增“有货状态”显示及数据处理逻辑支持在Home.vue和 LineComponent.vue中新增了“有货状态”显示功能,为 RGV 和堆垛机对象添加了 InStock属性。 修改了 Home.vue 的 created生命周期和 LineComponent.vue的 update 方法,增加了对 inStock数据的处理逻辑。删除了三个旧的二进制文件,新增了六个新的二进制文件,可能与项目构建或依赖更新相关。优化了任务分配和状态判断逻辑,确保任务执行更加准确和高效。

---
 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/QuartzJob/DeviceInfoController.cs |  107 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 107 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..194cfa7 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,111 @@
         {
             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("StackerDisconnected"), AllowAnonymous]
+        public WebResponseContent StackerDisconnected(string DeviceCode)
+        {
+            return Service.StackerDisconnected(DeviceCode);
+        }
+        [HttpPost, Route("StackerRecall"), AllowAnonymous]
+        public WebResponseContent StackerRecall(string DeviceCode)
+        {
+            return Service.StackerRecall(DeviceCode);
+        }
+
+        [HttpPost, Route("GetConveyorLineInfo"), AllowAnonymous]
+        public WebResponseContent GetConveyorLineInfo(string DeviceChildCode)
+        {
+            return Service.GetConveyorLineInfo(DeviceChildCode);
+        }
+
+        [HttpPost, Route("ConveyorLineHandTask"), AllowAnonymous]
+        public WebResponseContent ConveyorLineHandTask([FromBody] HandTask ConveyorLinehand)
+        {
+            return Service.ConveyorLineHandTask(ConveyorLinehand);
+        }
+
+        [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);
+        }
+
+        [HttpPost, Route("RGVHandTask"), AllowAnonymous]
+        public WebResponseContent RGVHandTask([FromBody] HandTask RGVhand)
+        {
+            return Service.RGVHandTask(RGVhand);
+        }
+
+        [HttpPost, Route("RGVReset"), AllowAnonymous]
+        public WebResponseContent RGVReset(string DeviceCode)
+        {
+            return Service.RGVReset(DeviceCode);
+        }
+
+        [HttpPost, Route("RGVEmergencyStop"), AllowAnonymous]
+        public WebResponseContent RGVEmergencyStop(string DeviceCode)
+        {
+            return Service.RGVEmergencyStop(DeviceCode);
+        }
+
+        [HttpPost, Route("RGVCancel"), AllowAnonymous]
+        public WebResponseContent RGVCancel(string DeviceCode)
+        {
+            return Service.RGVCancel(DeviceCode);
+        }
+
+        [HttpPost, Route("RGVInitialize"), AllowAnonymous]
+        public WebResponseContent RGVInitialize(string DeviceCode)
+        {
+            return Service.RGVInitialize(DeviceCode);
+        }
+
+        [HttpPost, Route("RGVPause"), AllowAnonymous]
+        public WebResponseContent RGVPause(string DeviceCode)
+        {
+            return Service.RGVPause(DeviceCode);
+        }
     }
 }

--
Gitblit v1.9.3