From efff7c35ec917aec46481d4ab412b36c56381a51 Mon Sep 17 00:00:00 2001
From: 肖洋 <cathay_xy@163.com>
Date: 星期六, 04 一月 2025 10:03:09 +0800
Subject: [PATCH] 合并

---
 Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob_GW/GWTask/RequestInbound.cs |   25 +++++++++++++++++++++----
 1 files changed, 21 insertions(+), 4 deletions(-)

diff --git a/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob_GW/GWTask/RequestInbound.cs b/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob_GW/GWTask/RequestInbound.cs
index 0b3c520..88deaee 100644
--- a/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob_GW/GWTask/RequestInbound.cs
+++ b/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob_GW/GWTask/RequestInbound.cs
@@ -9,6 +9,7 @@
 using WIDESEAWCS_Model.Models;
 using WIDESEAWCS_QuartzJob;
 using WIDESEAWCS_Tasks.ConveyorLineJob;
+using static Microsoft.EntityFrameworkCore.DbLoggerCategory.Database;
 
 namespace WIDESEAWCS_Tasks
 {
@@ -71,9 +72,9 @@
                 case 10:
                     ExecuteStationAction(stationManager, conveyorLine, command, childDeviceCode);
                     break;
-                //case 16:
-                //    ExecuteStationAction(stationManager, conveyorLine, command, childDeviceCode);
-                //    break;
+                    //case 16:
+                    //    ExecuteStationAction(stationManager, conveyorLine, command, childDeviceCode);
+                    //    break;
             }
 
             #region
@@ -161,7 +162,9 @@
                 case 6:
                     CreateAndSendEmptyTrayTask(conveyorLine, command, childDeviceCode);
                     break;
-
+                case 16:
+                    AbNormalStationBZTask(conveyorLine, command, childDeviceCode);
+                    break;
                 case 1:
 
                     //if (stationManager.stationArea.Contains("GW"))
@@ -348,5 +351,19 @@
             //Dt_Task task= _taskRepository.QueryFirst(x=>)
             //_taskRepository.QueryFirst()
         }
+
+        /// <summary>
+        /// 鍖呰寮傚父鎺掑嚭鍙i�昏緫
+        /// </summary>
+        /// <param name="conveyorLine"></param>
+        /// <param name="command"></param>
+        /// <param name="childDeviceCode"></param>
+        private void AbNormalStationBZTask(CommonConveyorLine_GW conveyorLine, ConveyorLineTaskCommand_After command, string childDeviceCode)
+        {
+            Dt_StationManager stationManager = _stationManagerRepository.QueryFirst(x => x.stationChildCode == childDeviceCode && x.stationPLC == conveyorLine.DeviceCode);
+
+
+        }
+
     }
 }
\ No newline at end of file

--
Gitblit v1.9.3