Remove unused models
This commit is contained in:
@@ -1,21 +0,0 @@
|
|||||||
package datasource
|
|
||||||
|
|
||||||
type Trend []TrendPoint
|
|
||||||
|
|
||||||
type TrendPoint struct {
|
|
||||||
ItemID string `json:"itemid,omitempty"`
|
|
||||||
Clock int64 `json:"clock,omitempty,string"`
|
|
||||||
Num string `json:"num,omitempty"`
|
|
||||||
ValueMin string `json:"value_min,omitempty"`
|
|
||||||
ValueAvg string `json:"value_avg,omitempty"`
|
|
||||||
ValueMax string `json:"value_max,omitempty"`
|
|
||||||
}
|
|
||||||
|
|
||||||
type History []HistoryPoint
|
|
||||||
|
|
||||||
type HistoryPoint struct {
|
|
||||||
ItemID string `json:"itemid,omitempty"`
|
|
||||||
Clock int64 `json:"clock,omitempty,string"`
|
|
||||||
Value float64 `json:"value,omitempty,string"`
|
|
||||||
NS int64 `json:"ns,omitempty,string"`
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user