From 853f7a71577bd8694c848985e1eb21c74d30eba9 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期二, 21 四月 2026 21:19:23 +0800
Subject: [PATCH] fix(WCS): 修复输送线任务处理逻辑并更新设备映射

---
 Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerCraneJob/StackerCraneCommandBuilder.cs |   10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerCraneJob/StackerCraneCommandBuilder.cs b/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerCraneJob/StackerCraneCommandBuilder.cs
index ae7cb04..1fd63c4 100644
--- a/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerCraneJob/StackerCraneCommandBuilder.cs
+++ b/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerCraneJob/StackerCraneCommandBuilder.cs
@@ -1,9 +1,7 @@
-using Microsoft.Extensions.Logging;
-using System;
+using Serilog;
 using System.Diagnostics.CodeAnalysis;
 using WIDESEAWCS_Common.Constants;
 using WIDESEAWCS_Common.TaskEnum;
-using WIDESEAWCS_Core.LogHelper;
 using WIDESEAWCS_ITaskInfoService;
 using WIDESEAWCS_Model.Models;
 using WIDESEAWCS_QuartzJob.Models;
@@ -68,7 +66,7 @@
         /// <returns>鍫嗗灈鏈哄懡浠ゅ璞★紝杞崲澶辫触杩斿洖 null</returns>
         public object? ConvertToStackerCraneTaskCommand([NotNull] Dt_Task task)
         {
-            return  BuildCommand(task, CreateStandardCommand(task));
+            return BuildCommand(task, CreateStandardCommand(task));
             // 鏍规嵁宸烽亾鑾峰彇鍛戒护绫诲瀷
             //string commandType = GetCommandType(task.Roadway);
 
@@ -198,7 +196,7 @@
             {
                 taskType = StackerCraneConst.EmptyPalletTaskType;
             }
-            else if(task.TaskType == (int)TaskInboundTypeEnum.InEmpty)
+            else if (task.TaskType == (int)TaskInboundTypeEnum.InEmpty)
             {
                 taskType = StackerCraneConst.EmptyInPalletTaskType;
             }
@@ -388,4 +386,4 @@
                 && short.TryParse(parts[2], out layer);
         }
     }
-}
+}
\ No newline at end of file

--
Gitblit v1.9.3