|
@@ -1,13 +1,9 @@
|
|
|
package com.gyee.benchmarkinghistroy;
|
|
|
|
|
|
|
|
|
-import com.gyee.benchmarkinghistroy.model.auto.Windpowerstationpointnew;
|
|
|
import com.gyee.benchmarkinghistroy.service.benchmarking.BenchmarkingHistroyService;
|
|
|
import com.gyee.benchmarkinghistroy.service.infoday.InfodayService;
|
|
|
import com.gyee.benchmarkinghistroy.service.specific.SpecificService;
|
|
|
-import com.gyee.benchmarkinghistroy.util.realtimesource.IEdosUtil;
|
|
|
-import com.gyee.benchmarkinghistroy.util.realtimesource.MongoEdosUtil;
|
|
|
-import com.gyee.common.model.PointData;
|
|
|
import com.gyee.common.util.DateUtils;
|
|
|
import org.junit.Test;
|
|
|
import org.junit.runner.RunWith;
|
|
@@ -43,25 +39,25 @@ public class BenchmarkingHistroyMainNewTest {
|
|
|
|
|
|
@Test
|
|
|
public void test1() throws Exception {
|
|
|
- String date = "2022-05-02";
|
|
|
+ String date = "2022-07-17";
|
|
|
// benchmarkingHistroyService.saveEquipmentdayinfo(date,date);
|
|
|
// benchmarkingHistroyService.saveEquipmentdaydetailed(date,date);
|
|
|
// benchmarkingHistroyService.saveOperationrecord(date,date);
|
|
|
// benchmarkingHistroyService.saveBeanchmarkList(date,date);
|
|
|
// benchmarkingHistroyService.saveBenchmark(date,date);
|
|
|
// infodayService.saveWindturbineinfoday(date,date);
|
|
|
- infodayService.saveWindturbineinfoday3(date,date);
|
|
|
- infodayService.saveWindpowerinfoday(date,date);
|
|
|
+// infodayService.saveWindturbineinfoday3(date,date);
|
|
|
+// infodayService.saveWindpowerinfoday(date,date);
|
|
|
infodayService.saveWindpowerinfoday3(date,date);
|
|
|
}
|
|
|
|
|
|
@Test
|
|
|
public void test2() throws Exception {
|
|
|
- Windpowerstationpointnew point = new Windpowerstationpointnew();
|
|
|
- point.setCode("HB_GD_KBF_FJ_P4_L17_200_AI0103");
|
|
|
- IEdosUtil edosUtil = new MongoEdosUtil();
|
|
|
- PointData realData = edosUtil.getRealData(point);
|
|
|
- System.out.println(realData);
|
|
|
+// Windpowerstationpointnew point = new Windpowerstationpointnew();
|
|
|
+// point.setCode("HB_GD_KBF_FJ_P4_L17_200_AI0103");
|
|
|
+// IEdosUtil edosUtil = new MongoEdosUtil();
|
|
|
+// PointData realData = edosUtil.getRealData(point);
|
|
|
+// System.out.println(realData);
|
|
|
}
|
|
|
|
|
|
@Test
|