Compare commits
No commits in common. "b7087ef35456f10dc1c81e9ea96a7ca65f42f3a7" and "d320937b5f9db6be4139193f58ecec9b098494cb" have entirely different histories.
b7087ef354
...
d320937b5f
@ -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) {
|
||||||
dModuleInput1[i] = Integer.parseInt(m.getAmount());
|
if(pwrGnrSimReq.getModule1().equals(m.getItemId())){
|
||||||
} else if (m.getItemId().equals(pwrGnrSimReq.getModule2())) {
|
dModuleInput1[i] = Integer.parseInt(m.getAmount());
|
||||||
dModuleInput2[i] = Integer.parseInt(m.getAmount());
|
}else if(pwrGnrSimReq.getModule2().equals(m.getItemId())){
|
||||||
} else if (m.getItemId().equals(pwrGnrSimReq.getModule3())) {
|
dModuleInput2[i] = Integer.parseInt(m.getAmount());
|
||||||
dModuleInput3[i] = Integer.parseInt(m.getAmount());
|
}else if(pwrGnrSimReq.getModule3().equals(m.getItemId())){
|
||||||
}
|
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