2018-04-26 07:37:59 +00:00
|
|
|
package sensorconfig
|
2018-04-12 09:38:04 +00:00
|
|
|
|
2018-07-04 08:55:26 +00:00
|
|
|
import (
|
|
|
|
"encoding/json"
|
|
|
|
|
|
|
|
"git.loafle.net/overflow/commons-go/model/meta"
|
|
|
|
)
|
2018-04-12 09:38:04 +00:00
|
|
|
|
|
|
|
type SensorConfig struct {
|
2018-07-02 12:08:57 +00:00
|
|
|
SensorID json.Number `json:"sensorID,omitempty"`
|
2018-07-02 07:42:40 +00:00
|
|
|
|
2018-07-04 08:55:26 +00:00
|
|
|
Schedule *SensorConfigSchedule `json:"schedule,omitempty"`
|
|
|
|
Crawler *SensorConfigCrawler `json:"crawler,omitempty"`
|
|
|
|
Connection *SensorConfigConnection `json:"connection,omitempty"`
|
|
|
|
MetaCollectionItems []*meta.MetaCollectionItem `json:"metaCollectionItems,omitempty"`
|
2018-04-12 09:38:04 +00:00
|
|
|
}
|