Compare commits
No commits in common. "a1192d4656c430fd352d1f6345bb9ca368333e30" and "9641f7560d159638479d040a33c8ad303d84b297" have entirely different histories.
a1192d4656
...
9641f7560d
@ -262,13 +262,21 @@ public class PwrGnrSimService {
|
|||||||
for (PwrGnrSimRoofResponse m : moduleGroupList) {
|
for (PwrGnrSimRoofResponse m : moduleGroupList) {
|
||||||
if (data.getRoofSurfaceId().equals(m.getRoofSurfaceId())) {
|
if (data.getRoofSurfaceId().equals(m.getRoofSurfaceId())) {
|
||||||
dSpecification += m.getTotSpecification();
|
dSpecification += m.getTotSpecification();
|
||||||
if (m.getItemId().equals(pwrGnrSimReq.getModule1())) {
|
if (j == 0) {
|
||||||
|
if(pwrGnrSimReq.getModule1().equals(m.getItemId())){
|
||||||
dModuleInput1[i] = Integer.parseInt(m.getAmount());
|
dModuleInput1[i] = Integer.parseInt(m.getAmount());
|
||||||
} else if (m.getItemId().equals(pwrGnrSimReq.getModule2())) {
|
}else if(pwrGnrSimReq.getModule2().equals(m.getItemId())){
|
||||||
dModuleInput2[i] = Integer.parseInt(m.getAmount());
|
dModuleInput2[i] = Integer.parseInt(m.getAmount());
|
||||||
} else if (m.getItemId().equals(pwrGnrSimReq.getModule3())) {
|
}else if(pwrGnrSimReq.getModule3().equals(m.getItemId())){
|
||||||
dModuleInput3[i] = Integer.parseInt(m.getAmount());
|
dModuleInput3[i] = Integer.parseInt(m.getAmount());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
} else if (j == 1) {
|
||||||
|
dModuleInput2[i] = Integer.parseInt(m.getAmount());
|
||||||
|
} else {
|
||||||
|
dModuleInput3[i] = Integer.parseInt(m.getAmount());
|
||||||
|
}
|
||||||
|
j++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
i++;
|
i++;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user