th7/data/core/data.go
2022-11-12 14:20:29 +00:00

19 lines
338 B
Go

package core
type Channel struct {
Id int `json:"id"`
Uv float64 `json:"uv"`
Celsius float64 `json:"celsius"`
}
type Ratio struct {
Vref float64 `json:"vref"`
Vadj float64 `json:"vadj"`
Pivdd float64 `json:"pivdd"`
}
type Data struct {
Channels [7]Channel `json:"channels"`
Table Ratio `json:"table"`
}