From 3799054e5cd8a42a49cc902cc9d9cb46059b3a7d Mon Sep 17 00:00:00 2001 From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com> Date: 星期日, 14 九月 2025 10:54:54 +0800 Subject: [PATCH] 添加WebSocket将设备运行信息推送到前端,前端将数据接收赋值到对应设备监控页面 --- 项目代码/WCS/WCSServices/WIDESEAWCS_Server/Filter/CustomProfile.cs | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WCSServices/WIDESEAWCS_Server/Filter/CustomProfile.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WCSServices/WIDESEAWCS_Server/Filter/CustomProfile.cs" index 1c3de41..c93c205 100644 --- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WCSServices/WIDESEAWCS_Server/Filter/CustomProfile.cs" +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WCSServices/WIDESEAWCS_Server/Filter/CustomProfile.cs" @@ -27,6 +27,7 @@ CreateMap<Dt_Task, ConveyorLineTaskCommandWrite>() .ForMember(a => a.Barcode, b => b.MapFrom(b => b.PalletCode)) .ForMember(a => a.TaskNum, b => b.MapFrom(b => b.TaskNum)) + .ForMember(a => a.Weight, b => b.MapFrom(b => b.TaskLength)) .ForMember(a => a.TargetAddress, b => b.MapFrom(b => b.NextAddress)); } } -- Gitblit v1.9.3