hdw
2018-12-24 9876e29a3ae6fb3d70096f582d0260a59760f9f1
gx_tieta/WebRoot/control.jsp
@@ -1026,7 +1026,7 @@
                  </tr>
                  <tr>
                     <th>单体数据来源类型</th>
                     <th>停电升压榨干电池数量(1~2)</th>
                     <th>停电升压榨干电池数量(0~2)</th>
                  </tr>
                  <tr>
                     <td>
@@ -1046,7 +1046,7 @@
                     <td><input type="text" id="sysSet_startLimit" value=""></td>
                  </tr>
                  <tr>
                     <th>电池合路器主电池组编号(1~2)</th>
                     <th>电池合路器主电池组编号(0~2)</th>
                     <th>背光时长(0~999分钟)</th>
                  </tr>
                  <tr>
@@ -1811,7 +1811,6 @@
               $('.fir:first').next().children().eq(i).children().eq(0).css('display','none');
            }
         }
         //alert(BattGroupId);
         clearInterval(time);
         searchBattAlarmParam();            //查询电池告警参数
@@ -4563,6 +4562,7 @@
               
               getBattStr();
               searchBattAlarmParam();            //查询电池告警参数
               searchDevSDState();
               clearInterval(time);
               mygraph.graphtype = 4;
               showtable();
@@ -5319,6 +5319,37 @@
               }
           });
      }
      //查询设备的SD卡状态
      function searchDevSDState(){
         var obj= getBatt();
         var status = GLOBAL.circleStatus.status;
         $.ajax({
               type: "post",
               url: "Bts_station_stateAction_action_serchSDCard",
               async: true,
               dataType: 'json',
               data: "json = " + JSON.stringify(obj),
               success: function(result) {
                   var rs = JSON.parse(result.result);
                   //console.info(rs);
                   var sdStatus = rs.data?'已插入': '<span style="color: #FF0000">未插入</span>';
                   //console.log(sdStatus);
                   status.setText('sdCard', "sd卡状态:"+sdStatus);
                   clearTimeout(searchDevSDState.timeout);
                   searchDevSDState.timeout = setTimeout(function() {
                      searchDevSDState();
                   }, 2000);
               },
               error: function() {
                  clearTimeout(searchDevSDState.timeout);
                   searchDevSDState.timeout = setTimeout(function() {
                      searchDevSDState();
                   }, 5000);
               }
           });
      }
   </script>
   <script type="text/javascript" src="js/Title.js"></script>
   <script type="text/javascript" src="js/control.js"></script>