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.
175 lines
5.0 KiB
175 lines
5.0 KiB
package GDJKJC
|
|
|
|
type CommonConeigen struct {
|
|
FactorId int
|
|
ItemsConeigen map[string]ItemCommonConeigen
|
|
}
|
|
|
|
// CommonConeigen 通用特征数据
|
|
type ItemCommonConeigen struct {
|
|
Max float64
|
|
Mean float64
|
|
Min float64
|
|
RootMeanSquare float64
|
|
//绝对值累积量 -数据波动特征- 时间段内的支座位移时程曲线,将后一时刻的支座位移减去前一时刻的支座位移即差分,再取绝对值,再累加
|
|
AbsDiff float64
|
|
}
|
|
|
|
// 车载称重特征数据
|
|
type CarLoadConeigen struct {
|
|
FactorId int
|
|
Total int64
|
|
MaxWeight float64
|
|
MaxWeight1 float64
|
|
OverWeightCount int64
|
|
}
|
|
|
|
type CommonBody struct {
|
|
ThirdChannelCode string `json:"ThirdChannelCode"` //测点通道编号(根据部里文件命名规则)
|
|
DataTimeUnix int64 `json:"DataTimeUnix"` //时间时间戳毫秒
|
|
}
|
|
|
|
type A32WsdBody struct {
|
|
CommonBody
|
|
TempMax float64 `json:"TempMax"` //温度最大值
|
|
TempMin float64 `json:"TempMin"` //温度最小值
|
|
TempAvg float64 `json:"TempAvg"` //温度平均值
|
|
TempDiff float64 `json:"TempDiff"` //最大温差
|
|
HumMax float64 `json:"HumMax"` //湿度最大值
|
|
HumMin float64 `json:"HumMin"` //湿度最小值
|
|
HumAvg float64 `json:"HumAvg"` //湿度平均值
|
|
WaringDuration float64 `json:"WaringDuration"` //超限持续时间
|
|
}
|
|
|
|
type A33IceBody struct {
|
|
CommonBody
|
|
Max float64 `json:"Max"` //最大值
|
|
Min float64 `json:"Min"` //最小值
|
|
Avg float64 `json:"Avg"` //平均值
|
|
}
|
|
|
|
type A34RainBody struct {
|
|
CommonBody
|
|
Avg float64 `json:"Avg"` //平均值
|
|
}
|
|
|
|
type A35CarloadsBody struct {
|
|
CommonBody
|
|
Total int64 `json:"Total"` //车流量
|
|
MaxWeight float64 `json:"MaxWeight"` //最大总负荷
|
|
MaxWeight1 float64 `json:"MaxWeight1"` //最大轴重
|
|
OverWeightCount int64 `json:"OverWeightCount"` //超载车数量
|
|
}
|
|
|
|
// A36WindBody 风速风向 10分钟一次
|
|
type A36WindBody struct {
|
|
CommonBody
|
|
AvgSpeed float64 `json:"AvgSpeed"` //风速平均值
|
|
AvgDirection float64 `json:"AvgDirection"` //风向平均值
|
|
AvgDirectionZ float64 `json:"AvgDirectionZ"` //风攻角平均值
|
|
}
|
|
|
|
// A37WindPressBody 风压
|
|
type A37WindPressBody struct {
|
|
CommonBody
|
|
Avg float64 `json:"Avg"` //风压平均值
|
|
Rms float64 `json:"Rms"` //均方根值
|
|
}
|
|
|
|
type A38TemperatureBody struct {
|
|
CommonBody
|
|
Max float64 `json:"Max"`
|
|
Min float64 `json:"Min"`
|
|
Avg float64 `json:"Avg"`
|
|
Diff float64 `json:"Diff"` //最大温差
|
|
}
|
|
|
|
// A40DisplacementBody 位移(主梁、塔顶、主缆、高墩墩顶、拱顶)
|
|
// 10分钟一次
|
|
type A40DisplacementBody struct {
|
|
CommonBody
|
|
Avg float64 `json:"Avg"`
|
|
Max float64 `json:"Max"`
|
|
Rms float64 `json:"Rms"` //均方根值
|
|
}
|
|
|
|
type A41GnssBody struct {
|
|
CommonBody
|
|
XAvg float64 `json:"XAvg"` //横桥向平均值
|
|
YAvg float64 `json:"YAvg"` //纵桥向平均值
|
|
ZAvg float64 `json:"ZAvg"` //竖向平均值
|
|
XMax float64 `json:"XMax"` //横桥向绝对最大值
|
|
YMax float64 `json:"YMax"` //纵桥向绝对最大值
|
|
ZMax float64 `json:"ZMax"` //竖向绝对最大值
|
|
XRms float64 `json:"XRms"` //横桥向均方根值
|
|
YRms float64 `json:"YRms"` //纵桥向均方根值
|
|
ZRms float64 `json:"ZRms"` //竖向均方根值
|
|
}
|
|
|
|
// A42DisplacementBody 位移(支座位移、梁端纵向位移)
|
|
type A42DisplacementBody struct {
|
|
CommonBody
|
|
Avg float64 `json:"Avg"`
|
|
Max float64 `json:"Max"`
|
|
Rms float64 `json:"Rms"`
|
|
AbsDiff float64 `json:"AbsDiff"` //绝对值累积量
|
|
}
|
|
|
|
// A43AngleBody 梁端转角
|
|
type A43AngleBody struct {
|
|
CommonBody
|
|
XAvg float64 `json:"XAvg"`
|
|
XMax float64 `json:"XMax"`
|
|
XRms float64 `json:"XRms"`
|
|
YAvg float64 `json:"YAvg"`
|
|
YMax float64 `json:"YMax"`
|
|
YRms float64 `json:"YRms"`
|
|
}
|
|
|
|
// A44Strain 应变
|
|
type A44Strain struct {
|
|
CommonBody
|
|
Avg float64 `json:"Avg"`
|
|
Max float64 `json:"Max"`
|
|
}
|
|
|
|
// A45CableForce 索力
|
|
type A45CableForce struct {
|
|
CommonBody
|
|
Avg float64 `json:"Avg"`
|
|
Max float64 `json:"Max"`
|
|
Min float64 `json:"Min"`
|
|
Rms float64 `json:"Rms"` //均方根值
|
|
}
|
|
|
|
// A48Acc 振动(主梁、索塔、拱圈) 10分钟一次
|
|
type A48Acc struct {
|
|
CommonBody
|
|
Max float64 `json:"Max"` //绝对最大值
|
|
Rms float64 `json:"Rms"` //均方根值
|
|
}
|
|
|
|
// A50DisplacementBody 位移(支座位移、梁端纵向位移)
|
|
type A50DisplacementBody struct {
|
|
CommonBody
|
|
Avg float64 `json:"Avg"`
|
|
Max float64 `json:"Max"` //绝对最大值
|
|
Rms float64 `json:"Rms"` //均方根值
|
|
}
|
|
|
|
// A51Crack 裂缝
|
|
type A51Crack struct {
|
|
CommonBody
|
|
Avg float64 `json:"Avg"`
|
|
Max float64 `json:"Max"`
|
|
}
|
|
|
|
type A52Corrosion struct {
|
|
CommonBody
|
|
ChlorineMax float64 `json:"ChlorineMax"` //氯离子浓度最大值
|
|
ChlorineAvg float64 `json:"ChlorineAvg"` //氯离子浓度平均值
|
|
ChlorineMin float64 `json:"ChlorineMin"` //氯离子浓度最小值
|
|
CorrosionMax float64 `json:"CorrosionMax"` //侵蚀深度最大值
|
|
CorrosionAvg float64 `json:"CorrosionAvg"` //侵蚀深度平均值
|
|
CorrosionMin float64 `json:"CorrosionMin"` //侵蚀深度最小值
|
|
}
|
|
|