81041
2019-01-18 5fe2efb71f6ad809a1cfc59beab18bbea99fff5e
gx_tieta/WebRoot/control.jsp
@@ -1933,11 +1933,13 @@
      //查询电池组的实时状态信息
      function showtable(){
         //searbattrealInfomation();
         searchDevStatusByDev_id();
         findrtstate();
         findrtdata();
         //查询设备的dcdc状态
         searchDevDcDcState();
         // 更新拓扑图状态
         searchDevStatusByDev_id();
      }
      
      //根据设备id查询设备当前的开关状态
@@ -1980,8 +1982,7 @@
                  //console.info("上一次核容测试停止原因:"+lastStopReason);
                  //console.info("通信计数:"+_data.dev_commcount);
                  //console.info("通信丢包率:"+(_data.dev_commcount==0?0:(_data.dev_errcommcount*100/_data.dev_commcount)));                  
                  var nowTime = new Date().getTime();      //当前时间
                  var nowTime = new Date(model.data[0].note).getTime();      //当前时间
                  var record = new Date(model.data[0].record_datetime).getTime();
                  
                  //console.info(Math.abs(nowTime-record)/1000);
@@ -2289,6 +2290,7 @@
               table_index = 0;
               createAllTbl(tbHd, tbBd, thVol, mon_vol_table_list);
               title.setAvg(parseFloat(sum/array.length).toFixed(3));
               title.setSum(sum);
               getBattAlarmTitle(batt,"Voltage",title);
               //title.alow = temp.alow;            //设置电压告警低值   
               //title.ahight = temp.ahight;         //设置电压告警高值         
@@ -3733,6 +3735,9 @@
            // 设置通信计数
            status.setText('count', "通信计数:"+data.dev_commcount);
            
            // 设置设备版本号
            status.setText('devVersion', '设备版本号:'+data.dev_version);
            // 设置丢包率
            var errorCount = data.dev_errcommcount;
            var allCount = data.dev_commcount+errorCount;