活跃IP统计字段由流量改为Linknum——连接数

This commit is contained in:
zhanghongqing
2019-01-04 20:24:49 +08:00
parent fb573b147c
commit 429b1841f1
2 changed files with 5 additions and 5 deletions

View File

@@ -267,8 +267,8 @@ public class DashboardController extends BaseController{
if(o1==o2&&o1==null){
return 0;
}
Long ob1 = o1.getC2sByteLen()+o1.getS2cByteLen();
Long ob2 = o2.getC2sByteLen()+o2.getS2cByteLen();
Long ob1 = o1.getLinkNum();
Long ob2 = o2.getLinkNum();
return -(ob1).compareTo(ob2);
}
});

View File

@@ -282,11 +282,11 @@
var data=new Array();
var xData=new Array();
var drillData=new Array();
var unit="bytes";
var unit="Link Times";
$(rs).each(function(i, d) {
var inoctetsNum=d.linkNum;
unit=changeUnit(inoctetsNum);
inoctetsNum=changeNum(inoctetsNum);
// unit=changeUnit(inoctetsNum);
// inoctetsNum=changeNum(inoctetsNum);
/*var pktNum=new Array();
var byteLen=new Array();*/
xData.push(d.ipAddr);