-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1143676
commit 41cda3b
Showing
4 changed files
with
12 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
namespace ProjBobcat.Class.Model; | ||
|
||
public readonly struct CPUInfo | ||
{ | ||
public required double Usage { get; init; } | ||
public required string Name { get; init; } | ||
} | ||
public record CPUInfo(double Usage, string Name); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
namespace ProjBobcat.Class.Model; | ||
|
||
public readonly struct MemoryInfo | ||
{ | ||
public required double Total { get; init; } | ||
public required double Used { get; init; } | ||
public required double Free { get; init; } | ||
public required double Percentage { get; init; } | ||
} | ||
public record MemoryInfo( | ||
double Total, | ||
double Used, | ||
double Free, | ||
double Percentage); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters