-
Notifications
You must be signed in to change notification settings - Fork 38
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
Showing
2 changed files
with
8 additions
and
1 deletion.
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,27 +1,30 @@ | ||
package devices | ||
|
||
type PowerSensor struct { | ||
Name string | ||
ID string | ||
Name string | ||
InputWatts float32 | ||
OutputWatts float32 | ||
LastOutputWatts float32 | ||
} | ||
|
||
type TemperatureSensor struct { | ||
ID string | ||
Name string | ||
ReadingCelsius float32 | ||
PhysicalContext string | ||
} | ||
|
||
type FanSensor struct { | ||
ID string | ||
Name string | ||
Reading float32 | ||
PhysicalContext string | ||
} | ||
|
||
type ChassisHealth struct { | ||
ID string | ||
Name string | ||
State string | ||
Health string | ||
} |
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