new: tap server tab net io view to switch type

This commit is contained in:
lollipopkit
2023-11-01 00:38:51 -06:00
parent a363e97dd4
commit 37e5c4d092
5 changed files with 109 additions and 53 deletions

View File

@@ -13,6 +13,17 @@ enum NetViewType {
@HiveField(2)
traffic;
NetViewType get next {
switch (this) {
case conn:
return speed;
case speed:
return traffic;
case traffic:
return conn;
}
}
String get toStr {
switch (this) {
case NetViewType.conn: