commons-go/model/sensorconfig/SensorConfig.go

13 lines
381 B
Go
Raw Normal View History

2018-04-26 07:37:59 +00:00
package sensorconfig
2018-04-12 09:38:04 +00:00
import "encoding/json"
type SensorConfig struct {
2018-07-02 11:58:30 +00:00
SensorID json.Number `json:"id,Number,omitempty"`
2018-07-02 07:42:40 +00:00
2018-07-02 11:58:30 +00:00
Schedule *SensorConfigSchedule `json:"schedule,omitempty"`
Crawler *SensorConfigCrawler `json:"crawler,omitempty"`
Connection *SensorConfigConnection `json:"connection,omitempty"`
Items *SensorConfigItems `json:"items,omitempty"`
2018-04-12 09:38:04 +00:00
}