add the exeRange
This commit is contained in:
parent
0ec2f364f7
commit
ed8161f13d
|
@ -73,9 +73,10 @@ function getScriptId(scriptName) {
|
|||
}
|
||||
function getPointModelList(allocation,requireLoadArrayObj,executeRangeArrayObj){
|
||||
var pointModelList = new Array();
|
||||
var preExeRange = 0;
|
||||
for(var i=1;i< requireLoadArrayObj.length;i++){
|
||||
var realLoad = parseInt(parseInt(requireLoadArrayObj[i].value)*allocation/100);
|
||||
var pointModel = new WebPointModel(parseInt(executeRangeArrayObj[i].value),realLoad);
|
||||
var pointModel = new WebPointModel(preExeRange+=parseInt(executeRangeArrayObj[i].value),realLoad);
|
||||
pointModelList.push(pointModel);
|
||||
}
|
||||
return pointModelList;
|
||||
|
|
Loading…
Reference in New Issue