From 291067c13bfe8fb9c876e3764a828dc3ddd22f99 Mon Sep 17 00:00:00 2001
From: helongyang <647556386@qq.com>
Date: 星期一, 17 十一月 2025 16:50:12 +0800
Subject: [PATCH] 监控优化,代码功能优化

---
 代码管理/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/干膜仓/StackerCraneJob_GM.cs |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/\345\271\262\350\206\234\344\273\223/StackerCraneJob_GM.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/\345\271\262\350\206\234\344\273\223/StackerCraneJob_GM.cs"
index bdc3052..3dd3841 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/\345\271\262\350\206\234\344\273\223/StackerCraneJob_GM.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/\345\271\262\350\206\234\344\273\223/StackerCraneJob_GM.cs"
@@ -30,6 +30,7 @@
 using AutoMapper;
 using HslCommunication.WebSocket;
 using WIDESEAWCS_Tasks.骞茶啘浠�;
+using WIDESEAWCS_Tasks.鏉挎潗浠�;
 
 namespace WIDESEAWCS_Tasks
 {
@@ -122,6 +123,7 @@
                     gMReadData.R_GM_TaskNum = commonStackerCrane.CurrentTaskNum.ObjToInt();
                     gMReadData.R_GM_WorkType = commonStackerCrane.GetValue<StackerCraneDBName, short>(StackerCraneDBName.WorkType);
                     gMReadData.R_GM_TrayType = commonStackerCrane.GetValue<StackerCraneDBName, short>(StackerCraneDBName.TrayType);
+                    gMReadData.R_GM_Column = commonStackerCrane.Communicator.Read<short>("DB11.42.0");
                     string gMData = JsonConvert.SerializeObject(gMReadData);
                     _webSocketServer.PublishAllClientPayload(gMData);
                 }
@@ -326,7 +328,10 @@
 
                 }
             }
-
+            if (task == null)
+            {
+                task = _taskService.QueryStackerCraneRelocationTask(commonStackerCrane.DeviceCode);
+            }
             return task;
         }
 

--
Gitblit v1.9.3