task.set("pd"+i, pds[i]);
}
//task.set("endpoint", endpoint);
task.set("globalcom", globalCom);
task.select();
GanttChartModel ganttChartModel=new GanttChartModel();
ganttChartModel.setEndpoint(getEndpoint());
ganttChartModel.setFirstDate(getFirstDate());
ganttChartModel.setFirstDayOfMonth(getFirstDayOfMonth());