LiJun
2018-10-26 ad22ba26863980edd80a1f9adfebb8daba31d74d
gx_tieta/WebRoot/control.jsp
@@ -1425,7 +1425,7 @@
      //根据设备id查询设备当前的开关状态
      function searchDevStatusByDev_id(){
         var obj = getBatt();
         console.info(obj);
         //console.info(obj);
         var lasttype = mygraph.graphtype;   //记录上一次的状态
         $.ajax({    
              type: "post",             
@@ -1438,7 +1438,7 @@
              success: function(data){ 
               data = eval("("+data+")");
               var model = eval("("+data.result+")");
               console.log(model);
               //console.log(model);
               
               var outTime = 2*60;            //设备超时时间(2分钟)
               var isOutTime = true;         //通讯中断      判断设备是否通讯中断    true:中断    false:正常
@@ -1451,7 +1451,7 @@
               }else {
                  _str = GLOBAL.circleStatus.BTSCircle(batt, model, mygraph, updateEleCircle);
               }
               console.log(mygraph);
               //console.log(mygraph);
               debugger;
               if(model.code == 1) {
                  var nowTime = new Date().getTime();      //当前时间