From 9f225bb1f1e26d25c1652d3e1ec2a8f239f69615 Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期二, 18 三月 2025 10:41:29 +0800
Subject: [PATCH] 1

---
 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ShuttleCarJob/ShuttleCarExtend/PartialTaskService.cs |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ShuttleCarJob/ShuttleCarExtend/PartialTaskService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ShuttleCarJob/ShuttleCarExtend/PartialTaskService.cs"
index 6f4ef1c..6d553fa 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ShuttleCarJob/ShuttleCarExtend/PartialTaskService.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ShuttleCarJob/ShuttleCarExtend/PartialTaskService.cs"
@@ -246,6 +246,10 @@
                             //    shuttleCarTaskCommand.TaskType = (short)GetCarTaskType(task.TaskType, shuttleCarTaskCommand.Direction);
                         }
                     }
+                    else if (task.TaskType == (int)TaskOtherTypeEnum.RelocationCarCharging)
+                    {
+                        shuttleCarTaskCommand.TaskType = (short)GetCarTaskType(ShuttleCarTaskType.Charging.ToString());
+                    }
                     else
                         shuttleCarTaskCommand.TaskType = (short)GetCarTaskType(task.TaskType, shuttleCarTaskCommand.Direction);
                     //shuttleCarTaskCommand.TaskType = string.IsNullOrEmpty(task.Remark) ? (short)GetCarTaskType(task.TaskType, shuttleCarTaskCommand.Direction) : (short)GetCarTaskType(task.Remark);
@@ -322,14 +326,19 @@
             switch (TaskType)
             {
                 case (int)TaskInboundTypeEnum.Inbound:
+                case (int)TaskInboundTypeEnum.PalletInbound:
                     state = (int)TaskInStatusEnum.Car_InExecuting;
                     break;
                 case (int)TaskOutboundTypeEnum.Outbound:
+                case (int)TaskOutboundTypeEnum.PalletOutbound:
                     state = (int)TaskOutStatusEnum.Car_OutExecuting;
                     break;
                 case (int)TaskOtherTypeEnum.RelocationCar:
                     state = (int)TaskCarStatusEnum.ShuttleCar_Executing;
                     break;
+                case (int)TaskOtherTypeEnum.RelocationCarCharging:
+                    state = (int)CarChargingTaskEnum.ShuttleCar_Charging;
+                    break;
                 default:
                     break;
             }

--
Gitblit v1.9.3