| | |
| | | { |
| | | 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; |
| | |
| | | } |
| | | else |
| | | { |
| | | ConsoleHelper.WriteErrorLine("分容空托盘入口在途数量>缓存数量"); |
| | | ConsoleHelper.WriteErrorLine($"分容空托盘入口【{stationManager.stationChildCode}】在途数量>缓存数量"); |
| | | } |
| | | } |
| | | else |
| | | { |
| | | ConsoleHelper.WriteErrorLine("分容空托盘入口有盘"); |
| | | ConsoleHelper.WriteErrorLine($"分容空托盘入口【{stationManager.stationChildCode}】有盘"); |
| | | } |
| | | } |
| | | } |