示例#1
0
 public static void addAC(ProjectUser projectUser, double value) {
   if (!Double.isNaN(value)) {
     double tmp = projectUser.getActualCost();
     tmp += value;
     projectUser.setActualCost(round(tmp));
   }
 }
示例#2
0
 public static void addPV(ProjectUser projectUser, double value) {
   if (!Double.isNaN(value)) {
     double tmp = projectUser.getPlannedValue();
     tmp += value;
     projectUser.setPlannedValue(round(tmp));
   }
 }