| | |
| | | <input type="hidden" id="StationIp" data-mini="true" />
|
| | |
|
| | | <input type="hidden" id="FbsDeviceIp_YM" class="unable" data-mini="true" value="456"/>
|
| | | |
| | | <input type="hidden" id="FbsDeviceIp_WG" class="unable" data-mini="true" value="456"/>
|
| | | |
| | | <input type="hidden" id="FBSDeviceName" data-mini="true" />
|
| | |
|
| | | <input type="hidden" readonly unselectable="on" value="123" id="BattGroupNum" class="unable" class="uncheck" data-mini="true" />
|
| | |
| | | <input type="hidden" id="BattFloatCurrent" class="unable" data-mini="true" />
|
| | |
|
| | | <input type="hidden" id="MonResStd" data-mini="true" />
|
| | | |
| | | <input type="hidden" id="MonSerStd" data-mini="true" />
|
| | | |
| | | <input type="hidden" id="MonVolLowToAvg" data-mini="true" />
|
| | |
|
| | | <tr>
|
| | |
| | | }
|
| | | return $('#newbattnum').html(selected);
|
| | | }
|
| | | |
| | | /* $("#sure").on('click',function(){
|
| | | console.info($('#newbattnum').val());
|
| | | setcookieCreat($('#newbattnum').val());
|
| | | window.location.href="batt-infor-conf-temp1.html"; |
| | | });*/
|
| | | |
| | | |
| | | function creatBattView(index){
|
| | | var count=index+1
|
| | | ,battTitle='<div>'+'<h1 class="hbg">'+'电池组'+count+'</h1>'+
|
| | |
| | | return battTitle+battBrand+battType+battNum+battNumOpt+MonVolStd+nomCap+battIndex+battName;
|
| | | }
|
| | | function selectedNum(index){
|
| | | var selected='';
|
| | | var selected='';
|
| | | if(temp[index].binf.MonCount==4){
|
| | | return selected='<option '+'value='+4+' selected=selected' +'>'+'4 个'+'</option>'+'<option '+'value='+24 +'>'+'24个'+'</option>';
|
| | | }else{
|
| | | return selected='<option '+'value='+24+' selected=selected' +'>'+'24 个'+'</option>'+'<option '+'value='+4 +'>'+'4个'+'</option>';
|
| | | |
| | | return selected='<option '+'value='+24+' selected=selected' +'>'+'24 个'+'</option>'+'<option '+'value='+4 +'>'+'4个'+'</option>'; |
| | | }
|
| | | }
|
| | |
|
| | |
| | | }
|
| | | return selected;
|
| | | }
|
| | | var temp = getCookie("eleparm");
|
| | | var temp = getCookie("eleparm1");
|
| | | temp=JSON.parse(temp);
|
| | | var arr = temp;
|
| | |
|
| | |
| | | //console.info(temp);
|
| | | console.info(arrdata);
|
| | | var json = JSON.stringify(arrdata);
|
| | | setCookie("eleparm",json);
|
| | | setCookie("batt",json);
|
| | | window.location.href="control.html";
|
| | | }
|
| | | // 点击申请验收显示面板
|
| | |
| | | var lixiandianyafazhi = [0,0,0,0];
|
| | | battnumber();
|
| | | $(function(){
|
| | | creatAllView(temp.length).trigger('create');
|
| | | setMonVolStd(temp.length);
|
| | | creatAllView(temp.length).trigger('create');
|
| | | setMonVolStd(temp.length);
|
| | | });
|
| | |
|
| | | $(function () {
|
| | |
| | | $("#sure").click(function(){
|
| | | console.info($('#newbattnum').val());
|
| | | setcookieCreat($('#newbattnum').val());
|
| | | window.location.href="batt-infor-conf-temp1.html"; |
| | | //window.location.href="control.html"; |
| | | });
|
| | | });
|
| | |
|
| | |
| | | k=i*50;
|
| | |
|
| | | //optionStr+='<option'+' value='+k+'>'+k+'</option>';
|
| | | optionStr+='<option'+' value='+k+'>'+k+'</option>';
|
| | | |
| | | |
| | | |
| | | optionStr+='<option'+' value='+k+'>'+k+'</option>'; |
| | | }
|
| | | allString=optionStr+'<option'+' selected=selected '+' value='+1000+'>'+1000+'</option>'
|
| | | return allString;
|
| | |
| | | for(var i=0;i<index;i++){
|
| | | var s='#MonVolStd'+i;
|
| | | $(s).val(12);
|
| | | }
|
| | | |
| | | } |
| | | }
|
| | |
|
| | | /* 操作成功
|