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.
23 lines
626 B
23 lines
626 B
package WJHP
|
|
|
|
import "time"
|
|
|
|
type PosData struct {
|
|
Arg string `json:"arg"`
|
|
Des string `json:"des"`
|
|
Pos string `json:"pos"` //采集点号
|
|
Tar string `json:"tar"`
|
|
XReal float64 `json:"xReal"` //X方向位移
|
|
YReal float64 `json:"yReal"` //Y方向位移
|
|
Timestamp time.Time `json:"timestamp"` //采集时间
|
|
}
|
|
|
|
type UploadHistoryData struct {
|
|
DeviceId string `json:"deviceId"`
|
|
Apikey string `json:"apikey"`
|
|
Data map[string]HistoryData `json:"data"`
|
|
}
|
|
|
|
type HistoryData struct {
|
|
L1_GP_1 map[string]string `json:"L1_GP_1"`
|
|
}
|
|
|