| | |
| | | /// <param name="childDeviceCode">子设备编号</param> |
| | | public void ConveyorLineOutFinish(CommonConveyorLine_GW conveyorLine, ConveyorLineTaskCommand_After command, string childDeviceCode) |
| | | { |
| | | WriteInfo("出库", $"【{JsonConvert.SerializeObject(command.ConveyorLineTaskNum)}】,【{childDeviceCode}】托盘号:【{command.ConveyorLineBarcode}】"); |
| | | var task = _taskService.QueryExecutingConveyorLineTask(command.ConveyorLineTaskNum, childDeviceCode); |
| | | if (task != null) |
| | | { |
| | |
| | | |
| | | conveyorLine.SendCommand(taskCommand, childDeviceCode); |
| | | conveyorLine.SetValue(ConveyorLineDBName_After.ResponState, 1, childDeviceCode); |
| | | //ConveyorLineSendFinish(conveyorLine, childDeviceCode, ProtocalDetailValue, true); |
| | | |
| | | content = _taskService.UpdateTaskStatusToNext(task); |
| | | |
| | | } |
| | | //else |
| | | //{ |