ing
This commit is contained in:
parent
2b132edc08
commit
7b089c913a
|
@ -9,13 +9,13 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
type Sensor struct {
|
type Sensor struct {
|
||||||
ID json.Number `json:"id,Number,omitempty"`
|
ID json.Number `json:"id,Number,omitempty"`
|
||||||
Target *target.Target `json:"target,omitempty"`
|
Target *target.Target `json:"target,omitempty"`
|
||||||
Name string `json:"name,omitempty"`
|
Name string `json:"name,omitempty"`
|
||||||
Description string `json:"description,omitempty"`
|
MetaSensorStatus *meta.MetaSensorStatus `json:"metaSensorStatus,omitempty"`
|
||||||
MetaSensorStatus *meta.MetaSensorStatus `json:"metaSensorStatus,omitempty"`
|
MetaCrawlerMapping *meta.MetaCrawlerMapping `json:"metaCrawlerMapping,omitempty"`
|
||||||
MetaCrawler *meta.MetaCrawler `json:"metaCrawler,omitempty"`
|
CrawlerInputItems string `json:"crawlerInputItems,omitempty"`
|
||||||
CrawlerInputItems string `json:"crawlerInputItems,omitempty"`
|
ItemCount json.Number `json:"itemCount,omitempty"`
|
||||||
ItemCount json.Number `json:"itemCount,omitempty"`
|
CreateDate *util.Timestamp `json:"createDate,omitempty"`
|
||||||
CreateDate *util.Timestamp `json:"createDate,omitempty"`
|
Interval json.Number `json:"interval,Number,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,8 +8,8 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
type SensorItem struct {
|
type SensorItem struct {
|
||||||
ID json.Number `json:"id,Number,omitempty"`
|
ID json.Number `json:"id,Number,omitempty"`
|
||||||
Sensor *Sensor `json:"sensor,omitempty"`
|
Sensor *Sensor `json:"sensor,omitempty"`
|
||||||
MetaSensorItem *meta.MetaSensorItem `json:"metaSensorItem,omitempty"`
|
MetaDisplayItemMapping *meta.MetaDisplayItemMapping `json:"metaDisplayItemMapping,omitempty"`
|
||||||
CreateDate *util.Timestamp `json:"createDate,omitempty"`
|
CreateDate *util.Timestamp `json:"createDate,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
package sensor
|
|
||||||
|
|
||||||
import (
|
|
||||||
"encoding/json"
|
|
||||||
|
|
||||||
"git.loafle.net/overflow/commons-go/model/meta"
|
|
||||||
)
|
|
||||||
|
|
||||||
type SensorItemDependency struct {
|
|
||||||
ID json.Number `json:"id,Number,omitempty"`
|
|
||||||
MetaSensorDisplayItem *meta.MetaSensorDisplayItem `json:"metaSensorDisplayItem,omitempty"`
|
|
||||||
MetaSensorItemKey *meta.MetaSensorItemKey `json:"metaSensorItemKey,omitempty"`
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user