1. 完成通知模块的迁移

2. 实现 excel 导出的基础功能
This commit is contained in:
YunaiV
2021-01-13 21:49:32 +08:00
parent 6a36fe65b2
commit 02ff516f0f
13 changed files with 47 additions and 100 deletions

View File

@@ -58,31 +58,16 @@ public class Cpu {
return Arith.round(Arith.mul(sys / total, 100), 2);
}
public void setSys(double sys) {
this.sys = sys;
}
public double getUsed() {
return Arith.round(Arith.mul(used / total, 100), 2);
}
public void setUsed(double used) {
this.used = used;
}
public double getWait() {
return Arith.round(Arith.mul(wait / total, 100), 2);
}
public void setWait(double wait) {
this.wait = wait;
}
public double getFree() {
return Arith.round(Arith.mul(free / total, 100), 2);
}
public void setFree(double free) {
this.free = free;
}
}