From 3799054e5cd8a42a49cc902cc9d9cb46059b3a7d Mon Sep 17 00:00:00 2001 From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com> Date: 星期日, 14 九月 2025 10:54:54 +0800 Subject: [PATCH] 添加WebSocket将设备运行信息推送到前端,前端将数据接收赋值到对应设备监控页面 --- 项目代码/WMS/WMSServices/WIDESEA_WMSServer/Controllers/PDAController.cs | 8 +------- 1 files changed, 1 insertions(+), 7 deletions(-) diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_WMSServer/Controllers/PDAController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_WMSServer/Controllers/PDAController.cs" index 33d6641..16dbc3b 100644 --- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_WMSServer/Controllers/PDAController.cs" +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_WMSServer/Controllers/PDAController.cs" @@ -5,8 +5,6 @@ using WIDESEA_Core.BaseController; using WIDESEA_Core.Helper; using WIDESEA_DTO.Inbound; -using WIDESEA_IInboundService; -using WIDESEA_IOutboundService; using WIDESEA_ITaskInfoService; using System.IO; using WIDESEA_Model.Models; @@ -21,14 +19,10 @@ [Authorize, ApiController] public class PDAController : Controller { - private readonly IInboundService _inboundService; - private readonly IOutboundService _outboundService; private readonly ITaskService _taskService; - public PDAController(ITaskService taskService, IInboundService inboundService, IOutboundService outboundService) + public PDAController(ITaskService taskService) { - _inboundService = inboundService; - _outboundService = outboundService; _taskService = taskService; } -- Gitblit v1.9.3