| | |
| | | var config = _configService.GetByConfigKey("SYS_InStacker", "CW3InStacker"); |
| | | var strings = config.ConfigValue.Split(',').ToList(); |
| | | // 入库送至常温3 |
| | | var resultContent = await CreateNewTask(input, strings); |
| | | var resultContent = await CreateNewTask(input, input.ProductionLine, strings); |
| | | if (resultContent.Status) |
| | | { |
| | | await _boxingInfoRepository.AddDataNavAsync(boxing); |
| | |
| | | { |
| | | // 送至包装 |
| | | List<string> strings = stationManagers.Where(x => x.stationType == 0).Select(x => x.Roadway).ToList(); |
| | | return await CreateNewTask(input, strings, 3); |
| | | return await CreateNewTask(input, input.ProductionLine, strings, 3); |
| | | } |
| | | else |
| | | { |
| | | var config = _configService.GetByConfigKey("SYS_InStacker", "CW3InStacker"); |
| | | var strings = config.ConfigValue.Split(',').ToList(); |
| | | // 入库送至常温3 |
| | | var resultContent = await CreateNewTask(input, strings); |
| | | var resultContent = await CreateNewTask(input, input.ProductionLine, strings); |
| | | if (resultContent.Status) |
| | | { |
| | | await _boxingInfoRepository.AddDataNavAsync(boxing); |
| | |
| | | } |
| | | List<string> strings = stationManagers.Roadway.Split(',').ToList(); |
| | | |
| | | var resultContent = await CreateNewTask(input, strings); |
| | | var resultContent = await CreateNewTask(input, result.ProductionLine, strings); |
| | | if (resultContent.Status) |
| | | { |
| | | var isBox = await _boxingInfoRepository.AddDataNavAsync(boxing); |
| | |
| | | // NGStation = stationManagers.stationNGChildCode.Split(',').ToList(); |
| | | //} |
| | | List<string> NGStation = stationManagers.stationNGChildCode.Split(',').ToList(); |
| | | content = await CreateNewTask(input, NGStation, 2); |
| | | content = await CreateNewTask(input, input.ProductionLine, NGStation, 2); |
| | | return content.Error("存在异常电芯"); |
| | | } |
| | | |
| | |
| | | TargetAddress = task.Roadway, |
| | | TaskState = task.TaskState.Value, |
| | | Id = 0, |
| | | TaskType = task.TaskType |
| | | TaskType = task.TaskType, |
| | | ProductionLine = task.ProductionLine, |
| | | }; |
| | | return new WebResponseContent().OK(data: taskDTO); |
| | | } |