| | |
| | | Dt_taskinfoRepository.Instance.Update(taskinfo, true); |
| | | } |
| | | |
| | | if(taskinfo.task_state == TaskState.TaskState_Measure_Back_Line_Executing.ToString()) |
| | | { |
| | | taskinfo.task_type = TaskType.TaskType_Box_Pallet_Measure_Back.ToString(); |
| | | |
| | | taskinfo.task_endstation = taskinfo.task_beginstation; |
| | | taskinfo.task_beginstation = "10301"; |
| | | taskinfo.task_tolocationid = taskinfo.task_fromlocationid; |
| | | taskinfo.task_fromlocationid = taskinfo.task_endstation; |
| | | |
| | | taskinfo.task_state = TaskState.TaskState_Measure_Back_Line_Executing.ToString(); |
| | | taskinfo.task_dispatchertime = DateTime.Now; |
| | | Dt_taskinfoRepository.Instance.Update(taskinfo, true); |
| | | } |
| | | |
| | | |
| | | Dt_locationinfo locationinfo = Dt_locationinfoRepository.Instance.FindFirst(x => x.location_id == taskinfo.task_fromlocationid); |
| | | if (locationinfo != null) |
| | | { |