1
HuBingJie
9 天以前 28110912ca4803e5793f181517d7bf2d7a5ea2ad
代码管理/WCS/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskExecuteDetailService.cs
@@ -203,9 +203,20 @@
                    active = steps.IndexOf(TaskState) + 1;
                }
                string curradd = task.CurrentAddress;
                string nextadd = task.NextAddress;
                content = WebResponseContent.Instance.OK(data: new { active, list,curradd, nextadd });
                if (task == null)
                {
                    string curradd = task_h.CurrentAddress;
                    string nextadd = task_h.NextAddress;
                    string rgvtasktype = task_h.RGVTaskType.ToString();
                    content = WebResponseContent.Instance.OK(data: new { active, list, curradd, nextadd, rgvtasktype });
                }
                else
                {
                    string curradd = task.CurrentAddress;
                    string nextadd = task.NextAddress;
                    string rgvtasktype = task.RGVTaskType.ToString();
                    content = WebResponseContent.Instance.OK(data: new { active, list, curradd, nextadd, rgvtasktype });
                }
            }
            catch (Exception ex)
            {