From 7db419acdd2c02950b67c081dd2d7f61fdb2cb89 Mon Sep 17 00:00:00 2001
From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com>
Date: 星期一, 30 三月 2026 16:09:07 +0800
Subject: [PATCH] Merge branch 'master' of http://115.159.85.185:8098/r/RuiShiGe/LingPaoCheShenKu
---
项目代码/WCS/WCSServer/WIDESEAWCS_Tasks/SC/SCJob.cs | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WCSServer/WIDESEAWCS_Tasks/SC/SCJob.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WCSServer/WIDESEAWCS_Tasks/SC/SCJob.cs"
index 48ff77f..41a4196 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WCSServer/WIDESEAWCS_Tasks/SC/SCJob.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WCSServer/WIDESEAWCS_Tasks/SC/SCJob.cs"
@@ -67,6 +67,7 @@
if (flag && value != null && value is STK commonStackerCrane)
{
List<string> childCodes = commonStackerCrane.DeviceProDTOs.GroupBy(d => d.DeviceChildCode).Select(g => g.Key).ToList();
+ childCodes = new List<string> { "SC01", "SC03", "SC05", "SC07" }; //娴嬭瘯浣跨敤
Parallel.For(0, childCodes.Count, (i, state) =>
{
//ConsoleHelper.WriteColorLine($"銆恵childCodes[i]}銆戞椂闂淬�恵DateTime.Now}銆戙�戙�恵Thread.CurrentThread.ManagedThreadId}銆�", ConsoleColor.Magenta);
@@ -135,7 +136,7 @@
Thread.Sleep(500);
WebResponseContent responseContent = SendStackerTask(commonStackerCrane, task, childCodes[i]);
- if(responseContent.Status)
+ if (responseContent.Status)
{
_taskService.UpdateTaskStatusToNext(task.TaskNum);
}
@@ -253,7 +254,7 @@
{
//return task;
- var stationList = _stationManagerRepository.QueryData(x => x.stationType == 2 && x.Roadway == task.Roadway);
+ //var stationList = _stationManagerRepository.QueryData(x => x.stationType == 2 && x.Roadway == task.Roadway);
//foreach (var item in stationList)
//{
@@ -377,7 +378,7 @@
{
return responseContent.Error(ex.Message);
}
-
+
}
}
--
Gitblit v1.9.3