| | |
| | | else |
| | | { |
| | | WebResponseContent content = _taskService.UpdateTaskStatusToNext(task); |
| | | WriteInfo(conveyorLine.DeviceName, content.ToJsonString()); |
| | | if (!content.Status) |
| | | { |
| | | ConsoleHelper.WriteWarningLine($"【{conveyorLine._deviceName}】任务号:【{command.TaskNum}】,托盘条码:【{command.Barcode}】已到达【{childDeviceCode}】输送线入库完成,任务执行失败{JsonConvert.SerializeObject(content)}"); |
| | | return; |
| | | } |
| | | |
| | | conveyorLine.SetValue(ConveyorLineDBName.WriteConveyorLineTargetAddress, "1000", childDeviceCode); |
| | | |
| | |
| | | |
| | | ConveyorLineSendFinish(conveyorLine, childDeviceCode, ProtocalDetailValue, true); |
| | | Console.Out.WriteLine(content.ToJsonString()); |
| | | WriteInfo(conveyorLine.DeviceName, content.ToJsonString()); |
| | | } |
| | | } |
| | | } |