We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bef6519 commit bd783a0Copy full SHA for bd783a0
1 file changed
backend/internal/adj/models.go
@@ -57,6 +57,22 @@ type Measurement struct {
57
EnumValues []string `json:"enumValues"`
58
}
59
60
+type MeasurementJSON struct {
61
+ Id string `json:"id"`
62
+ Name string `json:"name"`
63
+ Type string `json:"type"`
64
+ PodUnits string `json:"podUnits"`
65
+ DisplayUnits string `json:"displayUnits"`
66
+ Below *float64 `json:"below"`
67
+ Above *float64 `json:"above"`
68
+ EnumValues []string `json:"enumValues"`
69
+}
70
+
71
+type Range struct {
72
+ Warning *float64 `json:"warning"`
73
+ Safe *float64 `json:"safe"`
74
75
76
type Structure struct {
77
Packet Packet
78
Measurements []Measurement
0 commit comments