From 8482760e3db0581ee34d79424e73fed69e7948d9 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期一, 30 三月 2026 18:10:20 +0800
Subject: [PATCH] feat(stockChat): 库存3D查看器完整实现

---
 Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Hubs/StockHub.cs |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Hubs/StockHub.cs b/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Hubs/StockHub.cs
index d5208b1..af48512 100644
--- a/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Hubs/StockHub.cs
+++ b/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Hubs/StockHub.cs
@@ -1,4 +1,5 @@
 using Microsoft.AspNetCore.SignalR;
+using System.Collections.Generic;
 using System.Threading.Tasks;
 
 namespace WIDESEA_WMSServer.Hubs
@@ -14,11 +15,31 @@
         }
     }
 
+    /// <summary>
+    /// 搴撳瓨鏇存柊DTO锛圫ignalR鎺ㄩ�佺敤锛�
+    /// </summary>
     public class StockUpdateDTO
     {
         public int LocationId { get; set; }
         public int WarehouseId { get; set; }
+        public string PalletCode { get; set; }
         public float StockQuantity { get; set; }
         public int StockStatus { get; set; }
+        public int LocationStatus { get; set; }
+        public List<StockDetailUpdateDTO> Details { get; set; } = new();
+    }
+
+    /// <summary>
+    /// 搴撳瓨鏄庣粏鏇存柊DTO
+    /// </summary>
+    public class StockDetailUpdateDTO
+    {
+        public int Id { get; set; }
+        public string MaterielCode { get; set; }
+        public string MaterielName { get; set; }
+        public string BatchNo { get; set; }
+        public float StockQuantity { get; set; }
+        public string Unit { get; set; }
+        public int Status { get; set; }
     }
 }
\ No newline at end of file

--
Gitblit v1.9.3