From 7d0fd636e1ad13b09a90bbb76e29a28051db8476 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期三, 19 三月 2025 10:49:31 +0800
Subject: [PATCH] 添加忽略项

---
 CodeManagement/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob_After/CommonConveyorLine_AfterJob.cs |   30 ------------------------------
 1 files changed, 0 insertions(+), 30 deletions(-)

diff --git a/CodeManagement/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob_After/CommonConveyorLine_AfterJob.cs b/CodeManagement/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob_After/CommonConveyorLine_AfterJob.cs
index c5ad01c..324f8e2 100644
--- a/CodeManagement/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob_After/CommonConveyorLine_AfterJob.cs
+++ b/CodeManagement/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob_After/CommonConveyorLine_AfterJob.cs
@@ -122,28 +122,6 @@
 
                         #endregion 璋冪敤浜嬩欢鎬荤嚎閫氱煡鍓嶇
                     }
-
-                    #region 璺敱鏂瑰紡
-
-                    //List<string> childDeviceCodes = _routerService.QueryAllPositions(conveyorLine.DeviceCode);
-                    //foreach (string childDeviceCode in childDeviceCodes)
-                    //{
-                    //    ConveyorLineTaskCommand_After command = conveyorLine.ReadCustomer<ConveyorLineTaskCommand_After>(childDeviceCode);
-
-                    //    if (command.ConveyorLineBarcode.Trim().Contains("\0")) command.ConveyorLineBarcode = "";
-
-                    //    DeviceProtocolDetailDTO? deviceProtocolDetails = conveyorLine.DeviceProtocolDetailDTOs.FirstOrDefault(x => x.DeviceProParamName == nameof(ConveyorLineTaskCommand_After.InteractiveSignal) && x.ProtocalDetailValue == command.InteractiveSignal.ToString());
-                    //    if (deviceProtocolDetails != null)
-                    //    {
-                    //        MethodInfo? method = GetType().GetMethod(deviceProtocolDetails.ProtocolDetailType);
-                    //        if (method != null)
-                    //        {
-                    //            method.Invoke(this, new object[] { conveyorLine, command, childDeviceCode });
-                    //        }
-                    //    }
-                    //}
-
-                    #endregion 璺敱鏂瑰紡
                 }
             }
             catch (Exception ex)
@@ -171,7 +149,6 @@
 
             _noticeService.Logs(userTokenIds, new { conveyorLine.DeviceName, log = log, time = DateTime.Now.ToString("G"), color = "red" });
             WriteInfo(conveyorLine.DeviceName, log);
-            //if()
 
             var taskNew = _taskService.QueryTaskByPalletCode(command.ConveyorLineBarcode, stationInfo.Roadway);
             if (taskNew == null)
@@ -182,13 +159,6 @@
                     if (task != null)
                     {
                         conveyorLine.SetValue(ConveyorLineDBName_After.ResponState, 1, stationInfo.stationChildCode);
-
-                        var needBarcode = _needBarcodeRepository.QueryFirst(x => x.toArea == stationInfo.stationChildCode);
-                        if (needBarcode != null)
-                        {
-                            needBarcode.inLineNum -= 1;
-                            _needBarcodeRepository.UpdateData(needBarcode);
-                        }
                     }
                 }
                 else   //濡傛灉浠诲姟璇锋眰澶辫触

--
Gitblit v1.9.3