提交 | 用户 | 时间
|
0cceb6
|
1 |
package com.jcdm.framework.web.domain.server; |
Y |
2 |
|
|
3 |
/** |
|
4 |
* 系统文件相关信息 |
|
5 |
* |
|
6 |
* @author jc |
|
7 |
*/ |
|
8 |
public class SysFile |
|
9 |
{ |
|
10 |
/** |
|
11 |
* 盘符路径 |
|
12 |
*/ |
|
13 |
private String dirName; |
|
14 |
|
|
15 |
/** |
|
16 |
* 盘符类型 |
|
17 |
*/ |
|
18 |
private String sysTypeName; |
|
19 |
|
|
20 |
/** |
|
21 |
* 文件类型 |
|
22 |
*/ |
|
23 |
private String typeName; |
|
24 |
|
|
25 |
/** |
|
26 |
* 总大小 |
|
27 |
*/ |
|
28 |
private String total; |
|
29 |
|
|
30 |
/** |
|
31 |
* 剩余大小 |
|
32 |
*/ |
|
33 |
private String free; |
|
34 |
|
|
35 |
/** |
|
36 |
* 已经使用量 |
|
37 |
*/ |
|
38 |
private String used; |
|
39 |
|
|
40 |
/** |
|
41 |
* 资源的使用率 |
|
42 |
*/ |
|
43 |
private double usage; |
|
44 |
|
|
45 |
public String getDirName() |
|
46 |
{ |
|
47 |
return dirName; |
|
48 |
} |
|
49 |
|
|
50 |
public void setDirName(String dirName) |
|
51 |
{ |
|
52 |
this.dirName = dirName; |
|
53 |
} |
|
54 |
|
|
55 |
public String getSysTypeName() |
|
56 |
{ |
|
57 |
return sysTypeName; |
|
58 |
} |
|
59 |
|
|
60 |
public void setSysTypeName(String sysTypeName) |
|
61 |
{ |
|
62 |
this.sysTypeName = sysTypeName; |
|
63 |
} |
|
64 |
|
|
65 |
public String getTypeName() |
|
66 |
{ |
|
67 |
return typeName; |
|
68 |
} |
|
69 |
|
|
70 |
public void setTypeName(String typeName) |
|
71 |
{ |
|
72 |
this.typeName = typeName; |
|
73 |
} |
|
74 |
|
|
75 |
public String getTotal() |
|
76 |
{ |
|
77 |
return total; |
|
78 |
} |
|
79 |
|
|
80 |
public void setTotal(String total) |
|
81 |
{ |
|
82 |
this.total = total; |
|
83 |
} |
|
84 |
|
|
85 |
public String getFree() |
|
86 |
{ |
|
87 |
return free; |
|
88 |
} |
|
89 |
|
|
90 |
public void setFree(String free) |
|
91 |
{ |
|
92 |
this.free = free; |
|
93 |
} |
|
94 |
|
|
95 |
public String getUsed() |
|
96 |
{ |
|
97 |
return used; |
|
98 |
} |
|
99 |
|
|
100 |
public void setUsed(String used) |
|
101 |
{ |
|
102 |
this.used = used; |
|
103 |
} |
|
104 |
|
|
105 |
public double getUsage() |
|
106 |
{ |
|
107 |
return usage; |
|
108 |
} |
|
109 |
|
|
110 |
public void setUsage(double usage) |
|
111 |
{ |
|
112 |
this.usage = usage; |
|
113 |
} |
|
114 |
} |