commons-go/model/sensorconfig/SensorConfig.go
2018-07-02 16:42:40 +09:00

13 lines
387 B
Go

package sensorconfig
import "encoding/json"
type SensorConfig struct {
SensorID json.Number `json:"id,Number,omitempty"`
Schedule *SensorConfigSchedule `json:"schedule,omitempty"`
Crawler *SensorConfigCrawler `json:"crawler,omitempty"`
Connection *SensorConfigConnection `json:"connection,omitempty"`
Items []*SensorConfigItems `json:"items,omitempty"`
}