数据 输入输出 处理
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.2 KiB

package models
type AXYSavoirTheme struct {
Station struct {
Name string `json:"name"`
Id int `json:"id"`
Structure Structure `json:"structure"`
Factor struct {
Id int `json:"id"`
Name string `json:"name"`
ProtoCode string `json:"protoCode"`
ProtoName string `json:"protoName"`
Items []struct {
Id int `json:"id"`
Name string `json:"name"`
FieldName string `json:"field_name"`
UnitName string `json:"unit_name"`
Precision interface{} `json:"precision"`
} `json:"items"`
Units struct {
Strain string `json:"strain"`
} `json:"units"`
} `json:"factor"`
ManualData bool `json:"manual_data"`
Formula interface{} `json:"formula"`
Params interface{} `json:"params"`
Group interface{} `json:"group"`
Labels string `json:"labels"`
GroupParam interface{} `json:"groupParam"`
} `json:"station"`
AcqTime string `json:"acqTime"`
TaskId string `json:"taskId"`
Data map[string]any `json:"data"`
State int `json:"state"`
DataEmpty bool `json:"dataEmpty"`
RawAgg bool `json:"rawAgg"`
}