From 67844d0b962e62d65e5c118d3251aeeeda50810f Mon Sep 17 00:00:00 2001 From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com> Date: 星期日, 16 二月 2025 11:24:09 +0800 Subject: [PATCH] 1 --- Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob_After/CommonConveyorLine_AfterJob.cs | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob_After/CommonConveyorLine_AfterJob.cs b/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob_After/CommonConveyorLine_AfterJob.cs index d7d719e..d6c8e23 100644 --- a/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob_After/CommonConveyorLine_AfterJob.cs +++ b/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob_After/CommonConveyorLine_AfterJob.cs @@ -267,11 +267,11 @@ private async Task GetEmptyTrayAsync(Dt_StationManager stationManager, CommonConveyorLine_After commonConveyor, ConveyorLineTaskCommand_After conveyorLine) { ConveyorLineTaskCommand_After command = commonConveyor.ReadCustomer<ConveyorLineTaskCommand_After>((Convert.ToInt32(stationManager.stationChildCode) + 2).ToString()); - if (conveyorLine.HasPallet == 1 || command.HasPallet == 1) + if (conveyorLine.HasPallet == 0 || command.HasPallet == 0) { var needBarcode = _needBarcodeRepository.QueryFirst(x => x.toArea == stationManager.stationChildCode); - if (needBarcode.inLineNum <= needBarcode.cacheNum) + if (needBarcode.inLineNum < needBarcode.cacheNum) { var config = _sys_ConfigService.GetConfigsByCategory(CateGoryConst.CONFIG_SYS_IPAddress); var wmsBase = config.FirstOrDefault(x => x.ConfigKey == SysConfigKeyConst.WMSIP_BASE)?.ConfigValue; @@ -299,12 +299,12 @@ } else { - ConsoleHelper.WriteErrorLine("鍒嗗绌烘墭鐩樺叆鍙e湪閫旀暟閲�>缂撳瓨鏁伴噺"); + ConsoleHelper.WriteErrorLine($"鍒嗗绌烘墭鐩樺叆鍙c�恵stationManager.stationChildCode}銆戝湪閫旀暟閲�>缂撳瓨鏁伴噺"); } } else { - ConsoleHelper.WriteErrorLine("鍒嗗绌烘墭鐩樺叆鍙f湁鐩�"); + ConsoleHelper.WriteErrorLine($"鍒嗗绌烘墭鐩樺叆鍙c�恵stationManager.stationChildCode}銆戞湁鐩�"); } } } -- Gitblit v1.9.3