| | |
| | | if(task != null) |
| | | { |
| | | ConveyorLineTaskCommandWrite taskCommand = _mapper.Map<ConveyorLineTaskCommandWrite>(task); |
| | | |
| | | bool sendFlag = SendCommand(taskCommand, conveyorLine, stationManger.StationCode); |
| | | if (sendFlag) |
| | | { |
| | |
| | | public void ConveyorLineInFinish(CommonConveyorLine conveyorLine, ConveyorLineTaskCommand command, Dt_StationManger stationManger) |
| | | { |
| | | var task = _taskService.QueryExecutingTaskByBarcode(command.TaskNum, stationManger.StationCode); |
| | | if (task != null && task.TaskState != (int)TaskStatusEnum.Line_Finish) |
| | | if (task != null && task.TaskState != (int)TaskStatusEnum.SC_Execute) |
| | | { |
| | | WebResponseContent content = _taskService.UpdateTaskStatusToNext(task, stationManger); |
| | | |