From 96a77e69b0577c50adfaacd5fd8b89009242d3bd Mon Sep 17 00:00:00 2001
From: Admin <Admin@ADMIN>
Date: 星期日, 07 十二月 2025 18:25:00 +0800
Subject: [PATCH] 更新
---
代码管理/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerCraneJob/CommonStackerCraneJob.cs | 20 ++++++++++++++++++++
1 files changed, 20 insertions(+), 0 deletions(-)
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerCraneJob/CommonStackerCraneJob.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerCraneJob/CommonStackerCraneJob.cs"
index 01b4620..582dfa7 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerCraneJob/CommonStackerCraneJob.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerCraneJob/CommonStackerCraneJob.cs"
@@ -187,6 +187,25 @@
}
}
+ //1宸风┖鐩樹紭鍏堝叆搴�
+ Dt_Task Inkongtuo= TasksList.Where(x => x.TaskType == (int)TaskInboundTypeEnum.Inbound && (x.TargetAddress == "R01-002-043-001-01" || x.SourceAddress == "R01-002-043-001-01")).OrderBy(x => x.CreateDate).FirstOrDefault();
+ if( Inkongtuo != null)
+ {
+ string[] targetCodes = Inkongtuo.TargetAddress.Split("-");
+ if (targetCodes[4] == "01") return Inkongtuo; //濡傛灉鏄祬搴撲綅锛屽垯鐩存帴杩斿洖璇ヤ换鍔�
+
+ //濡傛灉涓烘繁搴撲綅锛屽垯鏌ョ湅鏄惁鏈夐渶瑕佹墽琛岀殑浠诲姟
+ if (targetCodes[4] == "02")
+ {
+
+ Dt_Task taskst = InTaskMove(Inkongtuo);
+ if (taskst != null)
+ {
+ return taskst;
+ }
+ }
+ }
+
foreach (var item in TasksList)
{
@@ -208,6 +227,7 @@
}
else if (item.TaskType == (int)TaskOutboundTypeEnum.Outbound)
{
+
string[] targetCodes = item.SourceAddress.Split("-");//杩涜瑙f瀽璐т綅
if (targetCodes[4] == "02")
{
--
Gitblit v1.9.3