2018-04-26 16:37:59 +09:00
|
|
|
package sensorconfig
|
2018-04-12 18:38:04 +09:00
|
|
|
|
2018-07-04 17:55:26 +09:00
|
|
|
import (
|
|
|
|
"encoding/json"
|
|
|
|
|
|
|
|
"git.loafle.net/overflow/commons-go/model/meta"
|
|
|
|
)
|
2018-04-12 18:38:04 +09:00
|
|
|
|
|
|
|
type SensorConfig struct {
|
2018-07-02 21:08:57 +09:00
|
|
|
SensorID json.Number `json:"sensorID,omitempty"`
|
2018-07-02 16:42:40 +09:00
|
|
|
|
2018-07-04 17:55:26 +09: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 18:38:04 +09:00
|
|
|
}
|