commons-go/model/sensorconfig/SensorConfig.go
2018-07-02 21:08:57 +09:00

13 lines
380 B
Go

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