Browse Source

add 位移24 特征数据

dev
lucas 2 months ago
parent
commit
2c2f063e21
  1. 2
      adaptors/知物云es主题特征to中交华联.go
  2. 2
      consumers/consumerGZG2ZJHL.go

2
adaptors/知物云es主题特征to中交华联.go

@ -179,7 +179,7 @@ func (the Adaptor_ZWYES_ZJHL) EsAgg2StatisticData(factorId int, monitorCode int6
AvgValue: float32(avgValueX),
RootMeanSquare: float32(rootMeanSquareX),
}}
case 20: //支座位移
case 20, 24: //支座位移20, 位移24
dataDefinitionStatisticData.StatisticData.DataBody = &protoFiles_zjhl.StatisticData_Dis{Dis: &protoFiles_zjhl.DISStatistic{
MaxAbsoluteValue: float32(maxAbsoluteValueX),
AvgValue: float32(avgValueX),

2
consumers/consumerGZG2ZJHL.go

@ -376,7 +376,7 @@ func getEsAggSubSqlByZwyFactorId(factorId int) string {
}
}
}`
case 20:
case 20, 24:
subAggSQl = `
{
"x": {

Loading…
Cancel
Save