CJJ
2018-12-19 9769cff3310322065483cffc9fd29096d0256fa4
gx_tieta/WebRoot/mobil/batt-infor-conf-temp1.html
@@ -202,13 +202,13 @@
                              <tr>
                                 <td>离线电压阀值(V)</td>
                                 <td>
                                    <input type="text" id="OfflineVolLevel"  data-mini="true" />
                                    <input type="text" id="OfflineVolLevel" class="unable" data-mini="true" />
                                 </td>
                              </tr>
                              <tr>
                                 <td>浮充电流阀值(A)</td>
                                 <td>
                                    <input type="text" id="BattFloatCurrent" data-mini="true" />
                                    <input type="text" id="BattFloatCurrent" class="unable" data-mini="true" />
                                 </td>
                              </tr>
                              <tr>
@@ -260,7 +260,7 @@
                                 </td>
                              </tr>
                              <tr>
                                 <td>基站号码</td>
                                 <td>基站电话号码</td>
                                 <td>
                                    <input type="text" id="station_phone" data-mini="true" />
                                 </td>
@@ -409,6 +409,12 @@
      $('#OfflineVolLevel').val(outlineVol);   // 离线电压阀值
    }
    
    $('#MonVolStd').change(function(){
       setFloatAndoutLine();
    });
     $('#MonCount').change(function(){
        setFloatAndoutLine();
     })
    function prefixInteger(num, length) {
       return (num/Math.pow(3,length)).toFixed(length).substr(2);
   }
@@ -428,7 +434,7 @@
                ,FbsDeviceIp: '127.0.0.1'
                ,FbsDeviceIp_YM: '255.255.255.0'
                ,FbsDeviceIp_WG: '127.0.0.1'
                ,FBSDeviceName: '设备名称'
                ,FBSDeviceName: 'BTS'
                ,GroupIndexInFBSDevice: 1 
                ,BattGroupId: 1000005
                ,BattGroupNum: 2
@@ -458,13 +464,13 @@
   //      document.getElementById("city").value = data.StationName2;         //市
   //      document.getElementById("county").value = data.StationName5;         //区县
   //      document.getElementById("StationName3").value = data.StationName3;   //机房名称
   //      document.getElementById("StationName4").value = data.StationName4;    //设备名称
         document.getElementById("StationName4").value = data.StationName4;    //设备名称
         document.getElementById("StationIp").value = data.StationIp;      //设备IP
         //document.getElementById("FBSDeviceId").value = dev_id;   
         document.getElementById("FbsDeviceIp").value = data.FbsDeviceIp;
         document.getElementById("FbsDeviceIp_YM").value = data.FbsDeviceIp_YM;
         document.getElementById("FbsDeviceIp_WG").value = data.FbsDeviceIp_WG;
   //      document.getElementById("FBSDeviceName").value = data.FBSDeviceName;
         document.getElementById("FBSDeviceName").value = data.FBSDeviceName;
         //document.getElementById("GroupIndexInFBSDevice").value = temp[12];
         document.getElementById("BattGroupId").value = data.BattGroupId;
         document.getElementById("BattGroupNum").value = data.BattGroupNum;
@@ -475,11 +481,11 @@
   //      document.getElementById("MonCount").value = data.MonCount;
   //      document.getElementById("MonCapStd").value = data.MonCapStd;
   //      document.getElementById("MonVolStd").value = data.MonVolStd;
   //      document.getElementById("MonResStd").value = data.MonResStd;
   //      document.getElementById("MonSerStd").value = data.MonSerStd;
   //      document.getElementById("MonVolLowToAvg").value = data.MonVolLowToAvg;
         document.getElementById("MonResStd").value = data.MonResStd;
         document.getElementById("MonSerStd").value = data.MonSerStd;
         document.getElementById("MonVolLowToAvg").value = data.MonVolLowToAvg;
   //      document.getElementById("Load_curr").value = data.Load_curr;
   //      document.getElementById("DisCurrMax").value = data.DisCurrMax;
         document.getElementById("DisCurrMax").value = data.DisCurrMax;
   //      document.getElementById("station_phone").value = data.station_phone;
   //      document.getElementById("BattProducer").value = data.BattProducer;
         document.getElementById("BattModel").value = data.BattModel;
@@ -587,7 +593,8 @@
   $(function(){
      $(".unable").prop("readonly","readonly").attr("unselectable","on").addClass("uncheck");
      $("#sure").click(function(){   
         addBatt();
         creatgroupid();//提交之前再次验证,创建ID
         addBatt();    //提交
            //function backpage(){window.location.href="ele-param1.html";}
          // setTimeout(backpage,500); 
      });