27 lines
417 B
Go
27 lines
417 B
Go
package model
|
|
|
|
import "time"
|
|
|
|
//type Meters struct {
|
|
// Ts time.Time
|
|
// Current float64
|
|
// Voltage int
|
|
// Phase float64
|
|
// Groupid int
|
|
// Location string
|
|
//}
|
|
|
|
type Meters struct {
|
|
Ts time.Time
|
|
Local_time string
|
|
Wind_speed float64
|
|
Id int
|
|
Pitch_angle float64
|
|
Wind_dir float64
|
|
Wind_ori float64
|
|
Power float64
|
|
Speed float64
|
|
Groupid int
|
|
Ip_addr string
|
|
}
|