From d325cca91328031262c0e6134c37cac441192ee4 Mon Sep 17 00:00:00 2001 From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com> Date: 星期六, 16 八月 2025 11:27:38 +0800 Subject: [PATCH] 代码提交 --- 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/QuartzJob/DeviceInfoController.cs | 46 ++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 44 insertions(+), 2 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 5392760..4a3051a 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" @@ -45,6 +45,12 @@ { return Service.StackerEmergencyStop(DeviceCode); } + [HttpPost, Route("StackerDisconnected"), AllowAnonymous] + public WebResponseContent StackerDisconnected(string DeviceCode) + { + return Service.StackerDisconnected(DeviceCode); + } + [HttpPost, Route("GetConveyorLineInfo"), AllowAnonymous] public WebResponseContent GetConveyorLineInfo(string DeviceChildCode) @@ -53,9 +59,9 @@ } [HttpPost, Route("ConveyorLineHandTask"), AllowAnonymous] - public WebResponseContent ConveyorLineHandTask([FromBody] HandTask stackerhand) + public WebResponseContent ConveyorLineHandTask([FromBody] HandTask ConveyorLinehand) { - return Service.ConveyorLineHandTask(stackerhand); + return Service.ConveyorLineHandTask(ConveyorLinehand); } [HttpPost, Route("ConveyorLineReset"), AllowAnonymous] @@ -87,5 +93,41 @@ { 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