th7/data/core/data.go
2023-11-21 14:57:53 +00:00

18 lines
303 B
Go

package core
type Channel struct {
Id int `json:"id"`
Value float64 `json:"value"`
}
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"`
}