|
|
@ -140,7 +140,7 @@ func (the *consumerAXYES2GDJKJC) getStructIdsBySlope() []int { |
|
|
func (the *consumerAXYES2GDJKJC) getEs1HourAggData() { |
|
|
func (the *consumerAXYES2GDJKJC) getEs1HourAggData() { |
|
|
start, end := utils.GetTimeRangeByHour(-1) |
|
|
start, end := utils.GetTimeRangeByHour(-1) |
|
|
log.Printf("查询数据时间范围 %s - %s", start, end) |
|
|
log.Printf("查询数据时间范围 %s - %s", start, end) |
|
|
hourFactorIds := []int{11, 15, 18, 63} //应变11 桥墩倾斜15 裂缝监测18 支护结构变形63
|
|
|
hourFactorIds := []int{11, 15, 18, 63, 31} //应变11 桥墩倾斜15 裂缝监测18 支护结构变形63 水位 31
|
|
|
structIds := the.getStructIdsByBridge() |
|
|
structIds := the.getStructIdsByBridge() |
|
|
the.handlerHourAggData(start, end, "bridge", structIds, hourFactorIds) |
|
|
the.handlerHourAggData(start, end, "bridge", structIds, hourFactorIds) |
|
|
} |
|
|
} |
|
|
|