* @param listProcess
* @param listSrcProcess
* @return
*/
private String createProgress(List<Progress> listProcess,List<String> listSrcProcess){
Progress previousProgress = null;
Progress progress = null;
String srcProgress = "";
String totalProcess = "";
double mois = 0.0;
double mois2;
for (int j = 0; j < listProcess.size(); j++) {
progress = listProcess.get(j);
if(j > 0){
previousProgress = listProcess.get(j-1);
mois = progress.getCumule() - previousProgress.getCumule();
mois2 = progress.getCumule2() - previousProgress.getCumule2();
}else{
mois = progress.getCumule();
mois2 = progress.getCumule2();
}
srcProgress += append((j+1),progress.getLabel(),progress.getDate(),progress.getCumule(),mois,progress.getCumule2(),mois2);
totalProcess = append(progress.getCumule(),mois,progress.getCumule2(),mois2);
}
listSrcProcess.add(srcProgress);
return totalProcess;
}