NetConnObject.java
2.49 KB
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
/*
* Created on 2006-8-1
*
*
* Window - Preferences - Java - Code Style - Code Templates
*/
package com.sitech.ismp.coll;
/**
* 责任人:maozr
*
* @author Administrator 置ping 网络目标地址结果信息
*
*
*/
public class NetConnObject {
// 连接状态,true--网络连接成功
// false--连接失败
private String connState = "true";
// 发送包个数
private String send = "";
// 接收包个数
private String received = "";
// 丢失个数
private String lost = "";
// 丢失率 %
private String lostRate = "";
// 最大发送时间
private String maximum = "";
// 最小发送时间
private String minimum = "";
// 平均发送时间
private String average = "";
/**
* @return Returns the average.
*/
public String getAverage() {
return average;
}
/**
* @param average
* The average to set.
*/
public void setAverage(String average) {
this.average = average;
}
/**
* @return Returns the connState.
*/
public String getConnState() {
return connState;
}
/**
* @param connState
* The connState to set.
*/
public void setConnState(String connState) {
this.connState = connState;
}
/**
* @return Returns the lost.
*/
public String getLost() {
return lost;
}
/**
* @param lost
* The lost to set.
*/
public void setLost(String lost) {
this.lost = lost;
}
/**
* @return Returns the lostRate.
*/
public String getLostRate() {
return lostRate;
}
/**
* @param lostRate
* The lostRate to set.
*/
public void setLostRate(String lostRate) {
this.lostRate = lostRate;
}
/**
* @return Returns the maximum.
*/
public String getMaximum() {
return maximum;
}
/**
* @param maximum
* The maximum to set.
*/
public void setMaximum(String maximum) {
this.maximum = maximum;
}
/**
* @return Returns the minimum.
*/
public String getMinimum() {
return minimum;
}
/**
* @param minimum
* The minimum to set.
*/
public void setMinimum(String minimum) {
this.minimum = minimum;
}
/**
* @return Returns the received.
*/
public String getReceived() {
return received;
}
/**
* @param received
* The received to set.
*/
public void setReceived(String received) {
this.received = received;
}
/**
* @return Returns the send.
*/
public String getSend() {
return send;
}
/**
* @param send
* The send to set.
*/
public void setSend(String send) {
this.send = send;
}
}