13693261870
2024-09-02 7d1535b74b9c27411bc45b695675b335c30f3c3a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
package com.wgcloud.entity;
 
import org.apache.commons.lang3.StringUtils;
 
import java.util.Date;
 
/**
 * @version v2.3
 * @ClassName:NetIoState.java
 * @author: http://www.wgstart.com
 * @date: 2019年11月16日
 * @Description: 网络设备的吞吐率
 * @Copyright: 2017-2024 wgcloud. All rights reserved.
 */
public class NetIoState extends BaseEntity {
 
 
    /**
     *
     */
    private static final long serialVersionUID = -8314012397341825158L;
 
 
    /**
     * host名称
     */
    private String hostname;
 
    /**
     * 每秒钟接收的数据包,rxpck/s
     */
    private String rxpck;
 
    /**
     * 每秒钟发送的数据包,txpck/s
     */
    private String txpck;
 
 
    /**
     * 每秒钟接收的KB数,rxkB/s
     */
    private String rxbyt;
 
 
    /**
     * 每秒钟发送的KB数,txkB/s
     */
    private String txbyt;
 
 
    /**
     * 每秒钟接收的压缩数据包,rxcmp/s
     */
    private String rxcmp;
 
 
    /**
     * 每秒钟发送的压缩数据包,txcmp/s
     */
    private String txcmp;
 
 
    /**
     * 每秒钟接收的多播数据包,rxmcst/s
     */
    private String rxmcst;
 
    /**
     * 添加时间
     * yyyy-MM-dd hh:mm:ss
     */
    private String dateStr;
 
    /**
     * 创建时间
     */
    private Date createTime;
 
 
    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 getRxcmp() {
        return rxcmp;
    }
 
    public void setRxcmp(String rxcmp) {
        this.rxcmp = rxcmp;
    }
 
    public String getTxcmp() {
        return txcmp;
    }
 
    public void setTxcmp(String txcmp) {
        this.txcmp = txcmp;
    }
 
    public String getRxmcst() {
        return rxmcst;
    }
 
    public void setRxmcst(String rxmcst) {
        this.rxmcst = rxmcst;
    }
 
 
    public Date getCreateTime() {
        return createTime;
    }
 
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
 
    public String getDateStr() {
        if (!StringUtils.isEmpty(dateStr) && dateStr.length() > 16) {
            return dateStr.substring(11);
        }
        return dateStr;
    }
 
    public void setDateStr(String dateStr) {
        this.dateStr = dateStr;
    }
 
    public String getHostname() {
        return hostname;
    }
 
    public void setHostname(String hostname) {
        this.hostname = hostname;
    }
 
 
}