|
|
@ -9,19 +9,19 @@ import ( |
|
|
|
"time" |
|
|
|
) |
|
|
|
|
|
|
|
type mStation struct { |
|
|
|
Name string |
|
|
|
Id int |
|
|
|
Structure Structure |
|
|
|
Factor Factor |
|
|
|
ManualData bool `json:"manual_data"` |
|
|
|
Params map[string]any |
|
|
|
Group StationGroup |
|
|
|
DeviceProto DeviceProto |
|
|
|
CorrGroups []StationGroup //关联的分组(沉降级联)
|
|
|
|
Labels string |
|
|
|
//CombineInfo // 测点数据组装信息
|
|
|
|
} |
|
|
|
//type mStation struct {
|
|
|
|
// Name string
|
|
|
|
// Id int
|
|
|
|
// Structure Structure
|
|
|
|
// Factor Factor
|
|
|
|
// ManualData bool `json:"manual_data"`
|
|
|
|
// Params map[string]any
|
|
|
|
// Group StationGroup
|
|
|
|
// DeviceProto DeviceProto
|
|
|
|
// CorrGroups []StationGroup //关联的分组(沉降级联)
|
|
|
|
// Labels string
|
|
|
|
// //CombineInfo // 测点数据组装信息
|
|
|
|
//}
|
|
|
|
|
|
|
|
// Station 测点模型 = 基本信息 + 数据 + 阈值
|
|
|
|
type Station struct { |
|
|
|