commons-go/model/sensorconfig/SensorConfig.go

13 lines
387 B
Go
Raw Normal View History

2018-04-26 16:37:59 +09:00
package sensorconfig
2018-04-12 18:38:04 +09:00
import "encoding/json"
type SensorConfig struct {
2018-07-02 16:42:40 +09:00
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"`
2018-04-12 18:38:04 +09:00
}