Commit 32a6da76 authored by M. Rehan Abbasi's avatar M. Rehan Abbasi
Browse files

fix assignment of RSRQ and RSRP in VIS

parent 78250773
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -650,7 +650,7 @@ func predictedQosPost(w http.ResponseWriter, r *http.Request) {
				rsrq := currGeoCoordinate.Rsrq
				poaName := currGeoCoordinate.PoaName
				estTimeHour := int32(time.Unix(int64(routeInfo.Time.Seconds), int64(routeInfo.Time.Seconds)).Hour())
				currGeoCoordinate.Rsrq, currGeoCoordinate.Rsrp, _ = sbi.GetPredictedPowerValues(estTimeHour, rsrp, rsrq, poaName)
				currGeoCoordinate.Rsrp, currGeoCoordinate.Rsrq, _ = sbi.GetPredictedPowerValues(estTimeHour, rsrp, rsrq, poaName)
			}
			latCheck := routeInfo.Location.GeoArea.Latitude == currGeoCoordinate.Latitude
			longCheck := routeInfo.Location.GeoArea.Longitude == currGeoCoordinate.Longitude