commons-go/model/sensorconfig/SensorConfig.go
insanity b5fa3f60b9 bug
2018-07-02 20:58:30 +09:00

13 lines
381 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"`
}