package com.wgcloud.dto;
|
|
import com.alibaba.excel.annotation.ExcelProperty;
|
import com.alibaba.excel.annotation.write.style.ColumnWidth;
|
|
import java.io.Serializable;
|
|
/**
|
* @version v3.3
|
* @ClassName:ExcelChartDto.java
|
* @author: http://www.wgstart.com
|
* @date: 2021年8月22日
|
* @Description: 导出主机指标趋势图excel
|
* @Copyright: 2019-2021 wgcloud. All rights reserved.
|
*/
|
public class ExcelChartDto implements Serializable {
|
|
/**
|
*
|
*/
|
private static final long serialVersionUID = 1L;
|
|
|
//时间戳
|
@ExcelProperty(value = "上报时间", index = 0)
|
@ColumnWidth(18)
|
private String datetime;
|
|
//cpu使用率
|
@ExcelProperty(value = "cpu使用率%", index = 1)
|
@ColumnWidth(18)
|
private Double cpuPer;
|
|
//内存使用率
|
@ExcelProperty(value = "内存使用率%", index = 2)
|
@ColumnWidth(18)
|
private Double memPer;
|
|
|
/**
|
* 每秒钟接收的数据包,rxpck/s
|
*/
|
@ExcelProperty(value = "接收数据包/秒", index = 3)
|
@ColumnWidth(20)
|
private String rxpck;
|
|
/**
|
* 每秒钟发送的数据包,txpck/s
|
*/
|
@ExcelProperty(value = "发送数据包/秒", index = 4)
|
@ColumnWidth(20)
|
private String txpck;
|
|
|
/**
|
* 每秒钟接收的KB数,下行传输速率,KB/s
|
*/
|
@ExcelProperty(value = "下行速率KB/s", index = 5)
|
@ColumnWidth(18)
|
private String rxbyt;
|
|
|
/**
|
* 每秒钟发送的KB数,上行传输速率,KB/s
|
*/
|
@ExcelProperty(value = "上行速率KB/s", index = 6)
|
@ColumnWidth(18)
|
private String txbyt;
|
|
|
/**
|
* 每秒丢弃的传入数据包数
|
*/
|
@ExcelProperty(value = "丢弃传入数据包/秒", index = 7)
|
@ColumnWidth(24)
|
private String dropin;
|
|
|
/**
|
* 每秒丢弃的传出数据包数
|
*/
|
@ExcelProperty(value = "丢弃传出数据包/秒", index = 8)
|
@ColumnWidth(24)
|
private String dropout;
|
|
/**
|
* 1分钟之前到现在的负载
|
*/
|
@ExcelProperty(value = "1分钟负载", index = 9)
|
@ColumnWidth(18)
|
private Double oneLoad;
|
|
/**
|
* 5分钟之前到现在的负载
|
*/
|
@ExcelProperty(value = "5分钟负载", index = 10)
|
@ColumnWidth(18)
|
private Double fiveLoad;
|
|
/**
|
* 15分钟之前到现在的负载
|
*/
|
@ExcelProperty(value = "15分钟负载", index = 11)
|
@ColumnWidth(18)
|
private Double fifteenLoad;
|
|
//主机连接数
|
@ExcelProperty(value = "主机连接数", index = 12)
|
@ColumnWidth(18)
|
private String netConnections;
|
|
public String getDatetime() {
|
return datetime;
|
}
|
|
public void setDatetime(String datetime) {
|
this.datetime = datetime;
|
}
|
|
public Double getCpuPer() {
|
return cpuPer;
|
}
|
|
public void setCpuPer(Double cpuPer) {
|
this.cpuPer = cpuPer;
|
}
|
|
public Double getMemPer() {
|
return memPer;
|
}
|
|
public void setMemPer(Double memPer) {
|
this.memPer = memPer;
|
}
|
|
public String getRxpck() {
|
return rxpck;
|
}
|
|
public void setRxpck(String rxpck) {
|
this.rxpck = rxpck;
|
}
|
|
public String getTxpck() {
|
return txpck;
|
}
|
|
public void setTxpck(String txpck) {
|
this.txpck = txpck;
|
}
|
|
public String getRxbyt() {
|
return rxbyt;
|
}
|
|
public void setRxbyt(String rxbyt) {
|
this.rxbyt = rxbyt;
|
}
|
|
public String getTxbyt() {
|
return txbyt;
|
}
|
|
public void setTxbyt(String txbyt) {
|
this.txbyt = txbyt;
|
}
|
|
public String getDropin() {
|
return dropin;
|
}
|
|
public void setDropin(String dropin) {
|
this.dropin = dropin;
|
}
|
|
public String getDropout() {
|
return dropout;
|
}
|
|
public void setDropout(String dropout) {
|
this.dropout = dropout;
|
}
|
|
public Double getOneLoad() {
|
return oneLoad;
|
}
|
|
public void setOneLoad(Double oneLoad) {
|
this.oneLoad = oneLoad;
|
}
|
|
public Double getFiveLoad() {
|
return fiveLoad;
|
}
|
|
public void setFiveLoad(Double fiveLoad) {
|
this.fiveLoad = fiveLoad;
|
}
|
|
public Double getFifteenLoad() {
|
return fifteenLoad;
|
}
|
|
public void setFifteenLoad(Double fifteenLoad) {
|
this.fifteenLoad = fifteenLoad;
|
}
|
|
public String getNetConnections() {
|
return netConnections;
|
}
|
|
public void setNetConnections(String netConnections) {
|
this.netConnections = netConnections;
|
}
|
}
|