Ver código fonte

曲线偏差倍率调整

王波 1 semana atrás
pai
commit
9c234052c6

+ 7 - 7
generationXK-service/src/main/java/com/gyee/generation/service/PowerCurveFittingByTimeService.java

@@ -1713,13 +1713,13 @@ public class PowerCurveFittingByTimeService {
 //                List<TsDoubleData> qfzttemp = remoteService.adapterfd().getHistorySnap(qfzt, begin.getTime(), end.getTime(), interval);
                 fspointstemp.sort(Comparator.comparingLong(PointData::getPointTime));
                 glpointstemp.sort(Comparator.comparingLong(PointData::getPointTime));
-                for (ProBasicEquipment wt : wt2){
-                    if (windturbineId.equals(wt.getId())) {
-                        for (PointData pointData : glpointstemp) {
-                            pointData.setPointValueInDouble(pointData.getPointValueInDouble() / 1000.0);
-                        }
-                    }
-                }
+//                for (ProBasicEquipment wt : wt2){
+//                    if (windturbineId.equals(wt.getId())) {
+//                        for (PointData pointData : glpointstemp) {
+//                            pointData.setPointValueInDouble(pointData.getPointValueInDouble() / 1000.0);
+//                        }
+//                    }
+//                }
 
                 // 删除最后一条数据
                 if (!fspointstemp.isEmpty() && qfzttemp.size()!= fspointstemp.size()) {