19 lines
338 B
Go
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"`
|
||
|
}
|