Переглянути джерело

修正新的表结构实体

shilin 2 роки тому
батько
коміт
fb4b575edf
100 змінених файлів з 5846 додано та 1223 видалено
  1. 17 1
      realtime/generationXK-service/src/main/java/com/gyee/generation/GenerationMain.java
  2. 20 0
      realtime/generationXK-service/src/main/java/com/gyee/generation/controller/ProEconEquipmentInfoDay1Controller.java
  3. 20 0
      realtime/generationXK-service/src/main/java/com/gyee/generation/controller/ProEconEquipmentInfoDay2Controller.java
  4. 20 0
      realtime/generationXK-service/src/main/java/com/gyee/generation/controller/ProEconEquipmentInfoDay3Controller.java
  5. 20 0
      realtime/generationXK-service/src/main/java/com/gyee/generation/controller/ProEconEquipmentInfoDay4Controller.java
  6. 20 0
      realtime/generationXK-service/src/main/java/com/gyee/generation/controller/ProEconEquipmentInfoDay5Controller.java
  7. 20 0
      realtime/generationXK-service/src/main/java/com/gyee/generation/controller/ProEconEquipmentInfoDay6Controller.java
  8. 20 0
      realtime/generationXK-service/src/main/java/com/gyee/generation/controller/ProEconPowerstationInfoDay1Controller.java
  9. 20 0
      realtime/generationXK-service/src/main/java/com/gyee/generation/controller/ProEconPowerstationInfoDay2Controller.java
  10. 20 0
      realtime/generationXK-service/src/main/java/com/gyee/generation/controller/ProEconPowerstationInfoDay3Controller.java
  11. 20 0
      realtime/generationXK-service/src/main/java/com/gyee/generation/controller/ProEconPowerstationInfoDay4Controller.java
  12. 20 0
      realtime/generationXK-service/src/main/java/com/gyee/generation/controller/ProEconPowerstationInfoDay5Controller.java
  13. 20 0
      realtime/generationXK-service/src/main/java/com/gyee/generation/controller/ProEconPowerstationInfoDay6Controller.java
  14. 20 0
      realtime/generationXK-service/src/main/java/com/gyee/generation/controller/ProEconPowerstationInfoDay7Controller.java
  15. 20 0
      realtime/generationXK-service/src/main/java/com/gyee/generation/controller/ProEconWindpowerInfoMonthController.java
  16. 20 0
      realtime/generationXK-service/src/main/java/com/gyee/generation/controller/ProEconWindpowerInfoYearController.java
  17. 20 0
      realtime/generationXK-service/src/main/java/com/gyee/generation/controller/ProEconWindpowerStandardPointController.java
  18. 20 0
      realtime/generationXK-service/src/main/java/com/gyee/generation/controller/ProEconWindturbineInfoMonthController.java
  19. 20 0
      realtime/generationXK-service/src/main/java/com/gyee/generation/controller/ProEconWindturbineInfoYearController.java
  20. 20 0
      realtime/generationXK-service/src/main/java/com/gyee/generation/controller/ProEconWindturbineStandardPointController.java
  21. 91 30
      realtime/generationXK-service/src/main/java/com/gyee/generation/init/CacheContext.java
  22. 1 1
      realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProBasicCompanyMapper.java
  23. 1 1
      realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProBasicEnergyGroupMapper.java
  24. 1 1
      realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProBasicEquipmentPointMapper.java
  25. 1 1
      realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProBasicLineMapper.java
  26. 1 1
      realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProBasicMeterPointMapper.java
  27. 1 1
      realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProBasicModelPowerMapper.java
  28. 1 1
      realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProBasicProjectMapper.java
  29. 1 1
      realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProBasicRegionMapper.java
  30. 1 1
      realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProBasicSquareMapper.java
  31. 1 1
      realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProBasicWindpowerstationMapper.java
  32. 1 1
      realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProBasicWindsubStationMapper.java
  33. 1 1
      realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProBasicWindturbineMapper.java
  34. 1 1
      realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProBasicWppointMapper.java
  35. 1 1
      realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProEconElectricaltestPointMapper.java
  36. 16 0
      realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProEconEquipmentInfoDay1Mapper.java
  37. 16 0
      realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProEconEquipmentInfoDay2Mapper.java
  38. 16 0
      realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProEconEquipmentInfoDay3Mapper.java
  39. 16 0
      realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProEconEquipmentInfoDay4Mapper.java
  40. 16 0
      realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProEconEquipmentInfoDay5Mapper.java
  41. 16 0
      realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProEconEquipmentInfoDay6Mapper.java
  42. 1 1
      realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProEconEquipmentmodelMapper.java
  43. 1 1
      realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProEconLogicalUnitMapper.java
  44. 2 2
      realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProEconManufacturerMapper.java
  45. 16 0
      realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProEconPowerstationInfoDay1Mapper.java
  46. 16 0
      realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProEconPowerstationInfoDay2Mapper.java
  47. 16 0
      realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProEconPowerstationInfoDay3Mapper.java
  48. 16 0
      realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProEconPowerstationInfoDay4Mapper.java
  49. 16 0
      realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProEconPowerstationInfoDay5Mapper.java
  50. 16 0
      realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProEconPowerstationInfoDay6Mapper.java
  51. 16 0
      realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProEconPowerstationInfoDay7Mapper.java
  52. 1 1
      realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProEconTestingPointMapper.java
  53. 0 16
      realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProEconWindpowerInfoDayMapper.java
  54. 16 0
      realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProEconWindpowerStandardPointMapper.java
  55. 0 16
      realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProEconWindturbineInfoDayMapper.java
  56. 16 0
      realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProEconWindturbineStandardPointMapper.java
  57. 21 5
      realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProBasicCompany.java
  58. 24 5
      realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProBasicEnergyGroup.java
  59. 13 2
      realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProBasicEquipmentPoint.java
  60. 2 1
      realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProBasicLine.java
  61. 25 2
      realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProBasicMeterPoint.java
  62. 7 1
      realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProBasicModelPower.java
  63. 3 3
      realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProBasicProject.java
  64. 21 5
      realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProBasicRegion.java
  65. 6 1
      realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProBasicSquare.java
  66. 2 1
      realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProBasicWindpowerstation.java
  67. 1 1
      realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProBasicWindsubStation.java
  68. 12 4
      realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProBasicWindturbine.java
  69. 17 9
      realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProBasicWppoint.java
  70. 17 2
      realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProEconElectricaltestPoint.java
  71. 424 0
      realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProEconEquipmentInfoDay1.java
  72. 364 0
      realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProEconEquipmentInfoDay2.java
  73. 364 0
      realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProEconEquipmentInfoDay3.java
  74. 409 0
      realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProEconEquipmentInfoDay4.java
  75. 174 0
      realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProEconEquipmentInfoDay5.java
  76. 109 0
      realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProEconEquipmentInfoDay6.java
  77. 7 1
      realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProEconEquipmentmodel.java
  78. 5 3
      realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProEconInterruptionItem.java
  79. 6 1
      realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProEconLogicalUnit.java
  80. 12 2
      realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProEconManufacturer.java
  81. 429 0
      realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProEconPowerstationInfoDay1.java
  82. 369 0
      realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProEconPowerstationInfoDay2.java
  83. 369 0
      realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProEconPowerstationInfoDay3.java
  84. 159 0
      realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProEconPowerstationInfoDay4.java
  85. 159 0
      realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProEconPowerstationInfoDay5.java
  86. 159 0
      realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProEconPowerstationInfoDay6.java
  87. 114 0
      realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProEconPowerstationInfoDay7.java
  88. 30 1
      realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProEconTestingPoint.java
  89. 0 479
      realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProEconWindpowerInfoDay.java
  90. 32 0
      realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProEconWindpowerStandardPoint.java
  91. 0 399
      realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProEconWindturbineInfoDay.java
  92. 34 0
      realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProEconWindturbineStandardPoint.java
  93. 1 1
      realtime/generationXK-service/src/main/java/com/gyee/generation/model/vo/CureFitting.java
  94. 834 0
      realtime/generationXK-service/src/main/java/com/gyee/generation/model/vo/ElectricityVo.java
  95. 21 0
      realtime/generationXK-service/src/main/java/com/gyee/generation/model/vo/Location.java
  96. 79 65
      realtime/generationXK-service/src/main/java/com/gyee/generation/service/LimitEventService.java
  97. 56 56
      realtime/generationXK-service/src/main/java/com/gyee/generation/service/LimitService.java
  98. 121 23
      realtime/generationXK-service/src/main/java/com/gyee/generation/service/PowerCurveFittingService.java
  99. 88 68
      realtime/generationXK-service/src/main/java/com/gyee/generation/service/ShutdownService.java
  100. 0 0
      realtime/generationXK-service/src/main/java/com/gyee/generation/service/WindpowerInfoDayService.java

+ 17 - 1
realtime/generationXK-service/src/main/java/com/gyee/generation/GenerationMain.java

@@ -1,9 +1,13 @@
 package com.gyee.generation;
 
+import com.gyee.generation.service.initialpoint.InitialPointGoldenXkService;
+import com.gyee.generation.util.SpringUtils;
 import org.mybatis.spring.annotation.MapperScan;
 import org.springframework.boot.SpringApplication;
 import org.springframework.boot.autoconfigure.SpringBootApplication;
 
+import java.io.IOException;
+
 /**
  * @ClassName : GenerationMain
  * @Author : xieshengjie
@@ -13,7 +17,19 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
 @SpringBootApplication
 @MapperScan("com.gyee.generation.mapper")
 public class GenerationMain {
-    public static void main(String[] args) {
+    public static void main(String[] args) throws IOException {
         SpringApplication.run(GenerationMain.class,args);
+
+
+        InitialPointGoldenXkService InitialPointGoldenXkService= SpringUtils.getBean("initialPointGoldenXkService");
+
+//                System.out.println("开始导出风机测点。。。。。。");
+//        InitialPointGoldenXkService.initalFj();
+//        System.out.println("结束导出风机测点。。。。。。");
+
+        System.out.println("开始导出风场测点。。。。。。");
+        InitialPointGoldenXkService.initalFc();
+        System.out.println("结束导出风场测点。。。。。。");
+
     }
 }

+ 20 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/controller/ProEconEquipmentInfoDay1Controller.java

@@ -0,0 +1,20 @@
+package com.gyee.generation.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ * 五损电量 前端控制器
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-01
+ */
+@RestController
+@RequestMapping("//pro-econ-equipment-info-day1")
+public class ProEconEquipmentInfoDay1Controller {
+
+}

+ 20 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/controller/ProEconEquipmentInfoDay2Controller.java

@@ -0,0 +1,20 @@
+package com.gyee.generation.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ * 五损时间 前端控制器
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-01
+ */
+@RestController
+@RequestMapping("//pro-econ-equipment-info-day2")
+public class ProEconEquipmentInfoDay2Controller {
+
+}

+ 20 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/controller/ProEconEquipmentInfoDay3Controller.java

@@ -0,0 +1,20 @@
+package com.gyee.generation.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ * 五损次数 前端控制器
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-01
+ */
+@RestController
+@RequestMapping("//pro-econ-equipment-info-day3")
+public class ProEconEquipmentInfoDay3Controller {
+
+}

+ 20 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/controller/ProEconEquipmentInfoDay4Controller.java

@@ -0,0 +1,20 @@
+package com.gyee.generation.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ * 五损曲线偏差率切入性能 前端控制器
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-01
+ */
+@RestController
+@RequestMapping("//pro-econ-equipment-info-day4")
+public class ProEconEquipmentInfoDay4Controller {
+
+}

+ 20 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/controller/ProEconEquipmentInfoDay5Controller.java

@@ -0,0 +1,20 @@
+package com.gyee.generation.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ * 三率 前端控制器
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-01
+ */
+@RestController
+@RequestMapping("//pro-econ-equipment-info-day5")
+public class ProEconEquipmentInfoDay5Controller {
+
+}

+ 20 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/controller/ProEconEquipmentInfoDay6Controller.java

@@ -0,0 +1,20 @@
+package com.gyee.generation.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ * 离散率转换效率 前端控制器
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-01
+ */
+@RestController
+@RequestMapping("//pro-econ-equipment-info-day6")
+public class ProEconEquipmentInfoDay6Controller {
+
+}

+ 20 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/controller/ProEconPowerstationInfoDay1Controller.java

@@ -0,0 +1,20 @@
+package com.gyee.generation.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ * 场站五损电量 前端控制器
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-01
+ */
+@RestController
+@RequestMapping("//pro-econ-powerstation-info-day1")
+public class ProEconPowerstationInfoDay1Controller {
+
+}

+ 20 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/controller/ProEconPowerstationInfoDay2Controller.java

@@ -0,0 +1,20 @@
+package com.gyee.generation.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ * 场站五损时间 前端控制器
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-01
+ */
+@RestController
+@RequestMapping("//pro-econ-powerstation-info-day2")
+public class ProEconPowerstationInfoDay2Controller {
+
+}

+ 20 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/controller/ProEconPowerstationInfoDay3Controller.java

@@ -0,0 +1,20 @@
+package com.gyee.generation.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ * 场站五损次数 前端控制器
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-01
+ */
+@RestController
+@RequestMapping("//pro-econ-powerstation-info-day3")
+public class ProEconPowerstationInfoDay3Controller {
+
+}

+ 20 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/controller/ProEconPowerstationInfoDay4Controller.java

@@ -0,0 +1,20 @@
+package com.gyee.generation.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ * 场站三率mtbf 前端控制器
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-01
+ */
+@RestController
+@RequestMapping("//pro-econ-powerstation-info-day4")
+public class ProEconPowerstationInfoDay4Controller {
+
+}

+ 20 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/controller/ProEconPowerstationInfoDay5Controller.java

@@ -0,0 +1,20 @@
+package com.gyee.generation.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ * 电表发电量 前端控制器
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-01
+ */
+@RestController
+@RequestMapping("//pro-econ-powerstation-info-day5")
+public class ProEconPowerstationInfoDay5Controller {
+
+}

+ 20 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/controller/ProEconPowerstationInfoDay6Controller.java

@@ -0,0 +1,20 @@
+package com.gyee.generation.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ * 测风塔出线功率 前端控制器
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-01
+ */
+@RestController
+@RequestMapping("//pro-econ-powerstation-info-day6")
+public class ProEconPowerstationInfoDay6Controller {
+
+}

+ 20 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/controller/ProEconPowerstationInfoDay7Controller.java

@@ -0,0 +1,20 @@
+package com.gyee.generation.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ * 离散率系统效率 前端控制器
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-01
+ */
+@RestController
+@RequestMapping("//pro-econ-powerstation-info-day7")
+public class ProEconPowerstationInfoDay7Controller {
+
+}

+ 20 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/controller/ProEconWindpowerInfoMonthController.java

@@ -0,0 +1,20 @@
+package com.gyee.generation.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ * 风场月信息表 前端控制器
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-10-29
+ */
+@RestController
+@RequestMapping("//pro-econ-windpower-info-month")
+public class ProEconWindpowerInfoMonthController {
+
+}

+ 20 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/controller/ProEconWindpowerInfoYearController.java

@@ -0,0 +1,20 @@
+package com.gyee.generation.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ * 风场年信息表 前端控制器
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-10-29
+ */
+@RestController
+@RequestMapping("//pro-econ-windpower-info-year")
+public class ProEconWindpowerInfoYearController {
+
+}

+ 20 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/controller/ProEconWindpowerStandardPointController.java

@@ -0,0 +1,20 @@
+package com.gyee.generation.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ *  前端控制器
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-10-31
+ */
+@RestController
+@RequestMapping("//pro-econ-windpower-standard-point")
+public class ProEconWindpowerStandardPointController {
+
+}

+ 20 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/controller/ProEconWindturbineInfoMonthController.java

@@ -0,0 +1,20 @@
+package com.gyee.generation.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ * 风机月信息表 前端控制器
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-10-29
+ */
+@RestController
+@RequestMapping("//pro-econ-windturbine-info-month")
+public class ProEconWindturbineInfoMonthController {
+
+}

+ 20 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/controller/ProEconWindturbineInfoYearController.java

@@ -0,0 +1,20 @@
+package com.gyee.generation.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ * 风机年信息表 前端控制器
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-10-29
+ */
+@RestController
+@RequestMapping("//pro-econ-windturbine-info-year")
+public class ProEconWindturbineInfoYearController {
+
+}

+ 20 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/controller/ProEconWindturbineStandardPointController.java

@@ -0,0 +1,20 @@
+package com.gyee.generation.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ *  前端控制器
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-10-31
+ */
+@RestController
+@RequestMapping("//pro-econ-windturbine-standard-point")
+public class ProEconWindturbineStandardPointController {
+
+}

+ 91 - 30
realtime/generationXK-service/src/main/java/com/gyee/generation/init/CacheContext.java

@@ -49,18 +49,30 @@ public class CacheContext implements CommandLineRunner {
 
     @Resource
     private IProBasicSquareService proBasicSquareService;
+    @Resource
+    private IProBasicCompanyService proBasicCompanyService;
+    @Resource
+    private IProBasicRegionService proBasicRegionService;
 
     @Value("${runWindpowerstation}")
     private String runWindpowerstation;
 
     public static List<ProBasicWindturbine> wtls = new ArrayList<>();
-    public static List<ProBasicProject> projects = new ArrayList<>();
-    public static List<ProBasicLine>  lines = new ArrayList<>();
+    public static List<ProBasicProject> pjls = new ArrayList<>();
+    public static List<ProBasicLine>  lnls = new ArrayList<>();
 
     public static List<ProBasicSquare> sqls = new ArrayList<>();
     public static List<ProBasicWindpowerstation>  wpls = new ArrayList<>();
-
+    public static List<ProBasicCompany>  cpls = new ArrayList<>();
+    public static List<ProBasicRegion>  rgls = new ArrayList<>();
+    public static Map<String,ProBasicProject> pjmap = new HashMap<>();
     public static Map<String,ProBasicLine> lnmap = new HashMap<>();
+    public static Map<String,ProBasicRegion> rgmap = new HashMap<>();
+    public static Map<String,ProBasicCompany> cpmap = new HashMap<>();
+
+    public static Map<String,List<ProBasicWindpowerstation>> cpwpmap = new HashMap<>();
+
+    public static Map<String,List<ProBasicCompany>> rgcpmap = new HashMap<>();
     public static Map<String,ProBasicSquare> sqmap = new HashMap<>();
     public static Map<String,ProBasicWindpowerstation> wpmap = new HashMap<>();
     public static List<ProBasicMeterPoint>  meterpoints = new ArrayList<>();
@@ -77,7 +89,7 @@ public class CacheContext implements CommandLineRunner {
     public static Map<String,Map<String, ProBasicWppoint>> linepointmap =new HashMap<>();
     public static Map<String,Map<String, ProBasicWppoint>> propointmap =new HashMap<>();
     public static Map<String,Map<String, ProBasicWppoint>> wppointmap =new HashMap<>();
-    public static Map<String,ProBasicProject> proMap = new HashMap<>();
+
 
     public static Map<String,Map<Double,Double>> zbzglMap = new HashMap<>();
     public static Map<String,ProEconEquipmentmodel> modelMap = new HashMap<>();
@@ -122,20 +134,69 @@ public class CacheContext implements CommandLineRunner {
                 }
             }
         }
-
         sqls=proBasicSquareService.list().stream().filter(i->runWpids.contains(i.getWindpowerstationId())).collect(Collectors.toList());
-        if(!sqls.isEmpty())
+        if
+      (!sqls.isEmpty())
         {
             for(ProBasicSquare sq:sqls)
             {
                 sqmap.put(sq.getId(),sq);
             }
         }
+
+        cpls=proBasicCompanyService.list().stream().collect(Collectors.toList());
+        if
+        (!cpls.isEmpty())
+        {
+            for(ProBasicCompany sq:cpls)
+            {
+                cpmap.put(sq.getId(),sq);
+            }
+        }
+
+
+        rgls=proBasicRegionService.list().stream().collect(Collectors.toList());
+        if
+        (!rgls.isEmpty())
+        {
+            for(ProBasicRegion sq:rgls)
+            {
+                rgmap.put(sq.getId(),sq);
+            }
+        }
+
+
+        for(ProBasicCompany cp:cpls)
+        {
+            if (rgcpmap.containsKey(cp.getRegionId())){
+                rgcpmap.get(cp.getRegionId()).add(cp);
+            }else {
+                List<ProBasicCompany> wps = new ArrayList<>();
+                wps.add(cp);
+                rgcpmap.put(cp.getRegionId(),wps);
+            }
+        }
+
+        for(ProBasicWindpowerstation wp:wpls)
+        {
+            if (cpwpmap.containsKey(wp.getCompanyId())){
+                cpwpmap.get(wp.getCompanyId()).add(wp);
+            }else {
+                List<ProBasicWindpowerstation> wps = new ArrayList<>();
+                wps.add(wp);
+                cpwpmap.put(wp.getCompanyId(),wps);
+            }
+        }
+
         wtls = proBasicWindturbineService.list().stream().filter(i->runWpids.contains(i.getWindpowerstationId())).collect(Collectors.toList());
         logger.info(wtls.size()+"");
         wtls.forEach(wt->{
-            ProEconEquipmentmodel equipmentmodel = modelMap.get(wt.getModelId());
-            modelpower.put(wt.getId(),equipmentmodel.getPowerProduction().doubleValue());
+            if(modelMap.containsKey(wt.getModelId()))
+            {
+                ProEconEquipmentmodel equipmentmodel = modelMap.get(wt.getModelId());
+                modelpower.put(wt.getId(),equipmentmodel.getPowerProduction().doubleValue());
+            }
+
 
             wtmap.put(wt.getId(),wt);
             //标杆风机初始化
@@ -164,17 +225,17 @@ public class CacheContext implements CommandLineRunner {
             if (lnwtmap.containsKey(wt.getLineId())){
                 lnwtmap.get(wt.getLineId()).add(wt);
             }else {
-                List<ProBasicWindturbine> lines = new ArrayList<>();
-                lines.add(wt);
-                lnwtmap.put(wt.getLineId(),lines);
+                List<ProBasicWindturbine> lnls = new ArrayList<>();
+                lnls.add(wt);
+                lnwtmap.put(wt.getLineId(),lnls);
             }
 
             if (sqwtmap.containsKey(wt.getSquareId())){
                 sqwtmap.get(wt.getSquareId()).add(wt);
             }else {
-                List<ProBasicWindturbine> lines = new ArrayList<>();
-                lines.add(wt);
-                sqwtmap.put(wt.getSquareId(),lines);
+                List<ProBasicWindturbine> lnls = new ArrayList<>();
+                lnls.add(wt);
+                sqwtmap.put(wt.getSquareId(),lnls);
             }
         });
 
@@ -221,9 +282,9 @@ public class CacheContext implements CommandLineRunner {
 
 
 
-        projects = proBasicProjectService.list().stream().filter(i->runWpids.contains(i.getWindpowerstationId())).collect(Collectors.toList());
-        projects.stream().forEach(p->{
-            proMap.put(p.getId(),p);
+        pjls = proBasicProjectService.list().stream().filter(i->runWpids.contains(i.getWindpowerstationId())).collect(Collectors.toList());
+        pjls.stream().forEach(p->{
+            pjmap.put(p.getId(),p);
             if (wppromap.containsKey(p.getWindpowerstationId())){
                 wppromap.get(p.getWindpowerstationId()).add(p);
             }else {
@@ -238,8 +299,8 @@ public class CacheContext implements CommandLineRunner {
 
         });
 
-        lines = proBasicLineService.list().stream().filter(i-> StringUtils.isNotNull(proMap.get(i.getProjectId())) && runWpids.contains(proMap.get(i.getProjectId()).getWindpowerstationId())).collect(Collectors.toList());
-        lines.stream().forEach(l->{
+        lnls = proBasicLineService.list().stream().filter(i-> StringUtils.isNotNull(pjmap.get(i.getProjectId())) && runWpids.contains(pjmap.get(i.getProjectId()).getWindpowerstationId())).collect(Collectors.toList());
+        lnls.stream().forEach(l->{
             lnmap.put(l.getId(),l);
             if (prolinemap.containsKey(l.getProjectId())){
                 prolinemap.get(l.getProjectId()).add(l);
@@ -278,17 +339,17 @@ public class CacheContext implements CommandLineRunner {
         zbzglMap = JSONObject.parseObject(zbzgl, new TypeReference<Map<String,Map<Double,Double>>>() {
         });
 
-        List<ProBasicWindturbinePower> windturbinepowerList = proBasicWindturbinePowerService.list().stream().filter(windturbinepower -> runWindpowerstation.contains(windturbinepower.getWindpowerstationId())).collect(Collectors.toList());
-        windturbinepowerList.stream().forEach(w -> {
-            if (zzsglMap.containsKey(w.getWindturbineId())){
-                zzsglMap.get(w.getWindturbineId()).put(w.getSpeed(),w.getTheoryPower());
-            }else {
-                Map<Double,Double> tempMap = new HashMap<>();
-                tempMap.put(w.getSpeed(),w.getTheoryPower());
-                zzsglMap.put(w.getWindturbineId(),tempMap);
-            }
-
-        });
+//        List<ProBasicWindturbinePower> windturbinepowerList = proBasicWindturbinePowerService.list().stream().filter(windturbinepower -> runWindpowerstation.contains(windturbinepower.getWindpowerstationId())).collect(Collectors.toList());
+//        windturbinepowerList.stream().forEach(w -> {
+//            if (zzsglMap.containsKey(w.getWindturbineId())){
+//                zzsglMap.get(w.getWindturbineId()).put(w.getSpeed(),w.getTheoryPower());
+//            }else {
+//                Map<Double,Double> tempMap = new HashMap<>();
+//                tempMap.put(w.getSpeed(),w.getTheoryPower());
+//                zzsglMap.put(w.getWindturbineId(),tempMap);
+//            }
+//
+//        });
 
 //        String wpString = redisService.get("PRODUCT-WP");
 //        wppointmap = JSONObject.parseObject(wpString, new TypeReference<Map<String, Map<String, ProBasicWppoint>>>() {

+ 1 - 1
realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProBasicCompanyMapper.java

@@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
  * </p>
  *
  * @author shilin
- * @since 2022-10-26
+ * @since 2022-10-31
  */
 public interface ProBasicCompanyMapper extends BaseMapper<ProBasicCompany> {
 

+ 1 - 1
realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProBasicEnergyGroupMapper.java

@@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
  * </p>
  *
  * @author shilin
- * @since 2022-10-26
+ * @since 2022-10-31
  */
 public interface ProBasicEnergyGroupMapper extends BaseMapper<ProBasicEnergyGroup> {
 

+ 1 - 1
realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProBasicEquipmentPointMapper.java

@@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
  * </p>
  *
  * @author shilin
- * @since 2022-10-26
+ * @since 2022-10-31
  */
 public interface ProBasicEquipmentPointMapper extends BaseMapper<ProBasicEquipmentPoint> {
 

+ 1 - 1
realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProBasicLineMapper.java

@@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
  * </p>
  *
  * @author shilin
- * @since 2022-10-26
+ * @since 2022-10-31
  */
 public interface ProBasicLineMapper extends BaseMapper<ProBasicLine> {
 

+ 1 - 1
realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProBasicMeterPointMapper.java

@@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
  * </p>
  *
  * @author shilin
- * @since 2022-10-21
+ * @since 2022-10-31
  */
 public interface ProBasicMeterPointMapper extends BaseMapper<ProBasicMeterPoint> {
 

+ 1 - 1
realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProBasicModelPowerMapper.java

@@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
  * </p>
  *
  * @author shilin
- * @since 2022-10-21
+ * @since 2022-10-31
  */
 public interface ProBasicModelPowerMapper extends BaseMapper<ProBasicModelPower> {
 

+ 1 - 1
realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProBasicProjectMapper.java

@@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
  * </p>
  *
  * @author shilin
- * @since 2022-10-26
+ * @since 2022-10-31
  */
 public interface ProBasicProjectMapper extends BaseMapper<ProBasicProject> {
 

+ 1 - 1
realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProBasicRegionMapper.java

@@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
  * </p>
  *
  * @author shilin
- * @since 2022-10-26
+ * @since 2022-10-31
  */
 public interface ProBasicRegionMapper extends BaseMapper<ProBasicRegion> {
 

+ 1 - 1
realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProBasicSquareMapper.java

@@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
  * </p>
  *
  * @author shilin
- * @since 2022-10-26
+ * @since 2022-10-31
  */
 public interface ProBasicSquareMapper extends BaseMapper<ProBasicSquare> {
 

+ 1 - 1
realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProBasicWindpowerstationMapper.java

@@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
  * </p>
  *
  * @author shilin
- * @since 2022-10-26
+ * @since 2022-10-31
  */
 public interface ProBasicWindpowerstationMapper extends BaseMapper<ProBasicWindpowerstation> {
 

+ 1 - 1
realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProBasicWindsubStationMapper.java

@@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
  * </p>
  *
  * @author shilin
- * @since 2022-10-26
+ * @since 2022-10-31
  */
 public interface ProBasicWindsubStationMapper extends BaseMapper<ProBasicWindsubStation> {
 

+ 1 - 1
realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProBasicWindturbineMapper.java

@@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
  * </p>
  *
  * @author shilin
- * @since 2022-10-26
+ * @since 2022-10-31
  */
 public interface ProBasicWindturbineMapper extends BaseMapper<ProBasicWindturbine> {
 

+ 1 - 1
realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProBasicWppointMapper.java

@@ -13,7 +13,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
  * </p>
  *
  * @author shilin
- * @since 2022-10-26
+ * @since 2022-10-31
  */
 public interface ProBasicWppointMapper extends BaseMapper<ProBasicWppoint> {
 

+ 1 - 1
realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProEconElectricaltestPointMapper.java

@@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
  * </p>
  *
  * @author shilin
- * @since 2022-10-21
+ * @since 2022-10-31
  */
 public interface ProEconElectricaltestPointMapper extends BaseMapper<ProEconElectricaltestPoint> {
 

+ 16 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProEconEquipmentInfoDay1Mapper.java

@@ -0,0 +1,16 @@
+package com.gyee.generation.mapper.auto;
+
+import com.gyee.generation.model.auto.ProEconEquipmentInfoDay1;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ * 五损电量 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-01
+ */
+public interface ProEconEquipmentInfoDay1Mapper extends BaseMapper<ProEconEquipmentInfoDay1> {
+
+}

+ 16 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProEconEquipmentInfoDay2Mapper.java

@@ -0,0 +1,16 @@
+package com.gyee.generation.mapper.auto;
+
+import com.gyee.generation.model.auto.ProEconEquipmentInfoDay2;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ * 五损时间 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-01
+ */
+public interface ProEconEquipmentInfoDay2Mapper extends BaseMapper<ProEconEquipmentInfoDay2> {
+
+}

+ 16 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProEconEquipmentInfoDay3Mapper.java

@@ -0,0 +1,16 @@
+package com.gyee.generation.mapper.auto;
+
+import com.gyee.generation.model.auto.ProEconEquipmentInfoDay3;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ * 五损次数 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-01
+ */
+public interface ProEconEquipmentInfoDay3Mapper extends BaseMapper<ProEconEquipmentInfoDay3> {
+
+}

+ 16 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProEconEquipmentInfoDay4Mapper.java

@@ -0,0 +1,16 @@
+package com.gyee.generation.mapper.auto;
+
+import com.gyee.generation.model.auto.ProEconEquipmentInfoDay4;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ * 五损曲线偏差率切入性能 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-01
+ */
+public interface ProEconEquipmentInfoDay4Mapper extends BaseMapper<ProEconEquipmentInfoDay4> {
+
+}

+ 16 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProEconEquipmentInfoDay5Mapper.java

@@ -0,0 +1,16 @@
+package com.gyee.generation.mapper.auto;
+
+import com.gyee.generation.model.auto.ProEconEquipmentInfoDay5;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ * 三率 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-01
+ */
+public interface ProEconEquipmentInfoDay5Mapper extends BaseMapper<ProEconEquipmentInfoDay5> {
+
+}

+ 16 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProEconEquipmentInfoDay6Mapper.java

@@ -0,0 +1,16 @@
+package com.gyee.generation.mapper.auto;
+
+import com.gyee.generation.model.auto.ProEconEquipmentInfoDay6;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ * 离散率转换效率 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-01
+ */
+public interface ProEconEquipmentInfoDay6Mapper extends BaseMapper<ProEconEquipmentInfoDay6> {
+
+}

+ 1 - 1
realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProEconEquipmentmodelMapper.java

@@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
  * </p>
  *
  * @author shilin
- * @since 2022-10-24
+ * @since 2022-10-31
  */
 public interface ProEconEquipmentmodelMapper extends BaseMapper<ProEconEquipmentmodel> {
 

+ 1 - 1
realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProEconLogicalUnitMapper.java

@@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
  * </p>
  *
  * @author shilin
- * @since 2022-10-24
+ * @since 2022-10-31
  */
 public interface ProEconLogicalUnitMapper extends BaseMapper<ProEconLogicalUnit> {
 

+ 2 - 2
realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProEconManufacturerMapper.java

@@ -5,11 +5,11 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
 
 /**
  * <p>
- * 设备厂商 Mapper 接口
+ *  Mapper 接口
  * </p>
  *
  * @author shilin
- * @since 2022-10-21
+ * @since 2022-10-31
  */
 public interface ProEconManufacturerMapper extends BaseMapper<ProEconManufacturer> {
 

+ 16 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProEconPowerstationInfoDay1Mapper.java

@@ -0,0 +1,16 @@
+package com.gyee.generation.mapper.auto;
+
+import com.gyee.generation.model.auto.ProEconPowerstationInfoDay1;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ * 场站五损电量 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-01
+ */
+public interface ProEconPowerstationInfoDay1Mapper extends BaseMapper<ProEconPowerstationInfoDay1> {
+
+}

+ 16 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProEconPowerstationInfoDay2Mapper.java

@@ -0,0 +1,16 @@
+package com.gyee.generation.mapper.auto;
+
+import com.gyee.generation.model.auto.ProEconPowerstationInfoDay2;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ * 场站五损时间 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-01
+ */
+public interface ProEconPowerstationInfoDay2Mapper extends BaseMapper<ProEconPowerstationInfoDay2> {
+
+}

+ 16 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProEconPowerstationInfoDay3Mapper.java

@@ -0,0 +1,16 @@
+package com.gyee.generation.mapper.auto;
+
+import com.gyee.generation.model.auto.ProEconPowerstationInfoDay3;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ * 场站五损次数 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-01
+ */
+public interface ProEconPowerstationInfoDay3Mapper extends BaseMapper<ProEconPowerstationInfoDay3> {
+
+}

+ 16 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProEconPowerstationInfoDay4Mapper.java

@@ -0,0 +1,16 @@
+package com.gyee.generation.mapper.auto;
+
+import com.gyee.generation.model.auto.ProEconPowerstationInfoDay4;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ * 场站三率mtbf Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-01
+ */
+public interface ProEconPowerstationInfoDay4Mapper extends BaseMapper<ProEconPowerstationInfoDay4> {
+
+}

+ 16 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProEconPowerstationInfoDay5Mapper.java

@@ -0,0 +1,16 @@
+package com.gyee.generation.mapper.auto;
+
+import com.gyee.generation.model.auto.ProEconPowerstationInfoDay5;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ * 电表发电量 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-01
+ */
+public interface ProEconPowerstationInfoDay5Mapper extends BaseMapper<ProEconPowerstationInfoDay5> {
+
+}

+ 16 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProEconPowerstationInfoDay6Mapper.java

@@ -0,0 +1,16 @@
+package com.gyee.generation.mapper.auto;
+
+import com.gyee.generation.model.auto.ProEconPowerstationInfoDay6;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ * 测风塔出线功率 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-01
+ */
+public interface ProEconPowerstationInfoDay6Mapper extends BaseMapper<ProEconPowerstationInfoDay6> {
+
+}

+ 16 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProEconPowerstationInfoDay7Mapper.java

@@ -0,0 +1,16 @@
+package com.gyee.generation.mapper.auto;
+
+import com.gyee.generation.model.auto.ProEconPowerstationInfoDay7;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ * 离散率系统效率 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-01
+ */
+public interface ProEconPowerstationInfoDay7Mapper extends BaseMapper<ProEconPowerstationInfoDay7> {
+
+}

+ 1 - 1
realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProEconTestingPointMapper.java

@@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
  * </p>
  *
  * @author shilin
- * @since 2022-10-24
+ * @since 2022-10-31
  */
 public interface ProEconTestingPointMapper extends BaseMapper<ProEconTestingPoint> {
 

+ 0 - 16
realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProEconWindpowerInfoDayMapper.java

@@ -1,16 +0,0 @@
-package com.gyee.generation.mapper.auto;
-
-import com.gyee.generation.model.auto.ProEconWindpowerInfoDay;
-import com.baomidou.mybatisplus.core.mapper.BaseMapper;
-
-/**
- * <p>
- * 风场日信息表 Mapper 接口
- * </p>
- *
- * @author shilin
- * @since 2022-10-21
- */
-public interface ProEconWindpowerInfoDayMapper extends BaseMapper<ProEconWindpowerInfoDay> {
-
-}

+ 16 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProEconWindpowerStandardPointMapper.java

@@ -0,0 +1,16 @@
+package com.gyee.generation.mapper.auto;
+
+import com.gyee.generation.model.auto.ProEconWindpowerStandardPoint;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ *  Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-10-31
+ */
+public interface ProEconWindpowerStandardPointMapper extends BaseMapper<ProEconWindpowerStandardPoint> {
+
+}

+ 0 - 16
realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProEconWindturbineInfoDayMapper.java

@@ -1,16 +0,0 @@
-package com.gyee.generation.mapper.auto;
-
-import com.gyee.generation.model.auto.ProEconWindturbineInfoDay;
-import com.baomidou.mybatisplus.core.mapper.BaseMapper;
-
-/**
- * <p>
- * 风机日信息表 Mapper 接口
- * </p>
- *
- * @author shilin
- * @since 2022-10-21
- */
-public interface ProEconWindturbineInfoDayMapper extends BaseMapper<ProEconWindturbineInfoDay> {
-
-}

+ 16 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/mapper/auto/ProEconWindturbineStandardPointMapper.java

@@ -0,0 +1,16 @@
+package com.gyee.generation.mapper.auto;
+
+import com.gyee.generation.model.auto.ProEconWindturbineStandardPoint;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ *  Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-10-31
+ */
+public interface ProEconWindturbineStandardPointMapper extends BaseMapper<ProEconWindturbineStandardPoint> {
+
+}

+ 21 - 5
realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProBasicCompany.java

@@ -1,5 +1,6 @@
 package com.gyee.generation.model.auto;
 
+import java.math.BigDecimal;
 import com.baomidou.mybatisplus.extension.activerecord.Model;
 import lombok.Data;
 import lombok.EqualsAndHashCode;
@@ -10,7 +11,7 @@ import lombok.EqualsAndHashCode;
  * </p>
  *
  * @author shilin
- * @since 2022-10-26
+ * @since 2022-10-31
  */
 @Data
 @EqualsAndHashCode(callSuper = true)
@@ -24,6 +25,11 @@ public class ProBasicCompany extends Model {
     private String id;
 
     /**
+     * 编码
+     */
+    private String code;
+
+    /**
      * 名称
      */
     private String name;
@@ -44,9 +50,14 @@ public class ProBasicCompany extends Model {
     private String windCapacityUnit;
 
     /**
-     * 风电装机数量
+     * 风电装机数量海上
      */
-    private Integer windQuantity;
+    private Integer windQuantityHs;
+
+    /**
+     * 风电装机数量陆地
+     */
+    private Integer windQuantityLd;
 
     /**
      * 光伏装机容量
@@ -79,9 +90,14 @@ public class ProBasicCompany extends Model {
     private String jrwindCapacityUnit;
 
     /**
-     * 接入风电装机数量
+     * 接入风电装机数量海上
+     */
+    private Integer jrwindQuantityHs;
+
+    /**
+     * 接入风电装机数量陆地
      */
-    private Integer jrwindQuantity;
+    private Integer jrwindQuantityLd;
 
     /**
      * 接入光伏装机容量

+ 24 - 5
realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProBasicEnergyGroup.java

@@ -1,5 +1,6 @@
 package com.gyee.generation.model.auto;
 
+import java.math.BigDecimal;
 import com.baomidou.mybatisplus.extension.activerecord.Model;
 import lombok.Data;
 import lombok.EqualsAndHashCode;
@@ -10,7 +11,7 @@ import lombok.EqualsAndHashCode;
  * </p>
  *
  * @author shilin
- * @since 2022-10-26
+ * @since 2022-10-31
  */
 @Data
 @EqualsAndHashCode(callSuper = true)
@@ -23,6 +24,14 @@ public class ProBasicEnergyGroup extends Model {
      */
     private String id;
 
+    /**
+     * 编码
+     */
+    private String code;
+
+    /**
+     * 父编号
+     */
     private String parentid;
 
     /**
@@ -46,9 +55,14 @@ public class ProBasicEnergyGroup extends Model {
     private String windCapacityUnit;
 
     /**
-     * 风电装机数量
+     * 风电装机数量海上
      */
-    private Integer windQuantity;
+    private Integer windQuantityHs;
+
+    /**
+     * 风电装机数量陆地
+     */
+    private Integer windQuantityLd;
 
     /**
      * 光伏装机容量
@@ -81,9 +95,14 @@ public class ProBasicEnergyGroup extends Model {
     private String jrwindCapacityUnit;
 
     /**
-     * 接入风电装机数量
+     * 接入风电装机数量海上
+     */
+    private Integer jrwindQuantityHs;
+
+    /**
+     * 接入风电装机数量陆地
      */
-    private Integer jrwindQuantity;
+    private Integer jrwindQuantityLd;
 
     /**
      * 接入光伏装机容量

+ 13 - 2
realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProBasicEquipmentPoint.java

@@ -1,5 +1,6 @@
 package com.gyee.generation.model.auto;
 
+import java.math.BigDecimal;
 import com.baomidou.mybatisplus.extension.activerecord.Model;
 import lombok.Data;
 import lombok.EqualsAndHashCode;
@@ -10,13 +11,13 @@ import lombok.EqualsAndHashCode;
  * </p>
  *
  * @author shilin
- * @since 2022-10-26
+ * @since 2022-10-31
  */
 @Data
 @EqualsAndHashCode(callSuper = true)
 public class ProBasicEquipmentPoint extends Model {
 
-    private static final long serialVersionUID = 1L;
+
 
     /**
      * 编号
@@ -34,6 +35,11 @@ public class ProBasicEquipmentPoint extends Model {
     private String name;
 
     /**
+     * 实时库名称
+     */
+    private String aname;
+
+    /**
      * 型号
      */
     private String model;
@@ -123,5 +129,10 @@ public class ProBasicEquipmentPoint extends Model {
      */
     private String specificName;
 
+    /**
+     * 系数
+     */
+    private Double coefficient;
+
 
 }

+ 2 - 1
realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProBasicLine.java

@@ -1,5 +1,6 @@
 package com.gyee.generation.model.auto;
 
+import java.math.BigDecimal;
 import com.baomidou.mybatisplus.extension.activerecord.Model;
 import lombok.Data;
 import lombok.EqualsAndHashCode;
@@ -10,7 +11,7 @@ import lombok.EqualsAndHashCode;
  * </p>
  *
  * @author shilin
- * @since 2022-10-26
+ * @since 2022-10-31
  */
 @Data
 @EqualsAndHashCode(callSuper = true)

+ 25 - 2
realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProBasicMeterPoint.java

@@ -1,6 +1,6 @@
 package com.gyee.generation.model.auto;
 
-
+import java.math.BigDecimal;
 import com.baomidou.mybatisplus.extension.activerecord.Model;
 import lombok.Data;
 import lombok.EqualsAndHashCode;
@@ -11,7 +11,7 @@ import lombok.EqualsAndHashCode;
  * </p>
  *
  * @author shilin
- * @since 2022-10-21
+ * @since 2022-10-31
  */
 @Data
 @EqualsAndHashCode(callSuper = true)
@@ -30,11 +30,21 @@ public class ProBasicMeterPoint extends Model {
     private String code;
 
     /**
+     * 使用/排序
+     */
+    private Integer orderNum;
+
+    /**
      * 名称
      */
     private String name;
 
     /**
+     * 用到名称
+     */
+    private String aname;
+
+    /**
      * 描述
      */
     private String description;
@@ -114,7 +124,20 @@ public class ProBasicMeterPoint extends Model {
      */
     private Double initialValue;
 
+    /**
+     * 是否可用
+     */
     private Integer isAble;
 
+    /**
+     * 集团测点编号
+     */
+    private String groupPointId;
+
+    /**
+     * 具体名称
+     */
+    private String specificName;
+
 
 }

+ 7 - 1
realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProBasicModelPower.java

@@ -1,5 +1,6 @@
 package com.gyee.generation.model.auto;
 
+import java.math.BigDecimal;
 import com.baomidou.mybatisplus.extension.activerecord.Model;
 import lombok.Data;
 import lombok.EqualsAndHashCode;
@@ -10,7 +11,7 @@ import lombok.EqualsAndHashCode;
  * </p>
  *
  * @author shilin
- * @since 2022-10-21
+ * @since 2022-10-31
  */
 @Data
 @EqualsAndHashCode(callSuper = true)
@@ -43,5 +44,10 @@ public class ProBasicModelPower extends Model {
      */
     private Double ensurePower;
 
+    /**
+     * 场站编号
+     */
+    private String windpowerstationId;
+
 
 }

+ 3 - 3
realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProBasicProject.java

@@ -1,18 +1,18 @@
 package com.gyee.generation.model.auto;
 
+import java.math.BigDecimal;
 import com.baomidou.mybatisplus.extension.activerecord.Model;
+import java.time.LocalDate;
 import lombok.Data;
 import lombok.EqualsAndHashCode;
 
-import java.time.LocalDate;
-
 /**
  * <p>
  * 工程表
  * </p>
  *
  * @author shilin
- * @since 2022-10-26
+ * @since 2022-10-31
  */
 @Data
 @EqualsAndHashCode(callSuper = true)

+ 21 - 5
realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProBasicRegion.java

@@ -1,5 +1,6 @@
 package com.gyee.generation.model.auto;
 
+import java.math.BigDecimal;
 import com.baomidou.mybatisplus.extension.activerecord.Model;
 import lombok.Data;
 import lombok.EqualsAndHashCode;
@@ -10,7 +11,7 @@ import lombok.EqualsAndHashCode;
  * </p>
  *
  * @author shilin
- * @since 2022-10-26
+ * @since 2022-10-31
  */
 @Data
 @EqualsAndHashCode(callSuper = true)
@@ -24,6 +25,11 @@ public class ProBasicRegion extends Model {
     private String id;
 
     /**
+     * 编码
+     */
+    private String code;
+
+    /**
      * 名称
      */
     private String name;
@@ -44,9 +50,14 @@ public class ProBasicRegion extends Model {
     private String windCapacityUnit;
 
     /**
-     * 风电装机数量
+     * 风电装机数量海上
      */
-    private Integer windQuantity;
+    private Integer windQuantityHs;
+
+    /**
+     * 风电装机数量陆地
+     */
+    private Integer windQuantityLd;
 
     /**
      * 光伏装机容量
@@ -79,9 +90,14 @@ public class ProBasicRegion extends Model {
     private String jrwindCapacityUnit;
 
     /**
-     * 接入风电装机数量
+     * 接入风电装机数量海上
+     */
+    private Integer jrwindQuantityHs;
+
+    /**
+     * 接入风电装机数量陆地
      */
-    private Integer jrwindQuantity;
+    private Integer jrwindQuantityLd;
 
     /**
      * 接入光伏装机容量

+ 6 - 1
realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProBasicSquare.java

@@ -10,7 +10,7 @@ import lombok.EqualsAndHashCode;
  * </p>
  *
  * @author shilin
- * @since 2022-10-26
+ * @since 2022-10-31
  */
 @Data
 @EqualsAndHashCode(callSuper = true)
@@ -49,6 +49,11 @@ public class ProBasicSquare extends Model {
     private String name;
 
     /**
+     * 别名
+     */
+    private String aname;
+
+    /**
      * 接入类型
      */
     private String types;

+ 2 - 1
realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProBasicWindpowerstation.java

@@ -1,5 +1,6 @@
 package com.gyee.generation.model.auto;
 
+import java.math.BigDecimal;
 import com.baomidou.mybatisplus.extension.activerecord.Model;
 import lombok.Data;
 import lombok.EqualsAndHashCode;
@@ -10,7 +11,7 @@ import lombok.EqualsAndHashCode;
  * </p>
  *
  * @author shilin
- * @since 2022-10-26
+ * @since 2022-10-31
  */
 @Data
 @EqualsAndHashCode(callSuper = true)

+ 1 - 1
realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProBasicWindsubStation.java

@@ -10,7 +10,7 @@ import lombok.EqualsAndHashCode;
  * </p>
  *
  * @author shilin
- * @since 2022-10-26
+ * @since 2022-10-31
  */
 @Data
 @EqualsAndHashCode(callSuper = true)

+ 12 - 4
realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProBasicWindturbine.java

@@ -1,18 +1,18 @@
 package com.gyee.generation.model.auto;
 
+import java.math.BigDecimal;
 import com.baomidou.mybatisplus.extension.activerecord.Model;
+import java.time.LocalDate;
 import lombok.Data;
 import lombok.EqualsAndHashCode;
 
-import java.time.LocalDate;
-
 /**
  * <p>
  * 风机&光伏
  * </p>
  *
  * @author shilin
- * @since 2022-10-26
+ * @since 2022-10-31
  */
 @Data
 @EqualsAndHashCode(callSuper = true)
@@ -81,6 +81,11 @@ public class ProBasicWindturbine extends Model {
     private String name;
 
     /**
+     * 别名
+     */
+    private String aname;
+
+    /**
      * 是否是标杆设备
      */
     private Integer isStandard;
@@ -129,5 +134,8 @@ public class ProBasicWindturbine extends Model {
      */
     private String spare4;
 
-
+    /**
+     * 排序
+     */
+    private String orderNum;
 }

+ 17 - 9
realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProBasicWppoint.java

@@ -1,5 +1,6 @@
 package com.gyee.generation.model.auto;
 
+import java.math.BigDecimal;
 import com.baomidou.mybatisplus.extension.activerecord.Model;
 import lombok.Data;
 import lombok.EqualsAndHashCode;
@@ -14,7 +15,7 @@ import lombok.EqualsAndHashCode;
  * </p>
  *
  * @author shilin
- * @since 2022-10-26
+ * @since 2022-10-31
  */
 @Data
 @EqualsAndHashCode(callSuper = true)
@@ -38,6 +39,11 @@ public class ProBasicWppoint extends Model {
     private String name;
 
     /**
+     * 实时库名称
+     */
+    private String aname;
+
+    /**
      * 型号
      */
     private String model;
@@ -65,27 +71,24 @@ public class ProBasicWppoint extends Model {
     /**
      * 最大值
      */
-    private Double maxval;
+    private BigDecimal maxval;
 
     /**
      * 最小值
      */
-    private Double minval;
+    private BigDecimal minval;
 
     /**
      * 合理最大值
      */
-    private Double reasonableMaxval;
+    private BigDecimal reasonableMaxval;
 
     /**
      * 合理最小值
      */
-    private Double reasonableMinval;
+    private BigDecimal reasonableMinval;
+
 
-    /**
-     * 风机编号
-     */
-    private String windturbineId;
 
     /**
      * 统一编码
@@ -122,5 +125,10 @@ public class ProBasicWppoint extends Model {
      */
     private String specificName;
 
+    /**
+     * 系数
+     */
+    private BigDecimal coefficient;
+
 
 }

+ 17 - 2
realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProEconElectricaltestPoint.java

@@ -1,6 +1,6 @@
 package com.gyee.generation.model.auto;
 
-
+import java.math.BigDecimal;
 import com.baomidou.mybatisplus.extension.activerecord.Model;
 import lombok.Data;
 import lombok.EqualsAndHashCode;
@@ -11,7 +11,7 @@ import lombok.EqualsAndHashCode;
  * </p>
  *
  * @author shilin
- * @since 2022-10-21
+ * @since 2022-10-31
  */
 @Data
 @EqualsAndHashCode(callSuper = true)
@@ -35,6 +35,11 @@ public class ProEconElectricaltestPoint extends Model {
     private String name;
 
     /**
+     * 实时库名称
+     */
+    private String aname;
+
+    /**
      * 型号
      */
     private String model;
@@ -109,5 +114,15 @@ public class ProEconElectricaltestPoint extends Model {
      */
     private String realTimeId;
 
+    /**
+     * 集团测点编号
+     */
+    private String groupPointId;
+
+    /**
+     * 具体名称
+     */
+    private String specificName;
+
 
 }

+ 424 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProEconEquipmentInfoDay1.java

@@ -0,0 +1,424 @@
+package com.gyee.generation.model.auto;
+
+import java.math.BigDecimal;
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import java.time.LocalDate;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * <p>
+ * 五损电量
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-01
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class ProEconEquipmentInfoDay1 extends Model {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 编号
+     */
+    private String id;
+
+    /**
+     * 风机编号
+     */
+    private String windturbineId;
+
+    /**
+     * 日期
+     */
+    private LocalDate recorddate;
+
+    /**
+     * 风场编号
+     */
+    private String windpowerstationId;
+
+    /**
+     * 项目编号
+     */
+    private String projectId;
+
+    /**
+     * 线路编号
+     */
+    private String lineId;
+
+    /**
+     * 公司编号
+     */
+    private String companyId;
+
+    /**
+     * 区域编号
+     */
+    private String regionId;
+
+    /**
+     * 日最大风速
+     */
+    private BigDecimal rzdfs;
+
+    /**
+     * 日最小风速
+     */
+    private BigDecimal rzxfs;
+
+    /**
+     * 日最大功率
+     */
+    private BigDecimal rzdgl;
+
+    /**
+     * 日最小功率
+     */
+    private BigDecimal rzxgl;
+
+    /**
+     * 日平均功率
+     */
+    private BigDecimal rpjgl;
+
+    /**
+     * 日平均风速
+     */
+    private BigDecimal rpjfs;
+
+    /**
+     * 日发电量
+     */
+    private BigDecimal rfdl;
+
+    /**
+     * 日可用电量
+     */
+    private BigDecimal rkydl;
+
+    /**
+     * 日理论发电量
+     */
+    private BigDecimal rllfdl;
+
+    /**
+     * 日故障损失电量
+     */
+    private BigDecimal rgzssdl;
+
+    /**
+     * 日场内受累故障损失电量
+     */
+    private BigDecimal rcnslgzssdl;
+
+    /**
+     * 日检修损失电量
+     */
+    private BigDecimal rjxssdl;
+
+    /**
+     * 日场内受累检修损失电量
+     */
+    private BigDecimal rcnsljxssdl;
+
+    /**
+     * 日待机损失电量
+     */
+    private BigDecimal rdjssdl;
+
+    /**
+     * 日缺陷降出力损失电量
+     */
+    private BigDecimal rqxjclssdl;
+
+    /**
+     * 日手动停机损失电量
+     */
+    private BigDecimal rsdtjssdl;
+
+    /**
+     * 日性能损失电量
+     */
+    private BigDecimal rxnssdl;
+
+    /**
+     * 日限电停机损失电量
+     */
+    private BigDecimal rxdtjssdl;
+
+    /**
+     * 日限电降出力损失电量
+     */
+    private BigDecimal rxdjclssdl;
+
+    /**
+     * 日场外受累电网损失电量
+     */
+    private BigDecimal rcwsldwssdl;
+
+    /**
+     * 日场外受累天气损失电量
+     */
+    private BigDecimal rcwsltqssdl;
+
+    /**
+     * 日增发电量
+     */
+    private BigDecimal rzfdl;
+
+    /**
+     * 日欠发电量
+     */
+    private BigDecimal rqfdl;
+
+    /**
+     * 月最大风速
+     */
+    private BigDecimal yzdfs;
+
+    /**
+     * 月最小风速
+     */
+    private BigDecimal yrzxfs;
+
+    /**
+     * 月最大功率
+     */
+    private BigDecimal yzdgl;
+
+    /**
+     * 月最小功率
+     */
+    private BigDecimal yzxgl;
+
+    /**
+     * 月平均功率
+     */
+    private BigDecimal ypjgl;
+
+    /**
+     * 月平均风速
+     */
+    private BigDecimal ypjfs;
+
+    /**
+     * 月发电量
+     */
+    private BigDecimal yfdl;
+
+    /**
+     * 月可用电量
+     */
+    private BigDecimal ykydl;
+
+    /**
+     * 月理论发电量
+     */
+    private BigDecimal yllfdl;
+
+    /**
+     * 月故障损失电量
+     */
+    private BigDecimal ygzssdl;
+
+    /**
+     * 月场内受累故障损失电量
+     */
+    private BigDecimal ycnslgzssdl;
+
+    /**
+     * 月检修损失电量
+     */
+    private BigDecimal yjxssdl;
+
+    /**
+     * 月场内受累检修损失电量
+     */
+    private BigDecimal ycnsljxssdl;
+
+    /**
+     * 月待机损失电量
+     */
+    private BigDecimal ydjssdl;
+
+    /**
+     * 月缺陷降出力损失电量
+     */
+    private BigDecimal yqxjclssdl;
+
+    /**
+     * 月手动停机损失电量
+     */
+    private BigDecimal ysdtjssdl;
+
+    /**
+     * 月性能损失电量
+     */
+    private BigDecimal yxnssdl;
+
+    /**
+     * 月限电停机损失电量
+     */
+    private BigDecimal yxdtjssdl;
+
+    /**
+     * 月限电降出力损失电量
+     */
+    private BigDecimal yxdjclssdl;
+
+    /**
+     * 月场外受累电网损失电量
+     */
+    private BigDecimal ycwsldwssdl;
+
+    /**
+     * 月场外受累天气损失电量
+     */
+    private BigDecimal ycwsltqssdl;
+
+    /**
+     * 月增发电量
+     */
+    private BigDecimal yzfdl;
+
+    /**
+     * 月欠发电量
+     */
+    private BigDecimal yqfdl;
+
+    /**
+     * 年最大风速
+     */
+    private BigDecimal nzdfs;
+
+    /**
+     * 年最小风速
+     */
+    private BigDecimal nzxfs;
+
+    /**
+     * 年最大功率
+     */
+    private BigDecimal nzdgl;
+
+    /**
+     * 年最小功率
+     */
+    private BigDecimal nzxgl;
+
+    /**
+     * 年平均功率
+     */
+    private BigDecimal npjgl;
+
+    /**
+     * 年平均风速
+     */
+    private BigDecimal npjfs;
+
+    /**
+     * 年发电量
+     */
+    private BigDecimal nfdl;
+
+    /**
+     * 年可用电量
+     */
+    private BigDecimal nkydl;
+
+    /**
+     * 年理论发电量
+     */
+    private BigDecimal nllfdl;
+
+    /**
+     * 年故障损失电量
+     */
+    private BigDecimal ngzssdl;
+
+    /**
+     * 年场内受累故障损失电量
+     */
+    private BigDecimal ncnslgzssdl;
+
+    /**
+     * 年检修损失电量
+     */
+    private BigDecimal njxssdl;
+
+    /**
+     * 年场内受累检修损失电量
+     */
+    private BigDecimal ncnsljxssdl;
+
+    /**
+     * 年待机损失电量
+     */
+    private BigDecimal ndjssdl;
+
+    /**
+     * 年缺陷降出力损失电量
+     */
+    private BigDecimal nqxjclssdl;
+
+    /**
+     * 年手动停机损失电量
+     */
+    private BigDecimal nsdtjssdl;
+
+    /**
+     * 年性能损失电量
+     */
+    private BigDecimal nxnssdl;
+
+    /**
+     * 年限电停机损失电量
+     */
+    private BigDecimal nxdtjssdl;
+
+    /**
+     * 年限电降出力损失电量
+     */
+    private BigDecimal nxdjclssdl;
+
+    /**
+     * 年场外受累电网损失电量
+     */
+    private BigDecimal ncwsldwssdl;
+
+    /**
+     * 年场外受累天气损失电量
+     */
+    private BigDecimal ncwsltqssdl;
+
+    /**
+     * 年增发电量
+     */
+    private BigDecimal nzfdl;
+
+    /**
+     * 年欠发电量
+     */
+    private BigDecimal nqfdl;
+
+    /**
+     * 日自耗电
+     */
+    private BigDecimal rzhd;
+
+    /**
+     * 月自耗电
+     */
+    private BigDecimal yzhd;
+
+    /**
+     * 年自耗电
+     */
+    private BigDecimal nzhd;
+
+
+}

+ 364 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProEconEquipmentInfoDay2.java

@@ -0,0 +1,364 @@
+package com.gyee.generation.model.auto;
+
+import java.math.BigDecimal;
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import java.time.LocalDate;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * <p>
+ * 五损时间
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-01
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class ProEconEquipmentInfoDay2 extends Model {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 编号
+     */
+    private String id;
+
+    /**
+     * 风机编号
+     */
+    private String windturbineId;
+
+    /**
+     * 日期
+     */
+    private LocalDate recorddate;
+
+    /**
+     * 风场编号
+     */
+    private String windpowerstationId;
+
+    /**
+     * 项目编号
+     */
+    private String projectId;
+
+    /**
+     * 线路编号
+     */
+    private String lineId;
+
+    /**
+     * 公司编号
+     */
+    private String companyId;
+
+    /**
+     * 区域编号
+     */
+    private String regionId;
+
+    /**
+     * 日故障小时(明细)
+     */
+    private BigDecimal rgzxsmx;
+
+    /**
+     * 日场内受累故障小时(明细)
+     */
+    private BigDecimal rcnslgzxsmx;
+
+    /**
+     * 日检修小时(明细)
+     */
+    private BigDecimal rjxxsmx;
+
+    /**
+     * 日场内受累检修小时(明细)
+     */
+    private BigDecimal rcnsljxxsmx;
+
+    /**
+     * 日待机小时(明细)
+     */
+    private BigDecimal rdjxsmx;
+
+    /**
+     * 日缺陷降出力小时(明细)
+     */
+    private BigDecimal rqxjclxsmx;
+
+    /**
+     * 日手动停机小时(明细)
+     */
+    private BigDecimal rsdtjxsmx;
+
+    /**
+     * 日性能小时(明细)
+     */
+    private BigDecimal rxnxsmx;
+
+    /**
+     * 日限电停机小时(明细)
+     */
+    private BigDecimal rxdtjxsmx;
+
+    /**
+     * 日限电降出力小时(明细)
+     */
+    private BigDecimal rxdjclxsmx;
+
+    /**
+     * 日场外受累电网小时(明细)
+     */
+    private BigDecimal rcwsldwxsmx;
+
+    /**
+     * 日场外受累天气小时(明细)
+     */
+    private BigDecimal rcwsltqxsmx;
+
+    /**
+     * 日离线小时(明细)
+     */
+    private BigDecimal rlxxsmx;
+
+    /**
+     * 日通讯中断小时(明细)
+     */
+    private BigDecimal rtxzdxsmx;
+
+    /**
+     * 日待机小时
+     */
+    private BigDecimal rdjxs;
+
+    /**
+     * 日故障停机小时
+     */
+    private BigDecimal rgztjxs;
+
+    /**
+     * 日通讯中断小时
+     */
+    private BigDecimal rtxzdxs;
+
+    /**
+     * 日维护停机小时
+     */
+    private BigDecimal rjxtjxs;
+
+    /**
+     * 日限电小时
+     */
+    private BigDecimal rxdxs;
+
+    /**
+     * 日运行小时
+     */
+    private BigDecimal ryxxs;
+
+    /**
+     * 月故障小时(明细)
+     */
+    private BigDecimal ygzxsmx;
+
+    /**
+     * 月场内受累故障小时(明细)
+     */
+    private BigDecimal ycnslgzxsmx;
+
+    /**
+     * 月检修小时(明细)
+     */
+    private BigDecimal yjxxsmx;
+
+    /**
+     * 月场内受累检修小时(明细)
+     */
+    private BigDecimal ycnsljxxsmx;
+
+    /**
+     * 月待机小时(明细)
+     */
+    private BigDecimal ydjxsmx;
+
+    /**
+     * 月缺陷降出力小时(明细)
+     */
+    private BigDecimal yqxjclxsmx;
+
+    /**
+     * 月手动停机小时(明细)
+     */
+    private BigDecimal ysdtjxsmx;
+
+    /**
+     * 月性能小时(明细)
+     */
+    private BigDecimal yxnxsmx;
+
+    /**
+     * 月限电停机小时(明细)
+     */
+    private BigDecimal yxdtjxsmx;
+
+    /**
+     * 月限电降出力小时(明细)
+     */
+    private BigDecimal yxdjclxsmx;
+
+    /**
+     * 月场外受累电网小时(明细)
+     */
+    private BigDecimal ycwsldwxsmx;
+
+    /**
+     * 月场外受累天气小时(明细)
+     */
+    private BigDecimal ycwsltqxsmx;
+
+    /**
+     * 月离线小时(明细)
+     */
+    private BigDecimal ylxxsmx;
+
+    /**
+     * 月通讯中断小时(明细)
+     */
+    private BigDecimal ytxzdxsmx;
+
+    /**
+     * 月待机小时
+     */
+    private BigDecimal ydjxs;
+
+    /**
+     * 月故障停机小时
+     */
+    private BigDecimal ygztjxs;
+
+    /**
+     * 月通讯中断小时
+     */
+    private BigDecimal ytxzdxs;
+
+    /**
+     * 月维护停机小时
+     */
+    private BigDecimal yjxtjxs;
+
+    /**
+     * 月限电小时
+     */
+    private BigDecimal yxdxs;
+
+    /**
+     * 月运行小时
+     */
+    private BigDecimal yyxxs;
+
+    /**
+     * 年故障小时(明细)
+     */
+    private BigDecimal ngzxsmx;
+
+    /**
+     * 年场内受累故障小时(明细)
+     */
+    private BigDecimal ncnslgzxsmx;
+
+    /**
+     * 年检修小时(明细)
+     */
+    private BigDecimal njxxsmx;
+
+    /**
+     * 年场内受累检修小时(明细)
+     */
+    private BigDecimal ncnsljxxsmx;
+
+    /**
+     * 年待机小时(明细)
+     */
+    private BigDecimal ndjxsmx;
+
+    /**
+     * 年缺陷降出力小时(明细)
+     */
+    private BigDecimal nqxjclxsmx;
+
+    /**
+     * 年手动停机小时(明细)
+     */
+    private BigDecimal nsdtjxsmx;
+
+    /**
+     * 年性能小时(明细)
+     */
+    private BigDecimal nxnxsmx;
+
+    /**
+     * 年限电停机小时(明细)
+     */
+    private BigDecimal nxdtjxsmx;
+
+    /**
+     * 年限电降出力小时(明细)
+     */
+    private BigDecimal nxdjclxsmx;
+
+    /**
+     * 年场外受累电网小时(明细)
+     */
+    private BigDecimal ncwsldwxsmx;
+
+    /**
+     * 年场外受累天气小时(明细)
+     */
+    private BigDecimal ncwsltqxsmx;
+
+    /**
+     * 年离线小时(明细)
+     */
+    private BigDecimal nlxxsmx;
+
+    /**
+     * 年通讯中断小时(明细)
+     */
+    private BigDecimal ntxzdxsmx;
+
+    /**
+     * 年待机小时
+     */
+    private BigDecimal ndjxs;
+
+    /**
+     * 年故障停机小时
+     */
+    private BigDecimal ngztjxs;
+
+    /**
+     * 年通讯中断小时
+     */
+    private BigDecimal ntxzdxs;
+
+    /**
+     * 年维护停机小时
+     */
+    private BigDecimal njxtjxs;
+
+    /**
+     * 年限电小时
+     */
+    private BigDecimal nxdxs;
+
+    /**
+     * 年运行小时
+     */
+    private BigDecimal nyxxs;
+
+
+}

+ 364 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProEconEquipmentInfoDay3.java

@@ -0,0 +1,364 @@
+package com.gyee.generation.model.auto;
+
+import java.math.BigDecimal;
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import java.time.LocalDate;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * <p>
+ * 五损次数
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-01
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class ProEconEquipmentInfoDay3 extends Model {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 编号
+     */
+    private String id;
+
+    /**
+     * 风机编号
+     */
+    private String windturbineId;
+
+    /**
+     * 日期
+     */
+    private LocalDate recorddate;
+
+    /**
+     * 风场编号
+     */
+    private String windpowerstationId;
+
+    /**
+     * 项目编号
+     */
+    private String projectId;
+
+    /**
+     * 线路编号
+     */
+    private String lineId;
+
+    /**
+     * 公司编号
+     */
+    private String companyId;
+
+    /**
+     * 区域编号
+     */
+    private String regionId;
+
+    /**
+     * 日故障次数(明细)
+     */
+    private BigDecimal rgzcsmx;
+
+    /**
+     * 日场内受累故障次数(明细)
+     */
+    private BigDecimal rcnslgzcsmx;
+
+    /**
+     * 日检修次数(明细)
+     */
+    private BigDecimal rjxcsmx;
+
+    /**
+     * 日场内受累检修次数(明细)
+     */
+    private BigDecimal rcnsljxcsmx;
+
+    /**
+     * 日待机次数(明细)
+     */
+    private BigDecimal rdjcsmx;
+
+    /**
+     * 日缺陷降出力次数(明细)
+     */
+    private BigDecimal rqxjclcsmx;
+
+    /**
+     * 日手动停机次数(明细)
+     */
+    private BigDecimal rsdtjcsmx;
+
+    /**
+     * 日性能次数(明细)
+     */
+    private BigDecimal rxncsmx;
+
+    /**
+     * 日限电停机次数(明细)
+     */
+    private BigDecimal rxdtjcsmx;
+
+    /**
+     * 日限电降出力次数(明细)
+     */
+    private BigDecimal rxdjclcsmx;
+
+    /**
+     * 日场外受累电网次数(明细)
+     */
+    private BigDecimal rcwsldwcsmx;
+
+    /**
+     * 日场外受累天气次数(明细)
+     */
+    private BigDecimal rcwsltqcsmx;
+
+    /**
+     * 日离线次数(明细)
+     */
+    private BigDecimal rlxcsmx;
+
+    /**
+     * 日通讯中断次数(明细)
+     */
+    private BigDecimal rtxzdcsmx;
+
+    /**
+     * 日待机次数
+     */
+    private BigDecimal rdjcs;
+
+    /**
+     * 日故障停机次数
+     */
+    private BigDecimal rgztjcs;
+
+    /**
+     * 日通讯中断次数
+     */
+    private BigDecimal rtxzdcs;
+
+    /**
+     * 日维护停机次数
+     */
+    private BigDecimal rjxtjcs;
+
+    /**
+     * 日限电次数
+     */
+    private BigDecimal rxdcs;
+
+    /**
+     * 日运行次数
+     */
+    private BigDecimal ryxcs;
+
+    /**
+     * 月故障次数(明细)
+     */
+    private BigDecimal ygzcsmx;
+
+    /**
+     * 月场内受累故障次数(明细)
+     */
+    private BigDecimal ycnslgzcsmx;
+
+    /**
+     * 月检修次数(明细)
+     */
+    private BigDecimal yjxcsmx;
+
+    /**
+     * 月场内受累检修次数(明细)
+     */
+    private BigDecimal ycnsljxcsmx;
+
+    /**
+     * 月待机次数(明细)
+     */
+    private BigDecimal ydjcsmx;
+
+    /**
+     * 月缺陷降出力次数(明细)
+     */
+    private BigDecimal yqxjclcsmx;
+
+    /**
+     * 月手动停机次数(明细)
+     */
+    private BigDecimal ysdtjcsmx;
+
+    /**
+     * 月性能次数(明细)
+     */
+    private BigDecimal yxncsmx;
+
+    /**
+     * 月限电停机次数(明细)
+     */
+    private BigDecimal yxdtjcsmx;
+
+    /**
+     * 月限电降出力次数(明细)
+     */
+    private BigDecimal yxdjclcsmx;
+
+    /**
+     * 月场外受累电网次数(明细)
+     */
+    private BigDecimal ycwsldwcsmx;
+
+    /**
+     * 月场外受累天气次数(明细)
+     */
+    private BigDecimal ycwsltqcsmx;
+
+    /**
+     * 月离线次数(明细)
+     */
+    private BigDecimal ylxcsmx;
+
+    /**
+     * 月通讯中断次数(明细)
+     */
+    private BigDecimal ytxzdcsmx;
+
+    /**
+     * 月待机次数
+     */
+    private BigDecimal ydjcs;
+
+    /**
+     * 月故障停机次数
+     */
+    private BigDecimal ygztjcs;
+
+    /**
+     * 月通讯中断次数
+     */
+    private BigDecimal ytxzdcs;
+
+    /**
+     * 月维护停机次数
+     */
+    private BigDecimal yjxtjcs;
+
+    /**
+     * 月限电次数
+     */
+    private BigDecimal yxdcs;
+
+    /**
+     * 月运行次数
+     */
+    private BigDecimal yyxcs;
+
+    /**
+     * 年故障次数(明细)
+     */
+    private BigDecimal ngzcsmx;
+
+    /**
+     * 年场内受累故障次数(明细)
+     */
+    private BigDecimal ncnslgzcsmx;
+
+    /**
+     * 年检修次数(明细)
+     */
+    private BigDecimal njxcsmx;
+
+    /**
+     * 年场内受累检修次数(明细)
+     */
+    private BigDecimal ncnsljxcsmx;
+
+    /**
+     * 年待机次数(明细)
+     */
+    private BigDecimal ndjcsmx;
+
+    /**
+     * 年缺陷降出力次数(明细)
+     */
+    private BigDecimal nqxjclcsmx;
+
+    /**
+     * 年手动停机次数(明细)
+     */
+    private BigDecimal nsdtjcsmx;
+
+    /**
+     * 年性能次数(明细)
+     */
+    private BigDecimal nxncsmx;
+
+    /**
+     * 年限电停机次数(明细)
+     */
+    private BigDecimal nxdtjcsmx;
+
+    /**
+     * 年限电降出力次数(明细)
+     */
+    private BigDecimal nxdjclcsmx;
+
+    /**
+     * 年场外受累电网次数(明细)
+     */
+    private BigDecimal ncwsldwcsmx;
+
+    /**
+     * 年场外受累天气次数(明细)
+     */
+    private BigDecimal ncwsltqcsmx;
+
+    /**
+     * 年离线次数(明细)
+     */
+    private BigDecimal nlxcsmx;
+
+    /**
+     * 年通讯中断次数(明细)
+     */
+    private BigDecimal ntxzdcsmx;
+
+    /**
+     * 年待机次数
+     */
+    private BigDecimal ndjcs;
+
+    /**
+     * 年故障停机次数
+     */
+    private BigDecimal ngztjcs;
+
+    /**
+     * 年通讯中断次数
+     */
+    private BigDecimal ntxzdcs;
+
+    /**
+     * 年维护停机次数
+     */
+    private BigDecimal njxtjcs;
+
+    /**
+     * 年限电次数
+     */
+    private BigDecimal nxdcs;
+
+    /**
+     * 年运行次数
+     */
+    private BigDecimal nyxcs;
+
+
+}

+ 409 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProEconEquipmentInfoDay4.java

@@ -0,0 +1,409 @@
+package com.gyee.generation.model.auto;
+
+import java.math.BigDecimal;
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import java.time.LocalDate;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * <p>
+ * 五损曲线偏差率切入性能
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-01
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class ProEconEquipmentInfoDay4 extends Model {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 编号
+     */
+    private String id;
+
+    /**
+     * 风机编号
+     */
+    private String windturbineId;
+
+    /**
+     * 日期
+     */
+    private LocalDate recorddate;
+
+    /**
+     * 风场编号
+     */
+    private String windpowerstationId;
+
+    /**
+     * 项目编号
+     */
+    private String projectId;
+
+    /**
+     * 线路编号
+     */
+    private String lineId;
+
+    /**
+     * 公司编号
+     */
+    private String companyId;
+
+    /**
+     * 区域编号
+     */
+    private String regionId;
+
+    /**
+     * 日静风时长
+     */
+    private BigDecimal rjfsc;
+
+    /**
+     * 日有效风时数
+     */
+    private BigDecimal ryxfss;
+
+    /**
+     * 日小风切入风速
+     */
+    private BigDecimal rxfqrfs;
+
+    /**
+     * 日大风切入风速
+     */
+    private BigDecimal rdfqrfs;
+
+    /**
+     * 日小风切出风速
+     */
+    private BigDecimal rxfqcfs;
+
+    /**
+     * 日大风切出风速
+     */
+    private BigDecimal rdfqcfs;
+
+    /**
+     * 日额定风速
+     */
+    private BigDecimal redfs;
+
+    /**
+     * 日功率一致性系数
+     */
+    private BigDecimal rglyzxxs;
+
+    /**
+     * 日拟合优度
+     */
+    private BigDecimal rnhyd;
+
+    /**
+     * 日曲线偏差率保证
+     */
+    private BigDecimal rqxpcbbz;
+
+    /**
+     * 日曲线偏差率同期
+     */
+    private BigDecimal rqxpcbtq;
+
+    /**
+     * 日曲线偏差率环比
+     */
+    private BigDecimal rqxpcbhb;
+
+    /**
+     * 日曲线偏差率标杆
+     */
+    private BigDecimal rqxpcbbg;
+
+    /**
+     * 日3-5米曲线偏差率
+     */
+    private BigDecimal r35mqxpcl;
+
+    /**
+     * 日5-11米曲线偏差率
+     */
+    private BigDecimal r511mqxpcl;
+
+    /**
+     * 日11米以上曲线偏差率
+     */
+    private BigDecimal r11mycqxpcl;
+
+    /**
+     * 日对风偏差率(-50 +50之间)
+     */
+    private BigDecimal rdfpcl;
+
+    /**
+     * 日MTBF
+     */
+    private BigDecimal rmtbf;
+
+    /**
+     * 日MTTR
+     */
+    private BigDecimal rmttr;
+
+    /**
+     * 日MTTF
+     */
+    private BigDecimal rmttf;
+
+    /**
+     * 日复位及时率
+     */
+    private BigDecimal rfwjsl;
+
+    /**
+     * 日状态转换及时率
+     */
+    private BigDecimal rztzhjsl;
+
+    /**
+     * 日故障消缺及时率
+     */
+    private BigDecimal rgzxqjsl;
+
+    /**
+     * 月静风时长
+     */
+    private BigDecimal yjfsc;
+
+    /**
+     * 月有效风时数
+     */
+    private BigDecimal yyxfss;
+
+    /**
+     * 月小风切入风速
+     */
+    private BigDecimal yxfqrfs;
+
+    /**
+     * 月大风切入风速
+     */
+    private BigDecimal ydfqrfs;
+
+    /**
+     * 月小风切出风速
+     */
+    private BigDecimal yxfqcfs;
+
+    /**
+     * 月大风切出风速
+     */
+    private BigDecimal ydfqcfs;
+
+    /**
+     * 月额定风速
+     */
+    private BigDecimal yedfs;
+
+    /**
+     * 月功率一致性系数
+     */
+    private BigDecimal yglyzxxs;
+
+    /**
+     * 月拟合优度
+     */
+    private BigDecimal ynhyd;
+
+    /**
+     * 月曲线偏差率保证
+     */
+    private BigDecimal yqxpcbbz;
+
+    /**
+     * 月曲线偏差率同期
+     */
+    private BigDecimal yqxpcbtq;
+
+    /**
+     * 月曲线偏差率环比
+     */
+    private BigDecimal yqxpcbhb;
+
+    /**
+     * 月曲线偏差率标杆
+     */
+    private BigDecimal yqxpcbbg;
+
+    /**
+     * 月3-5米曲线偏差率
+     */
+    private BigDecimal y35mqxpcl;
+
+    /**
+     * 月5-11米曲线偏差率
+     */
+    private BigDecimal y511mqxpcl;
+
+    /**
+     * 月11米以上曲线偏差率
+     */
+    private BigDecimal y11mycqxpcl;
+
+    /**
+     * 月对风偏差率(-50 +50之间)
+     */
+    private BigDecimal ydfpcl;
+
+    /**
+     * 月MTBF
+     */
+    private BigDecimal ymtbf;
+
+    /**
+     * 月MTTR
+     */
+    private BigDecimal ymttr;
+
+    /**
+     * 月MTTF
+     */
+    private BigDecimal ymttf;
+
+    /**
+     * 月复位及时率
+     */
+    private BigDecimal yfwjsl;
+
+    /**
+     * 月状态转换及时率
+     */
+    private BigDecimal yztzhjsl;
+
+    /**
+     * 月故障消缺及时率
+     */
+    private BigDecimal ygzxqjsl;
+
+    /**
+     * 年静风时长
+     */
+    private BigDecimal njfsc;
+
+    /**
+     * 年有效风时数
+     */
+    private BigDecimal nyxfss;
+
+    /**
+     * 年小风切入风速
+     */
+    private BigDecimal nxfqrfs;
+
+    /**
+     * 年大风切入风速
+     */
+    private BigDecimal ndfqrfs;
+
+    /**
+     * 年小风切出风速
+     */
+    private BigDecimal nxfqcfs;
+
+    /**
+     * 年大风切出风速
+     */
+    private BigDecimal ndfqcfs;
+
+    /**
+     * 年额定风速
+     */
+    private BigDecimal nedfs;
+
+    /**
+     * 年功率一致性系数
+     */
+    private BigDecimal nglyzxxs;
+
+    /**
+     * 年拟合优度
+     */
+    private BigDecimal nnhyd;
+
+    /**
+     * 年曲线偏差率保证
+     */
+    private BigDecimal nqxpcbbz;
+
+    /**
+     * 年曲线偏差率同期
+     */
+    private BigDecimal nqxpcbtq;
+
+    /**
+     * 年曲线偏差率环比
+     */
+    private BigDecimal nqxpcbhb;
+
+    /**
+     * 年曲线偏差率标杆
+     */
+    private BigDecimal nqxpcbbg;
+
+    /**
+     * 年3-5米曲线偏差率
+     */
+    private BigDecimal n35mqxpcl;
+
+    /**
+     * 年5-11米曲线偏差率
+     */
+    private BigDecimal n511mqxpcl;
+
+    /**
+     * 年11米以上曲线偏差率
+     */
+    private BigDecimal n11mycqxpcl;
+
+    /**
+     * 年对风偏差率(-50 +50之间)
+     */
+    private BigDecimal ndfpcl;
+
+    /**
+     * 年MTBF
+     */
+    private BigDecimal nmtbf;
+
+    /**
+     * 年MTTR
+     */
+    private BigDecimal nmttr;
+
+    /**
+     * 年MTTF
+     */
+    private BigDecimal nmttf;
+
+    /**
+     * 年复位及时率
+     */
+    private BigDecimal nfwjsl;
+
+    /**
+     * 年状态转换及时率
+     */
+    private BigDecimal nztzhjsl;
+
+    /**
+     * 年故障消缺及时率
+     */
+    private BigDecimal ngzxqjsl;
+
+
+}

+ 174 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProEconEquipmentInfoDay5.java

@@ -0,0 +1,174 @@
+package com.gyee.generation.model.auto;
+
+import java.math.BigDecimal;
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import java.time.LocalDate;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * <p>
+ * 三率
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-01
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class ProEconEquipmentInfoDay5 extends Model {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 编号
+     */
+    private String id;
+
+    /**
+     * 风机编号
+     */
+    private String windturbineId;
+
+    /**
+     * 日期
+     */
+    private LocalDate recorddate;
+
+    /**
+     * 风场编号
+     */
+    private String windpowerstationId;
+
+    /**
+     * 项目编号
+     */
+    private String projectId;
+
+    /**
+     * 线路编号
+     */
+    private String lineId;
+
+    /**
+     * 公司编号
+     */
+    private String companyId;
+
+    /**
+     * 区域编号
+     */
+    private String regionId;
+
+    /**
+     * 小于3米5分钟转换及时次数
+     */
+    private BigDecimal timerate1;
+
+    /**
+     * 小于3米10分钟转换及时次数
+     */
+    private BigDecimal timerate2;
+
+    /**
+     * 小于3米15分钟转换及时次数
+     */
+    private BigDecimal timerate3;
+
+    /**
+     * 小于3米20分钟转换及时次数
+     */
+    private BigDecimal timerate4;
+
+    /**
+     * 大于3米5分钟转换及时次数
+     */
+    private BigDecimal timerate5;
+
+    /**
+     * 大于3米10分钟转换及时次数
+     */
+    private BigDecimal timerate6;
+
+    /**
+     * 大于3米15分钟转换及时次数
+     */
+    private BigDecimal timerate7;
+
+    /**
+     * 大于3米20分钟转换及时次数
+     */
+    private BigDecimal timerate8;
+
+    /**
+     * 大于4米5分钟转换及时次数
+     */
+    private BigDecimal timerate9;
+
+    /**
+     * 大于4米10分钟转换及时次数
+     */
+    private BigDecimal timerate10;
+
+    /**
+     * 大于4米15分钟转换及时次数
+     */
+    private BigDecimal timerate11;
+
+    /**
+     * 大于4米20分钟转换及时次数
+     */
+    private BigDecimal timerate12;
+
+    /**
+     * 小于3米状态转换总次数
+     */
+    private BigDecimal timerate13;
+
+    /**
+     * 大于3米状态转换总次数
+     */
+    private BigDecimal timerate14;
+
+    /**
+     * 大于4米状态转换总次数
+     */
+    private BigDecimal timerate15;
+
+    /**
+     * 5分钟复位及时次数
+     */
+    private BigDecimal timerate16;
+
+    /**
+     * 10分钟复位及时次数
+     */
+    private BigDecimal timerate17;
+
+    /**
+     * 15分钟复位及时次数
+     */
+    private BigDecimal timerate18;
+
+    /**
+     * 20分钟复位及时次数
+     */
+    private BigDecimal timerate19;
+
+    /**
+     * 总复位次数
+     */
+    private BigDecimal timerate20;
+
+    /**
+     * 故障消缺及时次数
+     */
+    private BigDecimal timerate21;
+
+    /**
+     * 故障消缺总次数
+     */
+    private BigDecimal timerate22;
+
+
+}

+ 109 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProEconEquipmentInfoDay6.java

@@ -0,0 +1,109 @@
+package com.gyee.generation.model.auto;
+
+import java.math.BigDecimal;
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import java.time.LocalDate;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * <p>
+ * 离散率转换效率
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-01
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class ProEconEquipmentInfoDay6 extends Model {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 编号
+     */
+    private String id;
+
+    /**
+     * 逆变器编号
+     */
+    private String windturbineId;
+
+    /**
+     * 日期
+     */
+    private LocalDate recorddate;
+
+    /**
+     * 风场编号
+     */
+    private String windpowerstationId;
+
+    /**
+     * 项目编号
+     */
+    private String projectId;
+
+    /**
+     * 线路编号
+     */
+    private String lineId;
+
+    /**
+     * 公司编号
+     */
+    private String companyId;
+
+    /**
+     * 区域编号
+     */
+    private String regionId;
+
+    /**
+     * 日系统效率(PR)
+     */
+    private BigDecimal rxtxl;
+
+    /**
+     * 日离散率
+     */
+    private BigDecimal rlsl;
+
+    /**
+     * 日逆变器转换效率
+     */
+    private BigDecimal rnbqzhxl;
+
+    /**
+     * 月系统效率(PR)
+     */
+    private BigDecimal yxtxl;
+
+    /**
+     * 月离散率
+     */
+    private BigDecimal ylsl;
+
+    /**
+     * 月逆变器转换效率
+     */
+    private BigDecimal ynbqzhxl;
+
+    /**
+     * 年系统效率(PR)
+     */
+    private BigDecimal nxtxl;
+
+    /**
+     * 年离散率
+     */
+    private BigDecimal nlsl;
+
+    /**
+     * 年逆变器转换效率
+     */
+    private BigDecimal nnbqzhxl;
+
+
+}

+ 7 - 1
realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProEconEquipmentmodel.java

@@ -1,5 +1,6 @@
 package com.gyee.generation.model.auto;
 
+import java.math.BigDecimal;
 import com.baomidou.mybatisplus.extension.activerecord.Model;
 import lombok.Data;
 import lombok.EqualsAndHashCode;
@@ -10,7 +11,7 @@ import lombok.EqualsAndHashCode;
  * </p>
  *
  * @author shilin
- * @since 2022-10-24
+ * @since 2022-10-31
  */
 @Data
 @EqualsAndHashCode(callSuper = true)
@@ -34,6 +35,11 @@ public class ProEconEquipmentmodel extends Model {
     private String name;
 
     /**
+     * 别名
+     */
+    private String aname;
+
+    /**
      * 描述
      */
     private String description;

+ 5 - 3
realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProEconInterruptionItem.java

@@ -1,7 +1,9 @@
 package com.gyee.generation.model.auto;
 
 import com.baomidou.mybatisplus.extension.activerecord.Model;
-import java.time.LocalDate;
+
+import java.util.Date;
+
 import lombok.Data;
 import lombok.EqualsAndHashCode;
 
@@ -37,12 +39,12 @@ public class ProEconInterruptionItem extends Model {
     /**
      * 结束时间
      */
-    private LocalDate stopTime;
+    private Double stopTime;
 
     /**
      * 开始时间
      */
-    private LocalDate startTime;
+    private Date startTime;
 
     /**
      * 工程编号

+ 6 - 1
realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProEconLogicalUnit.java

@@ -10,7 +10,7 @@ import lombok.EqualsAndHashCode;
  * </p>
  *
  * @author shilin
- * @since 2022-10-24
+ * @since 2022-10-31
  */
 @Data
 @EqualsAndHashCode(callSuper = true)
@@ -34,6 +34,11 @@ public class ProEconLogicalUnit extends Model {
     private String name;
 
     /**
+     * 别名
+     */
+    private String aname;
+
+    /**
      * 拼音编码
      */
     private String pycode;

+ 12 - 2
realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProEconManufacturer.java

@@ -6,11 +6,11 @@ import lombok.EqualsAndHashCode;
 
 /**
  * <p>
- * 设备厂商
+ * 
  * </p>
  *
  * @author shilin
- * @since 2022-10-21
+ * @since 2022-10-31
  */
 @Data
 @EqualsAndHashCode(callSuper = true)
@@ -24,11 +24,21 @@ public class ProEconManufacturer extends Model {
     private String id;
 
     /**
+     * 编码
+     */
+    private String code;
+
+    /**
      * 名称
      */
     private String name;
 
     /**
+     * 别名
+     */
+    private String aname;
+
+    /**
      * 国家地区
      */
     private String country;

+ 429 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProEconPowerstationInfoDay1.java

@@ -0,0 +1,429 @@
+package com.gyee.generation.model.auto;
+
+import java.math.BigDecimal;
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import java.time.LocalDate;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * <p>
+ * 场站五损电量
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-01
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class ProEconPowerstationInfoDay1 extends Model {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 编号
+     */
+    private String id;
+
+    /**
+     * 外键编号
+     */
+    private String foreignkeyid;
+
+    /**
+     * 日期
+     */
+    private LocalDate recorddate;
+
+    /**
+     * 类型
+     */
+    private String type;
+
+    /**
+     * 风场编号
+     */
+    private String windpowerstationId;
+
+    /**
+     * 项目编号
+     */
+    private String projectId;
+
+    /**
+     * 线路编号
+     */
+    private String lineId;
+
+    /**
+     * 公司编号
+     */
+    private String companyId;
+
+    /**
+     * 区域编号
+     */
+    private String regionId;
+
+    /**
+     * 日最大风速
+     */
+    private BigDecimal rzdfs;
+
+    /**
+     * 日最小风速
+     */
+    private BigDecimal rzxfs;
+
+    /**
+     * 日最大功率
+     */
+    private BigDecimal rzdgl;
+
+    /**
+     * 日最小功率
+     */
+    private BigDecimal rzxgl;
+
+    /**
+     * 日平均功率
+     */
+    private BigDecimal rpjgl;
+
+    /**
+     * 日平均风速
+     */
+    private BigDecimal rpjfs;
+
+    /**
+     * 日发电量
+     */
+    private BigDecimal rfdl;
+
+    /**
+     * 日可用电量
+     */
+    private BigDecimal rkydl;
+
+    /**
+     * 日理论发电量
+     */
+    private BigDecimal rllfdl;
+
+    /**
+     * 日故障损失电量
+     */
+    private BigDecimal rgzssdl;
+
+    /**
+     * 日场内受累故障损失电量
+     */
+    private BigDecimal rcnslgzssdl;
+
+    /**
+     * 日检修损失电量
+     */
+    private BigDecimal rjxssdl;
+
+    /**
+     * 日场内受累检修损失电量
+     */
+    private BigDecimal rcnsljxssdl;
+
+    /**
+     * 日待机损失电量
+     */
+    private BigDecimal rdjssdl;
+
+    /**
+     * 日缺陷降出力损失电量
+     */
+    private BigDecimal rqxjclssdl;
+
+    /**
+     * 日手动停机损失电量
+     */
+    private BigDecimal rsdtjssdl;
+
+    /**
+     * 日性能损失电量
+     */
+    private BigDecimal rxnssdl;
+
+    /**
+     * 日限电停机损失电量
+     */
+    private BigDecimal rxdtjssdl;
+
+    /**
+     * 日限电降出力损失电量
+     */
+    private BigDecimal rxdjclssdl;
+
+    /**
+     * 日场外受累电网损失电量
+     */
+    private BigDecimal rcwsldwssdl;
+
+    /**
+     * 日场外受累天气损失电量
+     */
+    private BigDecimal rcwsltqssdl;
+
+    /**
+     * 日增发电量
+     */
+    private BigDecimal rzfdl;
+
+    /**
+     * 日欠发电量
+     */
+    private BigDecimal rqfdl;
+
+    /**
+     * 月最大风速
+     */
+    private BigDecimal yzdfs;
+
+    /**
+     * 月最小风速
+     */
+    private BigDecimal yzxfs;
+
+    /**
+     * 月最大功率
+     */
+    private BigDecimal yzdgl;
+
+    /**
+     * 月最小功率
+     */
+    private BigDecimal yzxgl;
+
+    /**
+     * 月平均功率
+     */
+    private BigDecimal ypjgl;
+
+    /**
+     * 月平均风速
+     */
+    private BigDecimal ypjfs;
+
+    /**
+     * 月发电量
+     */
+    private BigDecimal yfdl;
+
+    /**
+     * 月可用电量
+     */
+    private BigDecimal ykydl;
+
+    /**
+     * 月理论发电量
+     */
+    private BigDecimal yllfdl;
+
+    /**
+     * 月故障损失电量
+     */
+    private BigDecimal ygzssdl;
+
+    /**
+     * 月场内受累故障损失电量
+     */
+    private BigDecimal ycnslgzssdl;
+
+    /**
+     * 月检修损失电量
+     */
+    private BigDecimal yjxssdl;
+
+    /**
+     * 月场内受累检修损失电量
+     */
+    private BigDecimal ycnsljxssdl;
+
+    /**
+     * 月待机损失电量
+     */
+    private BigDecimal ydjssdl;
+
+    /**
+     * 月缺陷降出力损失电量
+     */
+    private BigDecimal yqxjclssdl;
+
+    /**
+     * 月手动停机损失电量
+     */
+    private BigDecimal ysdtjssdl;
+
+    /**
+     * 月性能损失电量
+     */
+    private BigDecimal yxnssdl;
+
+    /**
+     * 月限电停机损失电量
+     */
+    private BigDecimal yxdtjssdl;
+
+    /**
+     * 月限电降出力损失电量
+     */
+    private BigDecimal yxdjclssdl;
+
+    /**
+     * 月场外受累电网损失电量
+     */
+    private BigDecimal ycwsldwssdl;
+
+    /**
+     * 月场外受累天气损失电量
+     */
+    private BigDecimal ycwsltqssdl;
+
+    /**
+     * 月增发电量
+     */
+    private BigDecimal yzfdl;
+
+    /**
+     * 月欠发电量
+     */
+    private BigDecimal yqfdl;
+
+    /**
+     * 年最大风速
+     */
+    private BigDecimal nzdfs;
+
+    /**
+     * 年最小风速
+     */
+    private BigDecimal nzxfs;
+
+    /**
+     * 年最大功率
+     */
+    private BigDecimal nzdgl;
+
+    /**
+     * 年最小功率
+     */
+    private BigDecimal nzxgl;
+
+    /**
+     * 年平均功率
+     */
+    private BigDecimal npjgl;
+
+    /**
+     * 年平均风速
+     */
+    private BigDecimal npjfs;
+
+    /**
+     * 年发电量
+     */
+    private BigDecimal nfdl;
+
+    /**
+     * 年可用电量
+     */
+    private BigDecimal nkydl;
+
+    /**
+     * 年理论发电量
+     */
+    private BigDecimal nllfdl;
+
+    /**
+     * 年故障损失电量
+     */
+    private BigDecimal ngzssdl;
+
+    /**
+     * 年场内受累故障损失电量
+     */
+    private BigDecimal ncnslgzssdl;
+
+    /**
+     * 年检修损失电量
+     */
+    private BigDecimal njxssdl;
+
+    /**
+     * 年场内受累检修损失电量
+     */
+    private BigDecimal ncnsljxssdl;
+
+    /**
+     * 年待机损失电量
+     */
+    private BigDecimal ndjssdl;
+
+    /**
+     * 年缺陷降出力损失电量
+     */
+    private BigDecimal nqxjclssdl;
+
+    /**
+     * 年手动停机损失电量
+     */
+    private BigDecimal nsdtjssdl;
+
+    /**
+     * 年性能损失电量
+     */
+    private BigDecimal nxnssdl;
+
+    /**
+     * 年限电停机损失电量
+     */
+    private BigDecimal nxdtjssdl;
+
+    /**
+     * 年限电降出力损失电量
+     */
+    private BigDecimal nxdjclssdl;
+
+    /**
+     * 年场外受累电网损失电量
+     */
+    private BigDecimal ncwsldwssdl;
+
+    /**
+     * 年场外受累天气损失电量
+     */
+    private BigDecimal ncwsltqssdl;
+
+    /**
+     * 年增发电量
+     */
+    private BigDecimal nzfdl;
+
+    /**
+     * 年欠发电量
+     */
+    private BigDecimal nqfdl;
+
+    /**
+     * 日自耗电
+     */
+    private BigDecimal rzhd;
+
+    /**
+     * 月自耗电
+     */
+    private BigDecimal yzhd;
+
+    /**
+     * 年自耗电
+     */
+    private BigDecimal nzhd;
+
+
+}

+ 369 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProEconPowerstationInfoDay2.java

@@ -0,0 +1,369 @@
+package com.gyee.generation.model.auto;
+
+import java.math.BigDecimal;
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import java.time.LocalDate;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * <p>
+ * 场站五损时间
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-01
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class ProEconPowerstationInfoDay2 extends Model {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 编号
+     */
+    private String id;
+
+    /**
+     * 外键编号
+     */
+    private String foreignkeyid;
+
+    /**
+     * 日期
+     */
+    private LocalDate recorddate;
+
+    /**
+     * 类型
+     */
+    private String type;
+
+    /**
+     * 风场编号
+     */
+    private String windpowerstationId;
+
+    /**
+     * 项目编号
+     */
+    private String projectId;
+
+    /**
+     * 线路编号
+     */
+    private String lineId;
+
+    /**
+     * 公司编号
+     */
+    private String companyId;
+
+    /**
+     * 区域编号
+     */
+    private String regionId;
+
+    /**
+     * 日合计故障小时(明细)
+     */
+    private BigDecimal rhjgzxsmx;
+
+    /**
+     * 日合计场内受累故障小时(明细)
+     */
+    private BigDecimal rhjcnslgzxsmx;
+
+    /**
+     * 日合计检修小时(明细)
+     */
+    private BigDecimal rhjjxxsmx;
+
+    /**
+     * 日合计场内受累检修小时(明细)
+     */
+    private BigDecimal rhjcnsljxxsmx;
+
+    /**
+     * 日合计待机小时(明细)
+     */
+    private BigDecimal rhjdjxsmx;
+
+    /**
+     * 日合计缺陷降出力小时(明细)
+     */
+    private BigDecimal rhjqxjclxsmx;
+
+    /**
+     * 日合计手动停机小时(明细)
+     */
+    private BigDecimal rhjsdtjxsmx;
+
+    /**
+     * 日合计性能小时(明细)
+     */
+    private BigDecimal rhjxnxsmx;
+
+    /**
+     * 日合计限电停机小时(明细)
+     */
+    private BigDecimal rhjxdtjxsmx;
+
+    /**
+     * 日合计限电降出力小时(明细)
+     */
+    private BigDecimal rhjxdjclxsmx;
+
+    /**
+     * 日合计场外受累电网小时(明细)
+     */
+    private BigDecimal rhjcwsldwxsmx;
+
+    /**
+     * 日合计场外受累天气小时(明细)
+     */
+    private BigDecimal rhjcwsltqxsmx;
+
+    /**
+     * 日合计离线小时(明细)
+     */
+    private BigDecimal rhjlxxsmx;
+
+    /**
+     * 日合计通讯中断小时(明细)
+     */
+    private BigDecimal rhjtxxsmx;
+
+    /**
+     * 日合计待机小时
+     */
+    private BigDecimal rhjdjxs;
+
+    /**
+     * 日合计故障停机小时
+     */
+    private BigDecimal rhjgztjxs;
+
+    /**
+     * 日合计通讯中断小时
+     */
+    private BigDecimal rhjtxzdxs;
+
+    /**
+     * 日合计维护停机小时
+     */
+    private BigDecimal rhjjxtjxs;
+
+    /**
+     * 日合计限电小时
+     */
+    private BigDecimal rhjxdxs;
+
+    /**
+     * 日合计运行小时
+     */
+    private BigDecimal rhjyxxs;
+
+    /**
+     * 月合计故障小时(明细)
+     */
+    private BigDecimal yhjgzxsmx;
+
+    /**
+     * 月合计场内受累故障小时(明细)
+     */
+    private BigDecimal yhjcnslgzxsmx;
+
+    /**
+     * 月合计检修小时(明细)
+     */
+    private BigDecimal yhjjxxsmx;
+
+    /**
+     * 月合计场内受累检修小时(明细)
+     */
+    private BigDecimal yhjcnsljxxsmx;
+
+    /**
+     * 月合计待机小时(明细)
+     */
+    private BigDecimal yhjdjxsmx;
+
+    /**
+     * 月合计缺陷降出力小时(明细)
+     */
+    private BigDecimal yhjqxjclxsmx;
+
+    /**
+     * 月合计手动停机小时(明细)
+     */
+    private BigDecimal yhjsdtjxsmx;
+
+    /**
+     * 月合计性能小时(明细)
+     */
+    private BigDecimal yhjxnxsmx;
+
+    /**
+     * 月合计限电停机小时(明细)
+     */
+    private BigDecimal yhjxdtjxsmx;
+
+    /**
+     * 月合计限电降出力小时(明细)
+     */
+    private BigDecimal yhjxdjclxsmx;
+
+    /**
+     * 月合计场外受累电网小时(明细)
+     */
+    private BigDecimal yhjcwsldwxsmx;
+
+    /**
+     * 月合计场外受累天气小时(明细)
+     */
+    private BigDecimal yhjcwsltqxsmx;
+
+    /**
+     * 月合计离线小时(明细)
+     */
+    private BigDecimal yhjlxxsmx;
+
+    /**
+     * 月合计通讯中断小时(明细)
+     */
+    private BigDecimal yhjtxxsmx;
+
+    /**
+     * 月合计待机小时
+     */
+    private BigDecimal yhjdjxs;
+
+    /**
+     * 月合计故障停机小时
+     */
+    private BigDecimal yhjgztjxs;
+
+    /**
+     * 月合计通讯中断小时
+     */
+    private BigDecimal yhjtxzdxs;
+
+    /**
+     * 月合计维护停机小时
+     */
+    private BigDecimal yhjjxtjxs;
+
+    /**
+     * 月合计限电小时
+     */
+    private BigDecimal yhjxdxs;
+
+    /**
+     * 月合计运行小时
+     */
+    private BigDecimal yhjyxxs;
+
+    /**
+     * 年合计故障小时(明细)
+     */
+    private BigDecimal nhjgzxsmx;
+
+    /**
+     * 年合计场内受累故障小时(明细)
+     */
+    private BigDecimal nhjcnslgzxsmx;
+
+    /**
+     * 年合计检修小时(明细)
+     */
+    private BigDecimal nhjjxxsmx;
+
+    /**
+     * 年合计场内受累检修小时(明细)
+     */
+    private BigDecimal nhjcnsljxxsmx;
+
+    /**
+     * 年合计待机小时(明细)
+     */
+    private BigDecimal nhjdjxsmx;
+
+    /**
+     * 年合计缺陷降出力小时(明细)
+     */
+    private BigDecimal nhjqxjclxsmx;
+
+    /**
+     * 年合计手动停机小时(明细)
+     */
+    private BigDecimal nhjsdtjxsmx;
+
+    /**
+     * 年合计性能小时(明细)
+     */
+    private BigDecimal nhjxnxsmx;
+
+    /**
+     * 年合计限电停机小时(明细)
+     */
+    private BigDecimal nhjxdtjxsmx;
+
+    /**
+     * 年合计限电降出力小时(明细)
+     */
+    private BigDecimal nhjxdjclxsmx;
+
+    /**
+     * 年合计场外受累电网小时(明细)
+     */
+    private BigDecimal nhjcwsldwxsmx;
+
+    /**
+     * 年合计场外受累天气小时(明细)
+     */
+    private BigDecimal nhjcwsltqxsmx;
+
+    /**
+     * 年合计离线小时(明细)
+     */
+    private BigDecimal nhjlxxsmx;
+
+    /**
+     * 年合计通讯中断小时(明细)
+     */
+    private BigDecimal nhjtxxsmx;
+
+    /**
+     * 年合计待机小时
+     */
+    private BigDecimal nhjdjxs;
+
+    /**
+     * 年合计故障停机小时
+     */
+    private BigDecimal nhjgztjxs;
+
+    /**
+     * 年合计通讯中断小时
+     */
+    private BigDecimal nhjtxzdxs;
+
+    /**
+     * 年合计维护停机小时
+     */
+    private BigDecimal nhjjxtjxs;
+
+    /**
+     * 年合计限电小时
+     */
+    private BigDecimal nhjxdxs;
+
+    /**
+     * 年合计运行小时
+     */
+    private BigDecimal nhjyxxs;
+
+
+}

+ 369 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProEconPowerstationInfoDay3.java

@@ -0,0 +1,369 @@
+package com.gyee.generation.model.auto;
+
+import java.math.BigDecimal;
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import java.time.LocalDate;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * <p>
+ * 场站五损次数
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-01
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class ProEconPowerstationInfoDay3 extends Model {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 编号
+     */
+    private String id;
+
+    /**
+     * 外键编号
+     */
+    private String foreignkeyid;
+
+    /**
+     * 日期
+     */
+    private LocalDate recorddate;
+
+    /**
+     * 类型
+     */
+    private String type;
+
+    /**
+     * 风场编号
+     */
+    private String windpowerstationId;
+
+    /**
+     * 项目编号
+     */
+    private String projectId;
+
+    /**
+     * 线路编号
+     */
+    private String lineId;
+
+    /**
+     * 公司编号
+     */
+    private String companyId;
+
+    /**
+     * 区域编号
+     */
+    private String regionId;
+
+    /**
+     * 日合计故障次数(明细)
+     */
+    private BigDecimal rhjgzcsmx;
+
+    /**
+     * 日合计场内受累故障次数(明细)
+     */
+    private BigDecimal rhjcnslgzcsmx;
+
+    /**
+     * 日合计检修次数(明细)
+     */
+    private BigDecimal rhjjxcsmx;
+
+    /**
+     * 日合计场内受累检修次数(明细)
+     */
+    private BigDecimal rhjcnsljxcsmx;
+
+    /**
+     * 日合计待机次数(明细)
+     */
+    private BigDecimal rhjdjcsmx;
+
+    /**
+     * 日合计缺陷降出力次数(明细)
+     */
+    private BigDecimal rhjqxjclcsmx;
+
+    /**
+     * 日合计手动停机次数(明细)
+     */
+    private BigDecimal rhjsdtjcsmx;
+
+    /**
+     * 日合计性能次数(明细)
+     */
+    private BigDecimal rhjxncsmx;
+
+    /**
+     * 日合计限电停机次数(明细)
+     */
+    private BigDecimal rhjxdtjcsmx;
+
+    /**
+     * 日合计限电降出力次数(明细)
+     */
+    private BigDecimal rhjxdjclcsmx;
+
+    /**
+     * 日合计场外受累电网次数(明细)
+     */
+    private BigDecimal rhjcwsldwcsmx;
+
+    /**
+     * 日合计场外受累天气次数(明细)
+     */
+    private BigDecimal rhjcwsltqcsmx;
+
+    /**
+     * 日合计离线次数(明细)
+     */
+    private BigDecimal rhjlxcsmx;
+
+    /**
+     * 日合计通讯中断次数(明细)
+     */
+    private BigDecimal rhjtxzdcsmx;
+
+    /**
+     * 日合计待机次数
+     */
+    private BigDecimal rhjdjcs;
+
+    /**
+     * 日合计故障停机次数
+     */
+    private BigDecimal rhjgztjcs;
+
+    /**
+     * 日合计通讯中断次数
+     */
+    private BigDecimal rhjtxzccs;
+
+    /**
+     * 日合计维护停机次数
+     */
+    private BigDecimal rhjwhtjcs;
+
+    /**
+     * 日合计限电次数
+     */
+    private BigDecimal rhjxdcs;
+
+    /**
+     * 日合计运行次数
+     */
+    private BigDecimal rhjyxcs;
+
+    /**
+     * 月合计故障次数(明细)
+     */
+    private BigDecimal yhjgzcsmx;
+
+    /**
+     * 月合计场内受累故障次数(明细)
+     */
+    private BigDecimal yhjcnslgzcsmx;
+
+    /**
+     * 月合计检修次数(明细)
+     */
+    private BigDecimal yhjjxcsmx;
+
+    /**
+     * 月合计场内受累检修次数(明细)
+     */
+    private BigDecimal yhjcnsljxcsmx;
+
+    /**
+     * 月合计待机次数(明细)
+     */
+    private BigDecimal yhjdjcsmx;
+
+    /**
+     * 月合计缺陷降出力次数(明细)
+     */
+    private BigDecimal yhjqxjclcsmx;
+
+    /**
+     * 月合计手动停机次数(明细)
+     */
+    private BigDecimal yhjsdtjcsmx;
+
+    /**
+     * 月合计性能次数(明细)
+     */
+    private BigDecimal yhjxncsmx;
+
+    /**
+     * 月合计限电停机次数(明细)
+     */
+    private BigDecimal yhjxdtjcsmx;
+
+    /**
+     * 月合计限电降出力次数(明细)
+     */
+    private BigDecimal yhjxdjclcsmx;
+
+    /**
+     * 月合计场外受累电网次数(明细)
+     */
+    private BigDecimal yhjcwsldwcsmx;
+
+    /**
+     * 月合计场外受累天气次数(明细)
+     */
+    private BigDecimal yhjcwsltqcsmx;
+
+    /**
+     * 月合计离线次数(明细)
+     */
+    private BigDecimal yhjlxcsmx;
+
+    /**
+     * 月合计通讯中断次数(明细)
+     */
+    private BigDecimal yhjtxzdcsmx;
+
+    /**
+     * 月合计待机次数
+     */
+    private BigDecimal yhjdjcs;
+
+    /**
+     * 月合计故障停机次数
+     */
+    private BigDecimal yhjgztjcs;
+
+    /**
+     * 月合计通讯中断次数
+     */
+    private BigDecimal yhjtxzccs;
+
+    /**
+     * 月合计维护停机次数
+     */
+    private BigDecimal yhjwhtjcs;
+
+    /**
+     * 月合计限电次数
+     */
+    private BigDecimal yhjxdcs;
+
+    /**
+     * 月合计运行次数
+     */
+    private BigDecimal yhjyxcs;
+
+    /**
+     * 年合计故障次数(明细)
+     */
+    private BigDecimal nhjgzcsmx;
+
+    /**
+     * 年合计场内受累故障次数(明细)
+     */
+    private BigDecimal nhjcnslgzcsmx;
+
+    /**
+     * 年合计检修次数(明细)
+     */
+    private BigDecimal nhjjxcsmx;
+
+    /**
+     * 年合计场内受累检修次数(明细)
+     */
+    private BigDecimal nhjcnsljxcsmx;
+
+    /**
+     * 年合计待机次数(明细)
+     */
+    private BigDecimal nhjdjcsmx;
+
+    /**
+     * 年合计缺陷降出力次数(明细)
+     */
+    private BigDecimal nhjqxjclcsmx;
+
+    /**
+     * 年合计手动停机次数(明细)
+     */
+    private BigDecimal nhjsdtjcsmx;
+
+    /**
+     * 年合计性能次数(明细)
+     */
+    private BigDecimal nhjxncsmx;
+
+    /**
+     * 年合计限电停机次数(明细)
+     */
+    private BigDecimal nhjxdtjcsmx;
+
+    /**
+     * 年合计限电降出力次数(明细)
+     */
+    private BigDecimal nhjxdjclcsmx;
+
+    /**
+     * 年合计场外受累电网次数(明细)
+     */
+    private BigDecimal nhjcwsldwcsmx;
+
+    /**
+     * 年合计场外受累天气次数(明细)
+     */
+    private BigDecimal nhjcwsltqcsmx;
+
+    /**
+     * 年合计离线次数(明细)
+     */
+    private BigDecimal nhjlxcsmx;
+
+    /**
+     * 年合计通讯中断次数(明细)
+     */
+    private BigDecimal nhjtxzdcsmx;
+
+    /**
+     * 年合计待机次数
+     */
+    private BigDecimal nhjdjcs;
+
+    /**
+     * 年合计故障停机次数
+     */
+    private BigDecimal nhjgztjcs;
+
+    /**
+     * 年合计通讯中断次数
+     */
+    private BigDecimal nhjtxzccs;
+
+    /**
+     * 年合计维护停机次数
+     */
+    private BigDecimal nhjwhtjcs;
+
+    /**
+     * 年合计限电次数
+     */
+    private BigDecimal nhjxdcs;
+
+    /**
+     * 年合计运行次数
+     */
+    private BigDecimal nhjyxcs;
+
+
+}

+ 159 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProEconPowerstationInfoDay4.java

@@ -0,0 +1,159 @@
+package com.gyee.generation.model.auto;
+
+import java.math.BigDecimal;
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import java.time.LocalDate;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * <p>
+ * 场站三率mtbf
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-01
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class ProEconPowerstationInfoDay4 extends Model {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 编号
+     */
+    private String id;
+
+    /**
+     * 外键编号
+     */
+    private String foreignkeyid;
+
+    /**
+     * 日期
+     */
+    private LocalDate recorddate;
+
+    /**
+     * 类型
+     */
+    private String type;
+
+    /**
+     * 风场编号
+     */
+    private String windpowerstationId;
+
+    /**
+     * 项目编号
+     */
+    private String projectId;
+
+    /**
+     * 线路编号
+     */
+    private String lineId;
+
+    /**
+     * 公司编号
+     */
+    private String companyId;
+
+    /**
+     * 区域编号
+     */
+    private String regionId;
+
+    /**
+     * 日MTBF
+     */
+    private BigDecimal rmtbf;
+
+    /**
+     * 日MTTR
+     */
+    private BigDecimal rmttr;
+
+    /**
+     * 日MTTF
+     */
+    private BigDecimal rmttf;
+
+    /**
+     * 日复位及时率
+     */
+    private BigDecimal rfwjsl;
+
+    /**
+     * 日状态转换及时率
+     */
+    private BigDecimal rztzhjsl;
+
+    /**
+     * 日故障消缺及时率
+     */
+    private BigDecimal rgzxqjsl;
+
+    /**
+     * 月MTBF
+     */
+    private BigDecimal ymtbf;
+
+    /**
+     * 月MTTR
+     */
+    private BigDecimal ymttr;
+
+    /**
+     * 月MTTF
+     */
+    private BigDecimal ymttf;
+
+    /**
+     * 月复位及时率
+     */
+    private BigDecimal yfwjsl;
+
+    /**
+     * 月状态转换及时率
+     */
+    private BigDecimal yztzhjsl;
+
+    /**
+     * 月故障消缺及时率
+     */
+    private BigDecimal ygzxqjsl;
+
+    /**
+     * 年MTBF
+     */
+    private BigDecimal nmtbf;
+
+    /**
+     * 年MTTR
+     */
+    private BigDecimal nmttr;
+
+    /**
+     * 年MTTF
+     */
+    private BigDecimal nmttf;
+
+    /**
+     * 年复位及时率
+     */
+    private BigDecimal nfwjsl;
+
+    /**
+     * 年状态转换及时率
+     */
+    private BigDecimal nztzhjsl;
+
+    /**
+     * 年故障消缺及时率
+     */
+    private BigDecimal ngzxqjsl;
+
+
+}

+ 159 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProEconPowerstationInfoDay5.java

@@ -0,0 +1,159 @@
+package com.gyee.generation.model.auto;
+
+import java.math.BigDecimal;
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import java.time.LocalDate;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * <p>
+ * 电表发电量
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-01
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class ProEconPowerstationInfoDay5 extends Model {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 编号
+     */
+    private String id;
+
+    /**
+     * 外键编号
+     */
+    private String foreignkeyid;
+
+    /**
+     * 日期
+     */
+    private LocalDate recorddate;
+
+    /**
+     * 类型
+     */
+    private String type;
+
+    /**
+     * 风场编号
+     */
+    private String windpowerstationId;
+
+    /**
+     * 项目编号
+     */
+    private String projectId;
+
+    /**
+     * 线路编号
+     */
+    private String lineId;
+
+    /**
+     * 公司编号
+     */
+    private String companyId;
+
+    /**
+     * 区域编号
+     */
+    private String regionId;
+
+    /**
+     * 日发电量(电表)
+     */
+    private BigDecimal rfdldb;
+
+    /**
+     * 日上网电量(电表)
+     */
+    private BigDecimal rswdldb;
+
+    /**
+     * 日工网购网电量(电表)
+     */
+    private BigDecimal rgwgwdldb;
+
+    /**
+     * 日农网购网电量(电表)
+     */
+    private BigDecimal rnwgwdldb;
+
+    /**
+     * 日综合场用电量(电表)
+     */
+    private BigDecimal rzhcydldb;
+
+    /**
+     * 日发电厂用电量(电表)
+     */
+    private BigDecimal rfdcydldb;
+
+    /**
+     * 月发电量(电表)
+     */
+    private BigDecimal yfdldb;
+
+    /**
+     * 月上网电量(电表)
+     */
+    private BigDecimal yswdldb;
+
+    /**
+     * 月工网购网电量(电表)
+     */
+    private BigDecimal ygwgwdldb;
+
+    /**
+     * 月农网购网电量(电表)
+     */
+    private BigDecimal ynwgwdldb;
+
+    /**
+     * 月综合场用电量(电表)
+     */
+    private BigDecimal yzhcydldb;
+
+    /**
+     * 月发电厂用电量(电表)
+     */
+    private BigDecimal yfdcydldb;
+
+    /**
+     * 年发电量(电表)
+     */
+    private BigDecimal nfdldb;
+
+    /**
+     * 年上网电量(电表)
+     */
+    private BigDecimal nswdldb;
+
+    /**
+     * 年工网购网电量(电表)
+     */
+    private BigDecimal ngwgwdldb;
+
+    /**
+     * 年农网购网电量(电表)
+     */
+    private BigDecimal nnwgwdldb;
+
+    /**
+     * 年综合场用电量(电表)
+     */
+    private BigDecimal nzhcydldb;
+
+    /**
+     * 年发电厂用电量(电表)
+     */
+    private BigDecimal nfdcydldb;
+
+
+}

+ 159 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProEconPowerstationInfoDay6.java

@@ -0,0 +1,159 @@
+package com.gyee.generation.model.auto;
+
+import java.math.BigDecimal;
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import java.time.LocalDate;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * <p>
+ * 测风塔出线功率
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-01
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class ProEconPowerstationInfoDay6 extends Model {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 编号
+     */
+    private String id;
+
+    /**
+     * 外键编号
+     */
+    private String foreignkeyid;
+
+    /**
+     * 日期
+     */
+    private LocalDate recorddate;
+
+    /**
+     * 类型
+     */
+    private String type;
+
+    /**
+     * 风场编号
+     */
+    private String windpowerstationId;
+
+    /**
+     * 项目编号
+     */
+    private String projectId;
+
+    /**
+     * 线路编号
+     */
+    private String lineId;
+
+    /**
+     * 公司编号
+     */
+    private String companyId;
+
+    /**
+     * 区域编号
+     */
+    private String regionId;
+
+    /**
+     * 日最大风速(测风塔)
+     */
+    private BigDecimal rzdfscft;
+
+    /**
+     * 日最小风速(测风塔)
+     */
+    private BigDecimal rzxfdcft;
+
+    /**
+     * 日最大功率(出线)
+     */
+    private BigDecimal rzdglcx;
+
+    /**
+     * 日最小功率(出线)
+     */
+    private BigDecimal rzxglcx;
+
+    /**
+     * 日平均功率(出线)
+     */
+    private BigDecimal rpjglcx;
+
+    /**
+     * 日平均风速(测风塔)
+     */
+    private BigDecimal rpjfscft;
+
+    /**
+     * 月最大风速(测风塔)
+     */
+    private BigDecimal yzdfscft;
+
+    /**
+     * 月最小风速(测风塔)
+     */
+    private BigDecimal yzxfdcft;
+
+    /**
+     * 月最大功率(出线)
+     */
+    private BigDecimal yzdglcx;
+
+    /**
+     * 月最小功率(出线)
+     */
+    private BigDecimal yzxglcx;
+
+    /**
+     * 月平均功率(出线)
+     */
+    private BigDecimal ypjglcx;
+
+    /**
+     * 月平均风速(测风塔)
+     */
+    private BigDecimal ypjfscft;
+
+    /**
+     * 年最大风速(测风塔)
+     */
+    private BigDecimal nzdfscft;
+
+    /**
+     * 年最小风速(测风塔)
+     */
+    private BigDecimal nzxfdcft;
+
+    /**
+     * 年最大功率(出线)
+     */
+    private BigDecimal nzdglcx;
+
+    /**
+     * 年最小功率(出线)
+     */
+    private BigDecimal nzxglcx;
+
+    /**
+     * 年平均功率(出线)
+     */
+    private BigDecimal npjglcx;
+
+    /**
+     * 年平均风速(测风塔)
+     */
+    private BigDecimal npjfscft;
+
+
+}

+ 114 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProEconPowerstationInfoDay7.java

@@ -0,0 +1,114 @@
+package com.gyee.generation.model.auto;
+
+import java.math.BigDecimal;
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import java.time.LocalDate;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * <p>
+ * 离散率系统效率
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-01
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class ProEconPowerstationInfoDay7 extends Model {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 编号
+     */
+    private String id;
+
+    /**
+     * 外键编号
+     */
+    private String foreignkeyid;
+
+    /**
+     * 日期
+     */
+    private LocalDate recorddate;
+
+    /**
+     * 类型
+     */
+    private String type;
+
+    /**
+     * 风场编号
+     */
+    private String windpowerstationId;
+
+    /**
+     * 项目编号
+     */
+    private String projectId;
+
+    /**
+     * 线路编号
+     */
+    private String lineId;
+
+    /**
+     * 公司编号
+     */
+    private String companyId;
+
+    /**
+     * 区域编号
+     */
+    private String regionId;
+
+    /**
+     * 日系统效率(PR)
+     */
+    private BigDecimal rxtxlpr;
+
+    /**
+     * 日离散率
+     */
+    private BigDecimal rlsl;
+
+    /**
+     * 日逆变器转换效率
+     */
+    private BigDecimal rnbqzhxl;
+
+    /**
+     * 月系统效率(PR)
+     */
+    private BigDecimal yxtxlpr;
+
+    /**
+     * 月离散率
+     */
+    private BigDecimal ylsl;
+
+    /**
+     * 月逆变器转换效率
+     */
+    private BigDecimal ynbqzhxl;
+
+    /**
+     * 年系统效率(PR)
+     */
+    private BigDecimal nxtxlpr;
+
+    /**
+     * 年离散率
+     */
+    private BigDecimal nlsl;
+
+    /**
+     * 年逆变器转换效率
+     */
+    private BigDecimal nnbqzhxl;
+
+
+}

+ 30 - 1
realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProEconTestingPoint.java

@@ -1,5 +1,6 @@
 package com.gyee.generation.model.auto;
 
+import java.math.BigDecimal;
 import com.baomidou.mybatisplus.extension.activerecord.Model;
 import lombok.Data;
 import lombok.EqualsAndHashCode;
@@ -10,7 +11,7 @@ import lombok.EqualsAndHashCode;
  * </p>
  *
  * @author shilin
- * @since 2022-10-24
+ * @since 2022-10-31
  */
 @Data
 @EqualsAndHashCode(callSuper = true)
@@ -78,7 +79,35 @@ public class ProEconTestingPoint extends Model {
      */
     private String uniformCode;
 
+    /**
+     * 部件编号
+     */
     private String logicalUnitId;
 
+    /**
+     * 是否显示
+     */
+    private Integer isDisplay;
+
+    /**
+     * 备用1
+     */
+    private String spare1;
+
+    /**
+     * 备用2
+     */
+    private String spare2;
+
+    /**
+     * 备用3
+     */
+    private String spare3;
+
+    /**
+     * 备用4
+     */
+    private String spare4;
+
 
 }

+ 0 - 479
realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProEconWindpowerInfoDay.java

@@ -1,479 +0,0 @@
-package com.gyee.generation.model.auto;
-
-
-import com.baomidou.mybatisplus.extension.activerecord.Model;
-import java.util.Date;
-import lombok.Data;
-import lombok.EqualsAndHashCode;
-
-/**
- * <p>
- * 风场日信息表
- * </p>
- *
- * @author shilin
- * @since 2022-10-21
- */
-@Data
-@EqualsAndHashCode(callSuper = true)
-public class ProEconWindpowerInfoDay extends Model {
-
-    private static final long serialVersionUID = 1L;
-
-    /**
-     * 编号
-     */
-    private Integer id;
-
-    /**
-     * 外键编号
-     */
-    private String foreignKeyId;
-
-    /**
-     * 运行小时
-     */
-    private Double runHours;
-
-    /**
-     * 停机小时
-     */
-    private Double stopHours;
-
-    /**
-     * 故障小时
-     */
-    private Double faulthours;
-
-    /**
-     * 维护小时
-     */
-    private Double maintainHours;
-
-    /**
-     * 通讯中断小时
-     */
-    private Double interruptHours;
-
-    /**
-     * 发电量
-     */
-    private Double generatingcapacity;
-
-    /**
-     * 风速
-     */
-    private Double speed;
-
-    /**
-     * 功率
-     */
-    private Double power;
-
-    /**
-     * 日期
-     */
-    private Date recordDate;
-
-    /**
-     * 上网电量
-     */
-    private Double gridelectricity;
-
-    /**
-     * 工网购网电量
-     */
-    private Double buyelectricity;
-
-    /**
-     * 场内停机
-     */
-    private Double inStop;
-
-    /**
-     * 场外停机
-     */
-    private Double outStop;
-
-    /**
-     * 运行时间(计算过)
-     */
-    private Double runTime;
-
-    /**
-     * 停机时间(计算过)
-     */
-    private Double stopTime;
-
-    /**
-     * 故障时间(计算过)
-     */
-    private Double faultTime;
-
-    /**
-     * 维护时间(计算过)
-     */
-    private Double maintainTime;
-
-    /**
-     * 通讯中断时间(计算过)
-     */
-    private Double interruptTime;
-
-    /**
-     * 月发电量
-     */
-    private Double monthGc;
-
-    /**
-     * 年发电量
-     */
-    private Double yearGc;
-
-    /**
-     * 理论发电量
-     */
-    private Double theorygeneration;
-
-    /**
-     * 损失发电量
-     */
-    private Double lossOfPower;
-
-    /**
-     * 场用电量
-     */
-    private Double fieldelectricity;
-
-    /**
-     * 发电量(电表)
-     */
-    private Double generatingcapacity2;
-
-    /**
-     * 风场编号
-     */
-    private String windpowerstationId;
-
-    /**
-     * 项目编号
-     */
-    private String projectId;
-
-    /**
-     * 线路编号
-     */
-    private String lineId;
-
-    /**
-     * 所属位置
-     */
-    private String location;
-
-    /**
-     * 农网购网电量
-     */
-    private Double buyagricultureelectricity;
-
-    /**
-     * 月发电量(电表)
-     */
-    private Double monthGc2;
-
-    /**
-     * 年发电量(电表)
-     */
-    private Double yearGc2;
-
-    /**
-     * 风速(测风塔)
-     */
-    private Double speed2;
-
-    /**
-     * 限电量
-     */
-    private Double limitPower;
-
-    /**
-     * 最大风速(日照强度)
-     */
-    private Double maxSpeed;
-
-    /**
-     * 最小风速
-     */
-    private Double minSpeed;
-
-    /**
-     * 限电损失电量
-     */
-    private Double lossOfPower1;
-
-    /**
-     * 故障损失电量
-     */
-    private Double lossOfPower2;
-
-    /**
-     * 维护损失电量
-     */
-    private Double lossOfPower3;
-
-    /**
-     * 自算理论发电量
-     */
-    private Double theorygenerationzs;
-
-    /**
-     * 有效风时数
-     */
-    private Double windHours;
-
-    /**
-     * 最大功率
-     */
-    private Double maxPower;
-
-    /**
-     * 最小功率
-     */
-    private Double minPower;
-
-    /**
-     * 月上网电量
-     */
-    private Double monthge;
-
-    /**
-     * 年上网电量
-     */
-    private Double yearge;
-
-    /**
-     * 月工网购网电量
-     */
-    private Double monthbe;
-
-    /**
-     * 年工网购网电量
-     */
-    private Double yearbe;
-
-    /**
-     * 月农网购网电量
-     */
-    private Double monthae;
-
-    /**
-     * 年农网购网电量
-     */
-    private Double yearae;
-
-    /**
-     * 日发电量(4位小数)
-     */
-    private Double generatingcapacity4;
-
-    /**
-     * 日上网电量(4位小数)
-     */
-    private Double gridelectricity4;
-
-    /**
-     * 日工网购网电量(4位小数)
-     */
-    private Double buyelectricity4;
-
-    /**
-     * 日农网购网电量(4位小数)
-     */
-    private Double buyagricultureelectricity4;
-
-    /**
-     * 日利用小时数
-     */
-    private Double daylyxs;
-
-    /**
-     * 月利用小时数
-     */
-    private Double monthlyxs;
-
-    /**
-     * 年利用小时数
-     */
-    private Double yearlyxs;
-
-    /**
-     * 日综合厂用电率
-     */
-    private Double dayzhcydl;
-
-    /**
-     * 月综合厂用电率
-     */
-    private Double monthzhcydl;
-
-    /**
-     * 年综合厂用电率
-     */
-    private Double yearzhcydl;
-
-    /**
-     * 日设备可利用率
-     */
-    private Double daysbklyl;
-
-    /**
-     * 月设备可利用率
-     */
-    private Double monthsbklyl;
-
-    /**
-     * 年设备可利用率
-     */
-    private Double yearsbklyl;
-
-    /**
-     * 日等效可用系数
-     */
-    private Double daydxkyxs;
-
-    /**
-     * 月等效可用系数
-     */
-    private Double monthdxkyxs;
-
-    /**
-     * 年等效可用系数
-     */
-    private Double yeardxkyxs;
-
-    /**
-     * 月平均风速
-     */
-    private Double monthSpeed;
-
-    /**
-     * 年平均风速
-     */
-    private Double yearSpeed;
-
-    /**
-     * 运行时间(计算过)月
-     */
-    private Double monthRunTime;
-
-    /**
-     * 停机时间(计算过)月
-     */
-    private Double monhtStopTime;
-
-    /**
-     * 故障时间(计算过)月
-     */
-    private Double monthFaultTime;
-
-    /**
-     * 维护时间(计算过)月
-     */
-    private Double monthMaintainTime;
-
-    /**
-     * 通讯中断时间(计算过)月
-     */
-    private Double monthInterruptTime;
-
-    /**
-     * 运行时间(计算过)年
-     */
-    private Double yearRunTime;
-
-    /**
-     * 停机时间(计算过)年
-     */
-    private Double yearStopTime;
-
-    /**
-     * 故障时间(计算过)年
-     */
-    private Double yearFaultTime;
-
-    /**
-     * 维护时间(计算过)年
-     */
-    private Double yearMaintainTime;
-
-    /**
-     * 通讯中断时间(计算过)年
-     */
-    private Double yearInterruptTime;
-
-    /**
-     * 不饱和电量
-     */
-    private Double lossOfPower4;
-
-    /**
-     * 月有效风时数
-     */
-    private Double monthWindHours;
-
-    /**
-     * 年有效风时数
-     */
-    private Double yearWindHours;
-
-    /**
-     * 日日历小时数
-     */
-    private Double dayCalendarHours;
-
-    /**
-     * 月日历小时书
-     */
-    private Double monthCalendarHours;
-
-    /**
-     * 年日历小时数
-     */
-    private Double yearCalendarHours;
-
-    /**
-     * 日限电小时数
-     */
-    private Double brownoutsTime;
-
-    /**
-     * 月限电小时数
-     */
-    private Double monthBrownoutsTime;
-
-    /**
-     * 年限电小时数
-     */
-    private Double yearBrownoutsTime;
-
-    /**
-     * 场内受累检修
-     */
-    private Double mainLossIn;
-
-    /**
-     * 场内受累故障
-     */
-    private Double faultLossIn;
-
-    /**
-     * 场外受累电网
-     */
-    private Double electricLossOut;
-
-    /**
-     * 场外受累天气
-     */
-    private Double weatherLossOut;
-
-
-}

+ 32 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProEconWindpowerStandardPoint.java

@@ -0,0 +1,32 @@
+package com.gyee.generation.model.auto;
+
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * <p>
+ * 
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-10-31
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class ProEconWindpowerStandardPoint extends Model {
+
+    private static final long serialVersionUID = 1L;
+
+    private String id;
+
+    private String code;
+
+    private String name;
+
+    private String uniformcode;
+
+    private String ordernum;
+
+    private String types;
+}

+ 0 - 399
realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProEconWindturbineInfoDay.java

@@ -1,399 +0,0 @@
-package com.gyee.generation.model.auto;
-
-
-import com.baomidou.mybatisplus.extension.activerecord.Model;
-import java.util.Date;
-import lombok.Data;
-import lombok.EqualsAndHashCode;
-
-/**
- * <p>
- * 风机日信息表
- * </p>
- *
- * @author shilin
- * @since 2022-10-21
- */
-@Data
-@EqualsAndHashCode(callSuper = true)
-public class ProEconWindturbineInfoDay extends Model {
-
-    private static final long serialVersionUID = 1L;
-
-    /**
-     * 编号
-     */
-    private Integer id;
-
-    /**
-     * 风机编号
-     */
-    private String windturbineId;
-
-    /**
-     * 运行小时
-     */
-    private Double runHours;
-
-    /**
-     * 停机小时
-     */
-    private Double stopHours;
-
-    /**
-     * 故障小时
-     */
-    private Double faultHours;
-
-    /**
-     * 维护小时
-     */
-    private Double maintainHours;
-
-    /**
-     * 通讯中断小时
-     */
-    private Double interruptHours;
-
-    /**
-     * 发电量
-     */
-    private Double generatingcapacity;
-
-    /**
-     * 平均风速(累计日照强度)
-     */
-    private Double speed;
-
-    /**
-     * 功率
-     */
-    private Double power;
-
-    /**
-     * 日期
-     */
-    private Date recordDate;
-
-    /**
-     * 上网电量
-     */
-    private Double gridelectricity;
-
-    /**
-     * 购网电量
-     */
-    private Double buyelectricity;
-
-    /**
-     * 场内停机
-     */
-    private Double inStop;
-
-    /**
-     * 场外停机
-     */
-    private Double outStop;
-
-    /**
-     * 运行时间(计算过)
-     */
-    private Double runTime;
-
-    /**
-     * 停机时间(计算过)
-     */
-    private Double stopTime;
-
-    /**
-     * 故障时间(计算过)
-     */
-    private Double faultTime;
-
-    /**
-     * 维护时间(计算过)
-     */
-    private Double maintainTime;
-
-    /**
-     * 通讯中断时间(计算过)
-     */
-    private Double interruptTime;
-
-    /**
-     * 月发电量
-     */
-    private Double monthgc;
-
-    /**
-     * 年发电量
-     */
-    private Double yeargc;
-
-    /**
-     * 理论发电量
-     */
-    private Double theorygeneration;
-
-    /**
-     * 损失发电量
-     */
-    private Double lossOfPower;
-
-    /**
-     * 场用电量
-     */
-    private Double fieldelectricity;
-
-    /**
-     * 发电量(电表)
-     */
-    private Double generatingcapacity2;
-
-    /**
-     * 风场编号
-     */
-    private String windpowerstationId;
-
-    /**
-     * 项目编号
-     */
-    private String projectId;
-
-    /**
-     * 线路编号
-     */
-    private String lineId;
-
-    /**
-     * 最大风速(日照强度)
-     */
-    private Double maxSpeed;
-
-    /**
-     * 最小风速
-     */
-    private Double minSpeed;
-
-    /**
-     * 限电损失电量
-     */
-    private Double lossOfPower1;
-
-    /**
-     * 故障损失电量
-     */
-    private Double lossOfPower2;
-
-    /**
-     * 维护损失电量
-     */
-    private Double lossOfPower3;
-
-    /**
-     * 自算理论发电量
-     */
-    private Double theorygenerationzs;
-
-    /**
-     * 有效风时数
-     */
-    private Double windHours;
-
-    /**
-     * 最大功率
-     */
-    private Double maxPower;
-
-    /**
-     * 最小功率
-     */
-    private Double minPower;
-
-    /**
-     * 运行时间(计算过)月
-     */
-    private Double monthRunTime;
-
-    /**
-     * 停机时间(计算过)月
-     */
-    private Double monhtStopTime;
-
-    /**
-     * 故障时间(计算过)月
-     */
-    private Double monthFaultTime;
-
-    /**
-     * 维护时间(计算过)月
-     */
-    private Double monthMaintainTime;
-
-    /**
-     * 通讯中断时间(计算过)月
-     */
-    private Double monthInterruptTime;
-
-    /**
-     * 运行时间(计算过)年
-     */
-    private Double yearRunTime;
-
-    /**
-     * 停机时间(计算过)年
-     */
-    private Double yearStopTime;
-
-    /**
-     * 故障时间(计算过)年
-     */
-    private Double yearFaultTime;
-
-    /**
-     * 维护时间(计算过)年
-     */
-    private Double yearMaintainTime;
-
-    /**
-     * 通讯中断时间(计算过)年
-     */
-    private Double yearInterruptTime;
-
-    /**
-     * 月平均风速
-     */
-    private Double monthSpeed;
-
-    /**
-     * 年平均风速
-     */
-    private Double yearSpeed;
-
-    /**
-     * 不饱和电量
-     */
-    private Double lossOfPower4;
-
-    /**
-     * 日利用小时数
-     */
-    private Double daylyxs;
-
-    /**
-     * 月利用小时数
-     */
-    private Double monthlyxs;
-
-    /**
-     * 年利用小时数
-     */
-    private Double yearlyxs;
-
-    /**
-     * 日综合厂用电率
-     */
-    private Double dayzhcydl;
-
-    /**
-     * 月综合厂用电率
-     */
-    private Double monthzhcydl;
-
-    /**
-     * 年综合厂用电率
-     */
-    private Double yearzhcydl;
-
-    /**
-     * 日设备可利用率
-     */
-    private Double daysbklyl;
-
-    /**
-     * 月设备可利用率
-     */
-    private Double monthsbklyl;
-
-    /**
-     * 年设备可利用率
-     */
-    private Double yearsbklyl;
-
-    /**
-     * 日等效可用系数
-     */
-    private Double daydxkyxs;
-
-    /**
-     * 月等效可用系数
-     */
-    private Double monthdxkyxs;
-
-    /**
-     * 年等效可用系数
-     */
-    private Double yeardxkyxs;
-
-    /**
-     * 月有效风时数
-     */
-    private Double monthWindHours;
-
-    /**
-     * 年有效风时数
-     */
-    private Double yearWindHours;
-
-    /**
-     * 日日历小时数
-     */
-    private Double dayCalendarHours;
-
-    /**
-     * 月日历小时书
-     */
-    private Double monthCalendarHours;
-
-    /**
-     * 年日历小时数
-     */
-    private Double yearCalendarHours;
-
-    /**
-     * 日限电小时数
-     */
-    private Double brownoutsTime;
-
-    /**
-     * 月限电小时数
-     */
-    private Double monthBrownoutsTime;
-
-    /**
-     * 年限电小时数
-     */
-    private Double yearBrownoutsTime;
-
-    /**
-     * 场内受累检修
-     */
-    private Double mainLossIn;
-
-    /**
-     * 场内受累故障
-     */
-    private Double faultLossIn;
-
-    /**
-     * 场外受累电网
-     */
-    private Double electricLossOut;
-
-    /**
-     * 场外受累天气
-     */
-    private Double weatherLossOut;
-
-
-}

+ 34 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/model/auto/ProEconWindturbineStandardPoint.java

@@ -0,0 +1,34 @@
+package com.gyee.generation.model.auto;
+
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * <p>
+ * 
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-10-31
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class ProEconWindturbineStandardPoint extends Model {
+
+    private static final long serialVersionUID = 1L;
+
+    private String id;
+
+    private String code;
+
+    private String name;
+
+    private String uniformcode;
+
+    private String ordernum;
+
+    private String types;
+
+
+}

+ 1 - 1
realtime/generationXK-service/src/main/java/com/gyee/generation/model/vo/CureFitting.java

@@ -5,7 +5,7 @@ import lombok.Data;
 import java.util.List;
 
 @Data
-public class CureFitting {
+public class CureFittingVo {
 
 
     private String pointIdGL;

+ 834 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/model/vo/ElectricityVo.java

@@ -0,0 +1,834 @@
+package com.gyee.generation.model.vo;
+
+
+import lombok.AllArgsConstructor;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+@Data
+@NoArgsConstructor
+@AllArgsConstructor
+public class ElectricityVo {
+
+    private String Id;
+    private String windpowerId;
+    private String projectId;
+    private String lineId;
+    private String location;
+
+    /// <summary>
+    /// 实时欠发状态(理论)
+    /// </summary>
+    private Double llrssqfzt;
+    /// <summary>
+    /// 实时欠发状态(保证)
+    /// </summary>
+    private Double bzrssqfzt;
+    /// <summary>
+    /// 实时欠发状态(自算)
+    /// </summary>
+    private Double zsrssqfzt;
+    /// <summary>
+    /// 实时欠发状态(最优)
+    /// </summary>
+    private Double zyrssqfzt;
+
+    /// <summary>
+    /// 历史欠发状态(理论)
+    /// </summary>
+    private Double llrllqfzt;
+    private Double llr0qfzt;
+    private Double llr1qfzt;
+    private Double llr2qfzt;
+    private Double llr3qfzt;
+    private Double llr4qfzt;
+    /// <summary>
+    /// 历史欠发状态(保证)
+    /// </summary>
+    private Double bzrllqfzt;
+    private Double bzr0qfzt;
+    private Double bzr1qfzt;
+    private Double bzr2qfzt;
+    private Double bzr3qfzt;
+    private Double bzr4qfzt;
+    /// <summary>
+    /// 历史欠发状态(自算)
+    /// </summary>
+    private Double zsrllqfzt;
+    private Double zsr0qfzt;
+    private Double zsr1qfzt;
+    private Double zsr2qfzt;
+    private Double zsr3qfzt;
+    private Double zsr4qfzt;
+    /// <summary>
+    /// 历史欠发状态(最优)
+    /// </summary>
+    private Double zyrllqfzt;
+    private Double zyr0qfzt;
+    private Double zyr1qfzt;
+    private Double zyr2qfzt;
+    private Double zyr3qfzt;
+    private Double zyr4qfzt;
+
+    /// <summary>
+    /// 日发电量
+    /// </summary>
+    private Double rfdl;
+    /// <summary>
+    /// 月发电量
+    /// </summary>
+    private Double yfdl;
+    /// <summary>
+    /// 年发电量
+    /// </summary>
+    private Double nfdl;
+    /// <summary>
+    /// 日理论发电量
+    /// </summary>
+    private Double rllfdl;
+    /// <summary>
+    /// 月理论发电量
+    /// </summary>
+    private Double yllfdl;
+    /// <summary>
+    /// 年理论发电量
+    /// </summary>
+    private Double nllfdl;
+
+
+
+    /// <summary>
+    /// 日待机损失电量(理论)
+    /// </summary>
+    private Double rlldjfdl;
+    /// <summary>
+    /// 月待机损失电量(理论)
+    /// </summary>
+    private Double ylldjfdl;
+    /// <summary>
+    /// 年待机损失电量(理论)
+    /// </summary>
+    private Double nlldjfdl;
+    /// <summary>
+    /// 日手动停机损失电量(理论)
+    /// </summary>
+    private Double rllstfdl;
+    /// <summary>
+    /// 月手动停机损失电量(理论)
+    /// </summary>
+    private Double yllstfdl;
+    /// <summary>
+    /// 年手动停机损失电量(理论)
+    /// </summary>
+    private Double nllstfdl;
+    /// <summary>
+    /// 日性能损失电量(理论)
+    /// </summary>
+    private Double rllxnfdl;
+    /// <summary>
+    /// 月性能损失电量(理论)
+    /// </summary>
+    private Double yllxnfdl;
+    /// <summary>
+    /// 年性能损失电量(理论)
+    /// </summary>
+    private Double nllxnfdl;
+    /// <summary>
+    /// 日运行降出力损失电量(理论)
+    /// </summary>
+    private Double rllyjfdl;
+    /// <summary>
+    /// 月运行降出力损失电量(理论)
+    /// </summary>
+    private Double yllyjfdl;
+    /// <summary>
+    /// 年运行降出力损失电量(理论)
+    /// </summary>
+    private Double nllyjfdl;
+
+    /// <summary>
+    /// 日限电降出力损失电量(理论)
+    /// </summary>
+    private Double rllxjfdl;
+    /// <summary>
+    /// 月限电降出力损失电量(理论)
+    /// </summary>
+    private Double yllxjfdl;
+    /// <summary>
+    /// 年限电降出力损失电量(理论)
+    /// </summary>
+    private Double nllxjfdl;
+
+
+
+
+
+
+
+
+
+    /// <summary>
+    /// 日故障损失电量(理论)
+    /// </summary>
+    private Double rllgzfdl;
+    /// <summary>
+    /// 月故障损失电量(理论)
+    /// </summary>
+    private Double yllgzfdl;
+    /// <summary>
+    /// 年故障损失电量(理论)
+    /// </summary>
+    private Double nllgzfdl;
+    /// <summary>
+    /// 日检修损失电量(理论)
+    /// </summary>
+    private Double rlljxfdl;
+    /// <summary>
+    /// 月检修损失电量(理论)
+    /// </summary>
+    private Double ylljxfdl;
+    /// <summary>
+    /// 年检修损失电量(理论)
+    /// </summary>
+    private Double nlljxfdl;
+    /// <summary>
+    /// 日欠发损失电量(理论)
+    /// </summary>
+    private Double rllqffdl;
+    /// <summary>
+    /// 月欠发损失电量(理论)
+    /// </summary>
+    private Double yllqffdl;
+    /// <summary>
+    /// 年欠发损失电量(理论)
+    /// </summary>
+    private Double nllqffdl;
+    /// <summary>
+    /// 日限电损失电量(理论)
+    /// </summary>
+    private Double rllxdfdl;
+    /// <summary>
+    /// 月限电损失电量(理论)
+    /// </summary>
+    private Double yllxdfdl;
+    /// <summary>
+    /// 年限电损失电量(理论)
+    /// </summary>
+    private Double nllxdfdl;
+    /// <summary>
+    /// 日超发损失电量(理论)
+    /// </summary>
+    private Double rllzffdl;
+    /// <summary>
+    /// 月超发损失电量(理论)
+    /// </summary>
+    private Double yllzffdl;
+    /// <summary>
+    /// 年超发损失电量(理论)
+    /// </summary>
+    private Double nllzffdl;
+    /// <summary>
+    /// 日检修受累损失电量(理论)
+    /// </summary>
+    private Double rllcjfdl;
+    /// <summary>
+    /// 月检修受累损失电量(理论)
+    /// </summary>
+    private Double yllcjfdl;
+    /// <summary>
+    /// 年检修受累损失电量(理论)
+    /// </summary>
+    private Double nllcjfdl;
+    /// <summary>
+    /// 日故障受累损失电量(理论)
+    /// </summary>
+    private Double rllcgfdl;
+    /// <summary>
+    /// 月故障受累损失电量(理论)
+    /// </summary>
+    private Double yllcgfdl;
+    /// <summary>
+    /// 年故障受累损失电量(理论)
+    /// </summary>
+    private Double nllcgfdl;
+    /// <summary>
+    /// 日电网受累损失电量(理论)
+    /// </summary>
+    private Double rllcdfdl;
+    /// <summary>
+    /// 月电网受累损失电量(理论)
+    /// </summary>
+    private Double yllcdfdl;
+    /// <summary>
+    /// 年电网受累损失电量(理论)
+    /// </summary>
+    private Double nllcdfdl;
+    /// <summary>
+    /// 日天气受累损失电量(理论)
+    /// </summary>
+    private Double rllctfdl;
+    /// <summary>
+    /// 月天气受累损失电量(理论)
+    /// </summary>
+    private Double yllctfdl;
+    /// <summary>
+    /// 年天气受累损失电量(理论)
+    /// </summary>
+    private Double nllctfdl;
+
+    /// <summary>
+    /// 日保证发电量
+    /// </summary>
+    private Double rbzfdl;
+    /// <summary>
+    /// 月保证发电量
+    /// </summary>
+    private Double ybzfdl;
+    /// <summary>
+    /// 年保证发电量
+    /// </summary>
+    private Double nbzfdl;
+
+
+    /// <summary>
+    /// 日待机损失电量(保证)
+    /// </summary>
+    private Double rbzdjfdl;
+    /// <summary>
+    /// 月待机损失电量(保证)
+    /// </summary>
+    private Double ybzdjfdl;
+    /// <summary>
+    /// 年待机损失电量(保证)
+    /// </summary>
+    private Double nbzdjfdl;
+    /// <summary>
+    /// 日手动停机损失电量(保证)
+    /// </summary>
+    private Double rbzstfdl;
+    /// <summary>
+    /// 月手动停机损失电量(保证)
+    /// </summary>
+    private Double ybzstfdl;
+    /// <summary>
+    /// 年手动停机损失电量(保证)
+    /// </summary>
+    private Double nbzstfdl;
+    /// <summary>
+    /// 日性能损失电量(保证)
+    /// </summary>
+    private Double rbzxnfdl;
+    /// <summary>
+    /// 月性能损失电量(保证)
+    /// </summary>
+    private Double ybzxnfdl;
+    /// <summary>
+    /// 年性能损失电量(保证)
+    /// </summary>
+    private Double nbzxnfdl;
+    /// <summary>
+    /// 日运行降出力损失电量(保证)
+    /// </summary>
+    private Double rbzyjfdl;
+    /// <summary>
+    /// 月运行降出力损失电量(保证)
+    /// </summary>
+    private Double ybzyjfdl;
+    /// <summary>
+    /// 年运行降出力损失电量(保证)
+    /// </summary>
+    private Double nbzyjfdl;
+
+    /// <summary>
+    /// 日限电降出力损失电量(保证)
+    /// </summary>
+    private Double rbzxjfdl;
+    /// <summary>
+    /// 月限电降出力损失电量(保证)
+    /// </summary>
+    private Double ybzxjfdl;
+    /// <summary>
+    /// 年限电降出力损失电量(保证)
+    /// </summary>
+    private Double nbzxjfdl;
+
+
+    /// <summary>
+    /// 日故障损失电量(保证)
+    /// </summary>
+    private Double rbzgzfdl;
+    /// <summary>
+    /// 月故障损失电量(保证)
+    /// </summary>
+    private Double ybzgzfdl;
+    /// <summary>
+    /// 年故障损失电量(保证)
+    /// </summary>
+    private Double nbzgzfdl;
+    /// <summary>
+    /// 日检修损失电量(保证)
+    /// </summary>
+    private Double rbzjxfdl;
+    /// <summary>
+    /// 月检修损失电量(保证)
+    /// </summary>
+    private Double ybzjxfdl;
+    /// <summary>
+    /// 年检修损失电量(保证)
+    /// </summary>
+    private Double nbzjxfdl;
+    /// <summary>
+    /// 日欠发损失电量(保证)
+    /// </summary>
+    private Double rbzqffdl;
+    /// <summary>
+    /// 月欠发损失电量(保证)
+    /// </summary>
+    private Double ybzqffdl;
+    /// <summary>
+    /// 年欠发损失电量(保证)
+    /// </summary>
+    private Double nbzqffdl;
+    /// <summary>
+    /// 日限电损失电量(保证)
+    /// </summary>
+    private Double rbzxdfdl;
+    /// <summary>
+    /// 月限电损失电量(保证)
+    /// </summary>
+    private Double ybzxdfdl;
+    /// <summary>
+    /// 年限电损失电量(保证)
+    /// </summary>
+    private Double nbzxdfdl;
+    /// <summary>
+    /// 日超发损失电量(保证)
+    /// </summary>
+    private Double rbzzffdl;
+    /// <summary>
+    /// 月超发损失电量(保证)
+    /// </summary>
+    private Double ybzzffdl;
+    /// <summary>
+    /// 年超发损失电量(保证)
+    /// </summary>
+    private Double nbzzffdl;
+    /// <summary>
+    /// 日检修受累损失电量(保证)
+    /// </summary>
+    private Double rbzcjfdl;
+    /// <summary>
+    /// 月检修受累损失电量(保证)
+    /// </summary>
+    private Double ybzcjfdl;
+    /// <summary>
+    /// 年检修受累损失电量(保证)
+    /// </summary>
+    private Double nbzcjfdl;
+    /// <summary>
+    /// 日故障受累损失电量(保证)
+    /// </summary>
+    private Double rbzcgfdl;
+    /// <summary>
+    /// 月故障受累损失电量(保证)
+    /// </summary>
+    private Double ybzcgfdl;
+    /// <summary>
+    /// 年故障受累损失电量(保证)
+    /// </summary>
+    private Double nbzcgfdl;
+    /// <summary>
+    /// 日电网受累损失电量(保证)
+    /// </summary>
+    private Double rbzcdfdl;
+    /// <summary>
+    /// 月电网受累损失电量(保证)
+    /// </summary>
+    private Double ybzcdfdl;
+    /// <summary>
+    /// 年电网受累损失电量(保证)
+    /// </summary>
+    private Double nbzcdfdl;
+    /// <summary>
+    /// 日天气受累损失电量(保证)
+    /// </summary>
+    private Double rbzctfdl;
+    /// <summary>
+    /// 月天气受累损失电量(保证)
+    /// </summary>
+    private Double ybzctfdl;
+    /// <summary>
+    /// 年天气受累损失电量(保证)
+    /// </summary>
+    private Double nbzctfdl;
+
+    /// <summary>
+    /// 日自算发电量
+    /// </summary>
+    private Double rzsfdl;
+    /// <summary>
+    /// 月自算发电量
+    /// </summary>
+    private Double yzsfdl;
+    /// <summary>
+    /// 年自算发电量
+    /// </summary>
+    private Double nzsfdl;
+
+
+
+    /// <summary>
+    /// 日待机损失电量(自算)
+    /// </summary>
+    private Double rzsdjfdl;
+    /// <summary>
+    /// 月待机损失电量(自算)
+    /// </summary>
+    private Double yzsdjfdl;
+    /// <summary>
+    /// 年待机损失电量(自算)
+    /// </summary>
+    private Double nzsdjfdl;
+    /// <summary>
+    /// 日手动停机损失电量(自算)
+    /// </summary>
+    private Double rzsstfdl;
+    /// <summary>
+    /// 月手动停机损失电量(自算)
+    /// </summary>
+    private Double yzsstfdl;
+    /// <summary>
+    /// 年手动停机损失电量(自算)
+    /// </summary>
+    private Double nzsstfdl;
+    /// <summary>
+    /// 日性能损失电量(自算)
+    /// </summary>
+    private Double rzsxnfdl;
+    /// <summary>
+    /// 月性能损失电量(自算)
+    /// </summary>
+    private Double yzsxnfdl;
+    /// <summary>
+    /// 年性能损失电量(自算)
+    /// </summary>
+    private Double nzsxnfdl;
+    /// <summary>
+    /// 日运行降出力损失电量(自算)
+    /// </summary>
+    private Double rzsyjfdl;
+    /// <summary>
+    /// 月运行降出力损失电量(自算)
+    /// </summary>
+    private Double yzsyjfdl;
+    /// <summary>
+    /// 年运行降出力损失电量(自算)
+    /// </summary>
+    private Double nzsyjfdl;
+
+    /// <summary>
+    /// 日限电降出力损失电量(自算)
+    /// </summary>
+    private Double rzsxjfdl;
+    /// <summary>
+    /// 月限电降出力损失电量(自算)
+    /// </summary>
+    private Double yzsxjfdl;
+    /// <summary>
+    /// 年限电降出力损失电量(自算)
+    /// </summary>
+    private Double nzsxjfdl;
+
+
+    /// <summary>
+    /// 日故障损失电量(自算)
+    /// </summary>
+    private Double rzsgzfdl;
+    /// <summary>
+    /// 月故障损失电量(自算)
+    /// </summary>
+    private Double yzsgzfdl;
+    /// <summary>
+    /// 年故障损失电量(自算)
+    /// </summary>
+    private Double nzsgzfdl;
+    /// <summary>
+    /// 日检修损失电量(自算)
+    /// </summary>
+    private Double rzsjxfdl;
+    /// <summary>
+    /// 月检修损失电量(自算)
+    /// </summary>
+    private Double yzsjxfdl;
+    /// <summary>
+    /// 年检修损失电量(自算)
+    /// </summary>
+    private Double nzsjxfdl;
+    /// <summary>
+    /// 日欠发损失电量(自算)
+    /// </summary>
+    private Double rzsqffdl;
+    /// <summary>
+    /// 月欠发损失电量(自算)
+    /// </summary>
+    private Double yzsqffdl;
+    /// <summary>
+    /// 年欠发损失电量(自算)
+    /// </summary>
+    private Double nzsqffdl;
+    /// <summary>
+    /// 日限电损失电量(自算)
+    /// </summary>
+    private Double rzsxdfdl;
+    /// <summary>
+    /// 月限电损失电量(自算)
+    /// </summary>
+    private Double yzsxdfdl;
+    /// <summary>
+    /// 年限电损失电量(自算)
+    /// </summary>
+    private Double nzsxdfdl;
+    /// <summary>
+    /// 日超发损失电量(自算)
+    /// </summary>
+    private Double rzszffdl;
+    /// <summary>
+    /// 月超发损失电量(自算)
+    /// </summary>
+    private Double yzszffdl;
+    /// <summary>
+    /// 年超发损失电量(自算)
+    /// </summary>
+    private Double nzszffdl;
+    /// <summary>
+    /// 日检修受累损失电量(自算)
+    /// </summary>
+    private Double rzscjfdl;
+    /// <summary>
+    /// 月检修受累损失电量(自算)
+    /// </summary>
+    private Double yzscjfdl;
+    /// <summary>
+    /// 年检修受累损失电量(自算)
+    /// </summary>
+    private Double nzscjfdl;
+    /// <summary>
+    /// 日故障受累损失电量(自算)
+    /// </summary>
+    private Double rzscgfdl;
+    /// <summary>
+    /// 月故障受累损失电量(自算)
+    /// </summary>
+    private Double yzscgfdl;
+    /// <summary>
+    /// 年故障受累损失电量(自算)
+    /// </summary>
+    private Double nzscgfdl;
+    /// <summary>
+    /// 日电网受累损失电量(自算)
+    /// </summary>
+    private Double rzscdfdl;
+    /// <summary>
+    /// 月电网受累损失电量(自算)
+    /// </summary>
+    private Double yzscdfdl;
+    /// <summary>
+    /// 年电网受累损失电量(自算)
+    /// </summary>
+    private Double nzscdfdl;
+    /// <summary>
+    /// 日天气受累损失电量(自算)
+    /// </summary>
+    private Double rzsctfdl;
+    /// <summary>
+    /// 月天气受累损失电量(自算)
+    /// </summary>
+    private Double yzsctfdl;
+    /// <summary>
+    /// 年天气受累损失电量(自算)
+    /// </summary>
+    private Double nzsctfdl;
+
+    /// <summary>
+    /// 日最优发电量
+    /// </summary>
+    private Double rzyfdl;
+    /// <summary>
+    /// 月最优发电量
+    /// </summary>
+    private Double yzyfdl;
+    /// <summary>
+    /// 年最优发电量
+    /// </summary>
+    private Double nzyfdl;
+
+    /// <summary>
+    /// 日待机损失电量(最优)
+    /// </summary>
+    private Double rzydjfdl;
+    /// <summary>
+    /// 月待机损失电量(最优)
+    /// </summary>
+    private Double yzydjfdl;
+    /// <summary>
+    /// 年待机损失电量(最优)
+    /// </summary>
+    private Double nzydjfdl;
+    /// <summary>
+    /// 日手动停机损失电量(最优)
+    /// </summary>
+    private Double rzystfdl;
+    /// <summary>
+    /// 月手动停机损失电量(最优)
+    /// </summary>
+    private Double yzystfdl;
+    /// <summary>
+    /// 年手动停机损失电量(最优)
+    /// </summary>
+    private Double nzystfdl;
+    /// <summary>
+    /// 日性能损失电量(最优)
+    /// </summary>
+    private Double rzyxnfdl;
+    /// <summary>
+    /// 月性能损失电量(最优)
+    /// </summary>
+    private Double yzyxnfdl;
+    /// <summary>
+    /// 年性能损失电量(最优)
+    /// </summary>
+    private Double nzyxnfdl;
+    /// <summary>
+    /// 日运行降出力损失电量(最优)
+    /// </summary>
+    private Double rzyyjfdl;
+    /// <summary>
+    /// 月运行降出力损失电量(最优)
+    /// </summary>
+    private Double yzyyjfdl;
+    /// <summary>
+    /// 年运行降出力损失电量(最优)
+    /// </summary>
+    private Double nzyyjfdl;
+
+    /// <summary>
+    /// 日限电降出力损失电量(最优)
+    /// </summary>
+    private Double rzyxjfdl;
+    /// <summary>
+    /// 月限电降出力损失电量(最优)
+    /// </summary>
+    private Double yzyxjfdl;
+    /// <summary>
+    /// 年限电降出力损失电量(最优)
+    /// </summary>
+    private Double nzyxjfdl;
+    /// <summary>
+    /// 日故障损失电量(最优)
+    /// </summary>
+    private Double rzygzfdl;
+    /// <summary>
+    /// 月故障损失电量(最优)
+    /// </summary>
+    private Double yzygzfdl;
+    /// <summary>
+    /// 年故障损失电量(最优)
+    /// </summary>
+    private Double nzygzfdl;
+    /// <summary>
+    /// 日检修损失电量(最优)
+    /// </summary>
+    private Double rzyjxfdl;
+    /// <summary>
+    /// 月检修损失电量(最优)
+    /// </summary>
+    private Double yzyjxfdl;
+    /// <summary>
+    /// 年检修损失电量(最优)
+    /// </summary>
+    private Double nzyjxfdl;
+    /// <summary>
+    /// 日欠发损失电量(最优)
+    /// </summary>
+    private Double rzyqffdl;
+    /// <summary>
+    /// 月欠发损失电量(最优)
+    /// </summary>
+    private Double yzyqffdl;
+    /// <summary>
+    /// 年欠发损失电量(最优)
+    /// </summary>
+    private Double nzyqffdl;
+    /// <summary>
+    /// 日限电损失电量(最优)
+    /// </summary>
+    private Double rzyxdfdl;
+    /// <summary>
+    /// 月限电损失电量(最优)
+    /// </summary>
+    private Double yzyxdfdl;
+    /// <summary>
+    /// 年限电损失电量(最优)
+    /// </summary>
+    private Double nzyxdfdl;
+    /// <summary>
+    /// 日超发损失电量(最优)
+    /// </summary>
+    private Double rzyzffdl;
+    /// <summary>
+    /// 月超发损失电量(最优)
+    /// </summary>
+    private Double yzyzffdl;
+    /// <summary>
+    /// 年超发损失电量(最优)
+    /// </summary>
+    private Double nzyzffdl;
+    /// <summary>
+    /// 日检修受累损失电量(最优)
+    /// </summary>
+    private Double rzycjfdl;
+    /// <summary>
+    /// 月检修受累损失电量(最优)
+    /// </summary>
+    private Double yzycjfdl;
+    /// <summary>
+    /// 年检修受累损失电量(最优)
+    /// </summary>
+    private Double nzycjfdl;
+    /// <summary>
+    /// 日故障受累损失电量(最优)
+    /// </summary>
+    private Double rzycgfdl;
+    /// <summary>
+    /// 月故障受累损失电量(最优)
+    /// </summary>
+    private Double yzycgfdl;
+    /// <summary>
+    /// 年故障受累损失电量(最优)
+    /// </summary>
+    private Double nzycgfdl;
+    /// <summary>
+    /// 日电网受累损失电量(最优)
+    /// </summary>
+    private Double rzycdfdl;
+    /// <summary>
+    /// 月电网受累损失电量(最优)
+    /// </summary>
+    private Double yzycdfdl;
+    /// <summary>
+    /// 年电网受累损失电量(最优)
+    /// </summary>
+    private Double nzycdfdl;
+    /// <summary>
+    /// 日天气受累损失电量(最优)
+    /// </summary>
+    private Double rzyctfdl;
+    /// <summary>
+    /// 月天气受累损失电量(最优)
+    /// </summary>
+    private Double yzyctfdl;
+    /// <summary>
+    /// 年天气受累损失电量(最优)
+    /// </summary>
+    private Double nzyctfdl;
+}

+ 21 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/model/vo/Location.java

@@ -0,0 +1,21 @@
+package com.gyee.generation.model.vo;
+
+public enum Location {
+
+    wp("wp"),
+    pj("pj"),
+    ln("ln"),
+    sq("sq"),
+    cp("cp"),
+    rg("rg");
+
+    public String id;
+    Location(final  String c) {
+        id = c;
+    }
+
+    public String getValue()
+    {
+        return id;
+    }
+}

+ 79 - 65
realtime/generationXK-service/src/main/java/com/gyee/generation/service/LimitEventService.java

@@ -2,6 +2,8 @@ package com.gyee.generation.service;
 
 import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
 import com.gyee.common.contant.Contant;
+import com.gyee.common.contant.ContantXk;
+
 import com.gyee.common.model.DNAStatVal;
 import com.gyee.common.model.DNAVal;
 import com.gyee.common.model.PointData;
@@ -120,19 +122,20 @@ public class LimitEventService {
         Map<String, Map<String, ProBasicWppoint>> wppointmap = CacheContext.wppointmap;
         CacheContext.wpls.forEach(wp -> {
             Map<String, ProBasicWppoint> wppmap = wppointmap.get(wp.getId());
-            if (wp.getId().endsWith("FDC")) {
-                if (wppmap.containsKey(Contant.FJ5T)) {
-                    ProBasicWppoint point = wppmap.get(Contant.FJ5T);
+            if (wp.getId().indexOf("FDC")>=0) {
+
+                if (wppmap.containsKey(ContantXk.SBZT)) {
+                    ProBasicWppoint point = wppmap.get(ContantXk.SBZT);
                     tempWindPower.put(wp.getId(), point);
                 }
 
-                if (wppmap.containsKey(Contant.SSFS)) {
-                    ProBasicWppoint point = wppmap.get(Contant.SSFS);
+                if (wppmap.containsKey(ContantXk.SSPJFS)) {
+                    ProBasicWppoint point = wppmap.get(ContantXk.SSPJFS);
                     tempWindPowerSpeed.put(wp.getId(), point);
                 }
 
-                if (wppmap.containsKey(Contant.SSZGL)) {
-                    ProBasicWppoint point = wppmap.get(Contant.SSZGL);
+                if (wppmap.containsKey(ContantXk.SSZGL)) {
+                    ProBasicWppoint point = wppmap.get(ContantXk.SSZGL);
                     tempWindPowerPower.put(wp.getId(), point);
                 }
 
@@ -151,36 +154,36 @@ public class LimitEventService {
         List<ProBasicWindturbine> wtls = CacheContext.wtls;
         Map<String, Map<String, ProBasicEquipmentPoint>> wtpAimap = CacheContext.wtpAimap;
         wtls.stream().forEach(wt -> {
-            if (wt.getWindpowerstationId().endsWith("FDC")) {
+            if (wt.getWindpowerstationId().indexOf("FDC")>=0) {
                 //风机状态
                 Map<String, ProBasicEquipmentPoint> windturbinetestingpointnewMap = wtpAimap.get(wt.getId());
-                if (windturbinetestingpointnewMap.containsKey(Contant.FJ5T)) {
-                    ProBasicEquipmentPoint point = windturbinetestingpointnewMap.get(Contant.FJ5T);
+                if (windturbinetestingpointnewMap.containsKey(ContantXk.SBZT)) {
+                    ProBasicEquipmentPoint point = windturbinetestingpointnewMap.get(ContantXk.SBZT);
                     tempWindTurbine.put(wt.getId(), point);
                 }
                 //风速
-                if (windturbinetestingpointnewMap.containsKey(Contant.AI022)) {
-                    ProBasicEquipmentPoint point = windturbinetestingpointnewMap.get(Contant.AI022);
+                if (windturbinetestingpointnewMap.containsKey(ContantXk.CJ_SSFS)) {
+                    ProBasicEquipmentPoint point = windturbinetestingpointnewMap.get(ContantXk.CJ_SSFS);
                     tempSpeed.put(wt.getId(), point);
                 }
                 //功率
-                if (windturbinetestingpointnewMap.containsKey(Contant.AI130)) {
-                    ProBasicEquipmentPoint point = windturbinetestingpointnewMap.get(Contant.AI130);
+                if (windturbinetestingpointnewMap.containsKey(ContantXk.CJ_SSGL)) {
+                    ProBasicEquipmentPoint point = windturbinetestingpointnewMap.get(ContantXk.CJ_SSGL);
                     tempPower.put(wt.getId(), point);
                 }
-                //限电损失电量
-                if (windturbinetestingpointnewMap.containsKey(Contant.ZSGL)) {
-                    ProBasicEquipmentPoint point = windturbinetestingpointnewMap.get(Contant.ZSGL);
+
+                if (windturbinetestingpointnewMap.containsKey(ContantXk.ZSGL)) {
+                    ProBasicEquipmentPoint point = windturbinetestingpointnewMap.get(ContantXk.ZSGL);
                     tempnh.put(wt.getId(), point);
                 }
 
-                if (windturbinetestingpointnewMap.containsKey(Contant.WTNXDSSDL)) {
-                    ProBasicEquipmentPoint point = windturbinetestingpointnewMap.get(Contant.WTNXDSSDL);
+                if (windturbinetestingpointnewMap.containsKey(ContantXk.NXDTJSSDL)) {
+                    ProBasicEquipmentPoint point = windturbinetestingpointnewMap.get(ContantXk.NXDTJSSDL);
                     tempxd.put(wt.getId(), point);
                 }
 
-                if (windturbinetestingpointnewMap.containsKey(Contant.BZGL)) {
-                    ProBasicEquipmentPoint point = windturbinetestingpointnewMap.get(Contant.BZGL);
+                if (windturbinetestingpointnewMap.containsKey(ContantXk.BZGL)) {
+                    ProBasicEquipmentPoint point = windturbinetestingpointnewMap.get(ContantXk.BZGL);
                     tempbzglDictionary.put(wt.getId(), point);
                 }
             }
@@ -912,21 +915,23 @@ public class LimitEventService {
         if(endDate.after(startDate) && c1.get(Calendar.YEAR)==c2.get(Calendar.YEAR))
         {
             //年限电欠发损失电量
-            if(wtpointmap.containsKey(Contant.WTYQFSSDL) )
+            if(wtpointmap.containsKey(ContantXk.NXDTJSSDL) )
             {
                 double beginvalue=0.0;
                 double endvalue=0.0;
 
-                String[] pointid=new String[1];
-                pointid[0]=wtpointmap.get(Contant.WTYQFSSDL).getCode();
-                DNAVal[] xdbegin=edosUtil.getHistMatrix(pointid,Integer.valueOf(String.valueOf(startDate.getTime()/1000)));
-                DNAVal[] xdend=edosUtil.getHistMatrix(pointid,Integer.valueOf(String.valueOf(endDate.getTime()/1000)));
 
 
-                if(xdbegin.length==1 && xdend.length==1)
+                List<String> pointid=new ArrayList<>();
+                pointid.add(wtpointmap.get(ContantXk.NXDTJSSDL).getCode());
+                List<PointData> xdbegin=edosUtil.getHistMatrix(pointid,startDate.getTime()/1000);
+                List<PointData> xdend=edosUtil.getHistMatrix(pointid,endDate.getTime()/1000);
+
+
+                if(xdbegin.size()==1 && xdend.size()==1)
                 {
-                    beginvalue=xdbegin[0].DValue;
-                    endvalue=xdend[0].DValue;
+                    beginvalue=xdbegin.get(0).getPointValueInDouble();
+                    endvalue=xdend.get(0).getPointValueInDouble();
 
                     if (endvalue > beginvalue) {
                         result =result+(endvalue - beginvalue);
@@ -935,19 +940,21 @@ public class LimitEventService {
             }
 
             //年限电损失电量
-            if(wtpointmap.containsKey(Contant.WTYXDSSDL) )
+            if(wtpointmap.containsKey(ContantXk.NXDJCLSSDL) )
             {
                 double beginvalue=0.0;
                 double endvalue=0.0;
 
-                String[] pointid=new String[1];
-                pointid[0]=wtpointmap.get(Contant.WTYXDSSDL).getCode();
-                DNAVal[] xdbegin=edosUtil.getHistMatrix(pointid,Integer.valueOf(String.valueOf(startDate.getTime()/1000)));
-                DNAVal[] xdend=edosUtil.getHistMatrix(pointid,Integer.valueOf(String.valueOf(endDate.getTime()/1000)));
-                if(xdbegin.length==1 && xdend.length==1)
+                List<String> pointid=new ArrayList<>();
+                pointid.add(wtpointmap.get(ContantXk.NXDJCLSSDL).getCode());
+                List<PointData> xdbegin=edosUtil.getHistMatrix(pointid,startDate.getTime()/1000);
+                List<PointData> xdend=edosUtil.getHistMatrix(pointid,endDate.getTime()/1000);
+
+
+                if(xdbegin.size()==1 && xdend.size()==1)
                 {
-                    beginvalue=xdbegin[0].DValue;
-                    endvalue=xdend[0].DValue;
+                    beginvalue=xdbegin.get(0).getPointValueInDouble();
+                    endvalue=xdend.get(0).getPointValueInDouble();
 
                     if (endvalue > beginvalue) {
                         result =result+(endvalue - beginvalue);
@@ -962,21 +969,21 @@ public class LimitEventService {
            //获得1月1日零点值
             Date endtime=c.getTime();
             //年限电欠发损失电量
-            if(wtpointmap.containsKey(Contant.WTYQFSSDL) )
+            if(wtpointmap.containsKey(ContantXk.NXDTJSSDL) )
             {
                 double beginvalue=0.0;
                 double endvalue=0.0;
 
-                String[] pointid=new String[1];
-                pointid[0]=wtpointmap.get(Contant.WTYQFSSDL).getCode();
-                DNAVal[] xdbegin=edosUtil.getHistMatrix(pointid,Integer.valueOf(String.valueOf(startDate.getTime()/1000)));
-                DNAVal[] xdend=edosUtil.getHistMatrix(pointid,Integer.valueOf(String.valueOf(endtime.getTime()/1000)));
+                List<String> pointid=new ArrayList<>();
+                pointid.add(wtpointmap.get(ContantXk.NXDTJSSDL).getCode());
+                List<PointData> xdbegin=edosUtil.getHistMatrix(pointid,startDate.getTime()/1000);
+                List<PointData> xdend=edosUtil.getHistMatrix(pointid,endDate.getTime()/1000);
 
 
-                if(xdbegin.length==1 && xdend.length==1)
+                if(xdbegin.size()==1 && xdend.size()==1)
                 {
-                    beginvalue=xdbegin[0].DValue;
-                    endvalue=xdend[0].DValue;
+                    beginvalue=xdbegin.get(0).getPointValueInDouble();
+                    endvalue=xdend.get(0).getPointValueInDouble();
 
                     if (endvalue > beginvalue) {
                         result =result+(endvalue - beginvalue);
@@ -985,19 +992,21 @@ public class LimitEventService {
             }
 
             //年限电损失电量
-            if(wtpointmap.containsKey(Contant.WTYXDSSDL) )
+            if(wtpointmap.containsKey(ContantXk.NXDJCLSSDL) )
             {
                 double beginvalue=0.0;
                 double endvalue=0.0;
 
-                String[] pointid=new String[1];
-                pointid[0]=wtpointmap.get(Contant.WTYXDSSDL).getCode();
-                DNAVal[] xdbegin=edosUtil.getHistMatrix(pointid,Integer.valueOf(String.valueOf(startDate.getTime()/1000)));
-                DNAVal[] xdend=edosUtil.getHistMatrix(pointid,Integer.valueOf(String.valueOf(endtime.getTime()/1000)));
-                if(xdbegin.length==1 && xdend.length==1)
+                List<String> pointid=new ArrayList<>();
+                pointid.add(wtpointmap.get(ContantXk.NXDJCLSSDL).getCode());
+                List<PointData> xdbegin=edosUtil.getHistMatrix(pointid,startDate.getTime()/1000);
+                List<PointData> xdend=edosUtil.getHistMatrix(pointid,endDate.getTime()/1000);
+
+
+                if(xdbegin.size()==1 && xdend.size()==1)
                 {
-                    beginvalue=xdbegin[0].DValue;
-                    endvalue=xdend[0].DValue;
+                    beginvalue=xdbegin.get(0).getPointValueInDouble();
+                    endvalue=xdend.get(0).getPointValueInDouble();
 
                     if (endvalue > beginvalue) {
                         result =result+(endvalue - beginvalue);
@@ -1008,20 +1017,23 @@ public class LimitEventService {
 
 
             //日限电欠发损失电量
-            if(wtpointmap.containsKey(Contant.WTYQFSSDL) )
+            if(wtpointmap.containsKey(ContantXk.NXDTJSSDL) )
             {
 
                 double endvalue=0.0;
 
-                String[] pointid=new String[1];
-                pointid[0]=wtpointmap.get(Contant.WTYQFSSDL).getCode();
-                DNAVal[] xdend=edosUtil.getHistMatrix(pointid,Integer.valueOf(String.valueOf(endDate.getTime()/1000)));
 
 
-                if(xdend.length==1)
+                List<String> pointid=new ArrayList<>();
+                pointid.add(wtpointmap.get(ContantXk.NXDTJSSDL).getCode());
+
+                List<PointData> xdend=edosUtil.getHistMatrix(pointid,endDate.getTime()/1000);
+
+
+                if( xdend.size()==1)
                 {
 
-                    endvalue=xdend[0].DValue;
+                    endvalue=xdend.get(0).getPointValueInDouble();
 
                     if (endvalue > 0) {
                         result =result+endvalue;
@@ -1030,20 +1042,22 @@ public class LimitEventService {
             }
 
             //日限电损失电量
-            if(wtpointmap.containsKey(Contant.WTYXDSSDL) )
+            if(wtpointmap.containsKey(ContantXk.NXDJCLSSDL) )
             {
                 double beginvalue=0.0;
                 double endvalue=0.0;
 
-                String[] pointid=new String[1];
-                pointid[0]=wtpointmap.get(Contant.WTYXDSSDL).getCode();
-                DNAVal[] xdend=edosUtil.getHistMatrix(pointid,Integer.valueOf(String.valueOf(endDate.getTime()/1000)));
+
+                List<String> pointid=new ArrayList<>();
+                pointid.add(wtpointmap.get(ContantXk.NXDJCLSSDL).getCode());
+
+                List<PointData> xdend=edosUtil.getHistMatrix(pointid,endDate.getTime()/1000);
 
 
-                if(xdend.length==1)
+                if( xdend.size()==1)
                 {
 
-                    endvalue=xdend[0].DValue;
+                    endvalue=xdend.get(0).getPointValueInDouble();
 
                     if (endvalue > 0) {
                         result =result+endvalue;

+ 56 - 56
realtime/generationXK-service/src/main/java/com/gyee/generation/service/LimitService.java

@@ -1,6 +1,6 @@
 package com.gyee.generation.service;
 
-import com.gyee.common.contant.Contant;
+import com.gyee.common.contant.ContantXk;
 import com.gyee.common.model.DNAStatVal;
 import com.gyee.common.model.PointData;
 import com.gyee.generation.init.CacheContext;
@@ -320,12 +320,12 @@ public  class LimitService {
         Map<String, Map<String, ProBasicEquipmentPoint>> wtpAimap=CacheContext.wtpAimap;
         Map<String, ProEconLineElectrical> electrical = proEconLineElectricalService.list().stream().collect(Collectors.toMap(ProEconLineElectrical::getLineId, Function.identity()));
         wtls.stream().forEach(wt->{
-            if(wt.getWindpowerstationId().endsWith("FDC"))
+            if(wt.getWindpowerstationId().indexOf("FDC")>=0)
             {
                 Map<String, ProBasicEquipmentPoint> windturbinetestingpointnewMap = wtpAimap.get(wt.getId());
-                if(windturbinetestingpointnewMap.containsKey(Contant.XDSL))
+                if(windturbinetestingpointnewMap.containsKey(ContantXk.GPZT))
                 {
-                    ProBasicEquipmentPoint xdslPoint = windturbinetestingpointnewMap.get(Contant.XDSL);
+                    ProBasicEquipmentPoint xdslPoint = windturbinetestingpointnewMap.get(ContantXk.GPZT);
                     windSL.put(wt.getId(),xdslPoint);
                 }
 
@@ -523,9 +523,9 @@ public  class LimitService {
             Map<String, Map<String, ProBasicEquipmentPoint>> wtpAimap=CacheContext.wtpAimap;
             wtls.stream().forEach(wt->{
                 Map<String, ProBasicEquipmentPoint> windturbinetestingpointnewMap = wtpAimap.get(wt.getId());
-                if(windturbinetestingpointnewMap.containsKey(Contant.XDSL))
+                if(windturbinetestingpointnewMap.containsKey(ContantXk.GPZT))
                 {
-                    ProBasicEquipmentPoint xdslPoint = windturbinetestingpointnewMap.get(Contant.XDSL);
+                    ProBasicEquipmentPoint xdslPoint = windturbinetestingpointnewMap.get(ContantXk.GPZT);
                     WindturbineXDSL.put(wt.getId(),xdslPoint);
                 }
 
@@ -534,29 +534,29 @@ public  class LimitService {
             Map<String,Map<String, ProBasicWppoint>> wppointmap =CacheContext.wppointmap;
             CacheContext.wpls.forEach(wp->{
             Map<String, ProBasicWppoint> wppMap = wppointmap.get(wp.getId());
-            if(wp.getId().endsWith("FDC"))
+            if(wp.getId().indexOf("FDC")>=0)
             {
-                if(wppMap.containsKey(Contant.TPOINT_WP_AGC))
+                if(wppMap.containsKey(ContantXk.TPOINT_WP_AGC))
                 {
-                    ProBasicWppoint agcPoint = wppMap.get(Contant.TPOINT_WP_AGC);
+                    ProBasicWppoint agcPoint = wppMap.get(ContantXk.TPOINT_WP_AGC);
                     WindPowerAGC.put(wp.getId(),agcPoint);
                 }
 
-                if(wppMap.containsKey(Contant.TPOINT_WP_CXGL))
+                if(wppMap.containsKey(ContantXk.TPOINT_WP_CXGL))
                 {
-                    ProBasicWppoint cxglPoint = wppMap.get(Contant.TPOINT_WP_CXGL);
+                    ProBasicWppoint cxglPoint = wppMap.get(ContantXk.TPOINT_WP_CXGL);
                     WindPowerCXYG.put(wp.getId(),cxglPoint);
                 }
 
-                if(wppMap.containsKey(Contant.ZZSGL))
+                if(wppMap.containsKey(ContantXk.SSZNHGLZS))
                 {
-                    ProBasicWppoint zsglPoint = wppMap.get(Contant.ZZSGL);
+                    ProBasicWppoint zsglPoint = wppMap.get(ContantXk.SSZNHGLZS);
                     WindPowerZSGL.put(wp.getId(),zsglPoint);
                 }
 
-                if(wppMap.containsKey(Contant.XDZT))
+                if(wppMap.containsKey(ContantXk.XDZT))
                 {
-                    ProBasicWppoint xdztPoint = wppMap.get(Contant.XDZT);
+                    ProBasicWppoint xdztPoint = wppMap.get(ContantXk.XDZT);
                     WindPowerXDZT.put(wp.getId(),xdztPoint);
                 }
             }
@@ -569,9 +569,9 @@ public  class LimitService {
                 {
                     Map<String, ProBasicEquipmentPoint> windD=new HashMap<>();
                     Map<String, ProBasicEquipmentPoint> windturbinetestingpointnewMap = wtpAimap.get(key);
-                    if(windturbinetestingpointnewMap.containsKey(Contant.XDZT))
+                    if(windturbinetestingpointnewMap.containsKey(ContantXk.XDZT))
                     {
-                        ProBasicEquipmentPoint xdztPoint = windturbinetestingpointnewMap.get(Contant.XDZT);
+                        ProBasicEquipmentPoint xdztPoint = windturbinetestingpointnewMap.get(ContantXk.XDZT);
                         windD.put(key,xdztPoint);
                     }
 
@@ -586,18 +586,18 @@ public  class LimitService {
                 //风机转速限值1.5MV && 有功控制给定值2MV
 
             wtls.stream().forEach(wt->{
-                if(wt.getWindpowerstationId().endsWith("FDC"))
+                if(wt.getWindpowerstationId().indexOf("FDC")>=0)
                 {
                     Map<String, ProBasicEquipmentPoint> windturbinetestingpointnewMap = wtpAimap.get(wt.getId());
-                    if(windturbinetestingpointnewMap.containsKey(Contant.XCLZT))
+                    if(windturbinetestingpointnewMap.containsKey(ContantXk.XDZT))
                     {
-                        ProBasicEquipmentPoint xdclztPoint = windturbinetestingpointnewMap.get(Contant.XCLZT);
+                        ProBasicEquipmentPoint xdclztPoint = windturbinetestingpointnewMap.get(ContantXk.XDZT);
                         WindTurbineE.put(wt.getId(),xdclztPoint);
                     }
 
-                    if(windturbinetestingpointnewMap.containsKey(Contant.RSSQFZT))
+                    if(windturbinetestingpointnewMap.containsKey(ContantXk.SSQFZT))
                     {
-                        ProBasicEquipmentPoint rqfztPoint = windturbinetestingpointnewMap.get(Contant.RSSQFZT);
+                        ProBasicEquipmentPoint rqfztPoint = windturbinetestingpointnewMap.get(ContantXk.SSQFZT);
                         WindturbineQXDic4.put(wt.getId(),rqfztPoint);
                     }
                 }
@@ -907,9 +907,9 @@ public  class LimitService {
 
                                 Map<String,Map<String, ProBasicEquipmentPoint>> wtpAimap =CacheContext.wtpAimap;
                                 Map<String, ProBasicEquipmentPoint> windturbinetestingpointnewMap = wtpAimap.get(key);
-                                if(windturbinetestingpointnewMap.containsKey(Contant.AI130))
+                                if(windturbinetestingpointnewMap.containsKey(ContantXk.CJ_SSFS))
                                 {
-                                    ProBasicEquipmentPoint xdztPoint = windturbinetestingpointnewMap.get(Contant.AI130);
+                                    ProBasicEquipmentPoint xdztPoint = windturbinetestingpointnewMap.get(ContantXk.CJ_SSFS);
                                     Double rtbbb = edosUtil.getRealData(xdztPoint.getCode()).getPointValueInDouble();
                                     if (rtbbb >= xz2 * 0.9)
                                     {
@@ -1033,14 +1033,14 @@ public  class LimitService {
             Map<String, Map<String, ProBasicEquipmentPoint>> wtpAimap=CacheContext.wtpAimap;
             wtls.stream().forEach(wt->{
                 Map<String, ProBasicEquipmentPoint> windturbinetestingpointnewMap = wtpAimap.get(wt.getId());
-                if(windturbinetestingpointnewMap.containsKey(Contant.XDSL))
+                if(windturbinetestingpointnewMap.containsKey(ContantXk.GPZT))
                 {
-                    ProBasicEquipmentPoint xdslPoint = windturbinetestingpointnewMap.get(Contant.XDSL);
+                    ProBasicEquipmentPoint xdslPoint = windturbinetestingpointnewMap.get(ContantXk.GPZT);
                     WindturbineXDSL.put(wt.getId(),xdslPoint);
                 }
-                if(windturbinetestingpointnewMap.containsKey(Contant.XDZT))
+                if(windturbinetestingpointnewMap.containsKey(ContantXk.XDZT))
                 {
-                    ProBasicEquipmentPoint xdztPoint = windturbinetestingpointnewMap.get(Contant.XDZT);
+                    ProBasicEquipmentPoint xdztPoint = windturbinetestingpointnewMap.get(ContantXk.XDZT);
                     WindTurbineXD.add(xdztPoint);
                 }
             });
@@ -1104,57 +1104,57 @@ public  class LimitService {
 
             WindturbineQXDic = new HashMap<String, List<String>>();
 
-                //var disArr = entity.ProBasicEquipmentPoint.Where(it => it.UNIFORMCODE == "AI178" || it.UNIFORMCODE == "AI443").ToList();
+                //var disArr = entity.ProBasicEquipmentPoint.Where(it => it.UNIFORMCODE == "AI178" || it.UNIFORMCODE == "CJ_SCADA_YGSD").ToList();
 
                 //叶轮转速给定           AI134   限值17.4
-                //转矩给定               AI129    限值 95   (2MW 叫 变频器转矩给定  无用)
+                //转矩给定               CJ_ZSGD    限值 95   (2MW 叫 变频器转矩给定  无用)
                 //发电状态下的转速给定   AI178    限值17.4
 
 
-                //scada有功设定值           AI443   2MW 限值2000   3MW 限值3000
-                //实时欠发状态    RSSQFZT
+                //scada有功设定值           CJ_SCADA_YGSD   2MW 限值2000   3MW 限值3000
+                //实时欠发状态    SSQFZT
 
             List<ProBasicEquipmentPoint> wtpointls=new ArrayList<>();
             List<ProBasicWindturbine> wtls= CacheContext.wtls;
             Map<String, Map<String, ProBasicEquipmentPoint>> wtpAimap=CacheContext.wtpAimap;
             wtls.stream().forEach(wt->{
                 Map<String, ProBasicEquipmentPoint> windturbinetestingpointnewMap = wtpAimap.get(wt.getId());
-                if(windturbinetestingpointnewMap.containsKey(Contant.AI134))
+                if(windturbinetestingpointnewMap.containsKey(ContantXk.CJ_YLZSGD))
                 {
-                    ProBasicEquipmentPoint point = windturbinetestingpointnewMap.get(Contant.AI134);
+                    ProBasicEquipmentPoint point = windturbinetestingpointnewMap.get(ContantXk.CJ_YLZSGD);
                     wtpointls.add(point);
                 }
-                if(windturbinetestingpointnewMap.containsKey(Contant.AI178))
+                if(windturbinetestingpointnewMap.containsKey(ContantXk.CJ_FDZTXZSGD))
                 {
-                    ProBasicEquipmentPoint point = windturbinetestingpointnewMap.get(Contant.AI178);
+                    ProBasicEquipmentPoint point = windturbinetestingpointnewMap.get(ContantXk.CJ_FDZTXZSGD);
                     wtpointls.add(point);
                 }
-                if(windturbinetestingpointnewMap.containsKey(Contant.AI443))
+                if(windturbinetestingpointnewMap.containsKey(ContantXk.CJ_SCADA_YGSD))
                 {
-                    ProBasicEquipmentPoint point = windturbinetestingpointnewMap.get(Contant.AI443);
+                    ProBasicEquipmentPoint point = windturbinetestingpointnewMap.get(ContantXk.CJ_SCADA_YGSD);
                     wtpointls.add(point);
                 }
 
-                if(windturbinetestingpointnewMap.containsKey(Contant.AI129))
-                {
-                    ProBasicEquipmentPoint point = windturbinetestingpointnewMap.get(Contant.AI129);
-                    WindturbineQXDic3.put(wt.getId(),point);
-                }
-
-                if(windturbinetestingpointnewMap.containsKey(Contant.DI11139))
-                {
-                    ProBasicEquipmentPoint point = windturbinetestingpointnewMap.get(Contant.DI11139);
-                    WindturbineQXDic2.put(wt.getCode(),point);
-                }
-                if(windturbinetestingpointnewMap.containsKey(Contant.DI10923))
-                {
-                    ProBasicEquipmentPoint point = windturbinetestingpointnewMap.get(Contant.DI10923);
-                    WindturbineQXDic2.put(wt.getCode(),point);
-                }
+//                if(windturbinetestingpointnewMap.containsKey(ContantXk.CJ_ZSGD))
+//                {
+//                    ProBasicEquipmentPoint point = windturbinetestingpointnewMap.get(ContantXk.CJ_ZSGD);
+//                    WindturbineQXDic3.put(wt.getId(),point);
+//                }
+//
+//                if(windturbinetestingpointnewMap.containsKey(ContantXk.DI11139))
+//                {
+//                    ProBasicEquipmentPoint point = windturbinetestingpointnewMap.get(ContantXk.DI11139);
+//                    WindturbineQXDic2.put(wt.getCode(),point);
+//                }
+//                if(windturbinetestingpointnewMap.containsKey(ContantXk.DI10923))
+//                {
+//                    ProBasicEquipmentPoint point = windturbinetestingpointnewMap.get(ContantXk.DI10923);
+//                    WindturbineQXDic2.put(wt.getCode(),point);
+//                }
 
-                if(windturbinetestingpointnewMap.containsKey(Contant.XCLZT))
+                if(windturbinetestingpointnewMap.containsKey(ContantXk.XDZT))
                 {
-                    ProBasicEquipmentPoint point = windturbinetestingpointnewMap.get(Contant.XCLZT);
+                    ProBasicEquipmentPoint point = windturbinetestingpointnewMap.get(ContantXk.XDZT);
                     WindTurbineQX.add(point);
                 }
             });

+ 121 - 23
realtime/generationXK-service/src/main/java/com/gyee/generation/service/PowerCurveFittingService.java

@@ -1,10 +1,11 @@
 package com.gyee.generation.service;
 
-import com.gyee.common.contant.Contant;
+import com.gyee.common.contant.ContantXk;
+import com.gyee.common.model.DNAVal;
 import com.gyee.common.model.PointData;
 import com.gyee.generation.init.CacheContext;
 import com.gyee.generation.model.auto.*;
-import com.gyee.generation.model.vo.CureFitting;
+import com.gyee.generation.model.vo.CureFittingVo;
 import com.gyee.generation.model.vo.PointVo;
 import com.gyee.generation.model.vo.PointfVo;
 import com.gyee.generation.service.auto.*;
@@ -52,7 +53,7 @@ public class PowerCurveFittingService {
     private IProEconWtPowerCurveFittingService proEconWtPowerCurveFittingService;
 
     //inserttype 0表示正常拟合工作,1表示存值到windturbinePowerCurveFitting表
-    public void CureFitting(Date nowDate, Date begion, int insertType, String fdcId,  List<String> fdjIds) throws Exception {
+    public void cureFitting(Date nowDate, Date begion, int insertType, String fdcId,  List<String> fdjIds) throws Exception {
 
         //日期变为昨天
         Date current = DateUtils.addDays(DateUtils.truncDay(nowDate),-1);
@@ -64,7 +65,7 @@ public class PowerCurveFittingService {
         c.set(Calendar.DAY_OF_MONTH,1);
         Date begin1 = c.getTime();
 
-        Date begin2 = DateUtils.addDays(current,-6);;
+        Date begin2 = DateUtils.addDays(current,-6);
 
         Date end = DateUtils.truncDay(nowDate);
         if (begion.getTime() != new Date(0).getTime() && begion.getTime() != new Date(Long.MAX_VALUE).getTime())
@@ -87,7 +88,7 @@ public class PowerCurveFittingService {
         int month3 =  c.get(Calendar.MONTH)+1;
 
 
-        Map<String, CureFitting> windMap = new HashMap<String, CureFitting>();
+        Map<String, CureFittingVo> windMap = new HashMap<String, CureFittingVo>();
 
 
 
@@ -127,24 +128,24 @@ public class PowerCurveFittingService {
 
                 Map<String, ProBasicEquipmentPoint> windturbinetestingpointnewMap = CacheContext.wtpAimap.get(wt.getId());
 
-                String pointIdGL =windturbinetestingpointnewMap.get(Contant.AI130).getCode();
+                String pointIdGL =windturbinetestingpointnewMap.get(ContantXk.CJ_SSGL).getCode();
 
 
-                String pointIdZT =windturbinetestingpointnewMap.get(Contant.ZTMX).getCode();
+                String pointIdZT =windturbinetestingpointnewMap.get(ContantXk.MXZT).getCode();
 
                 String pointIdFS = "";
-                if (wt.getWindpowerstationId().endsWith("GDC"))
+                if (wt.getWindpowerstationId().indexOf("GDC")>=0)
                 {
-                    pointIdFS = windturbinetestingpointnewMap.get(Contant.IRRAD).getCode();;
+                    pointIdFS = windturbinetestingpointnewMap.get(ContantXk.FCCFTFS70).getCode();;
 
                 }else
                 {
-                    pointIdFS = windturbinetestingpointnewMap.get(Contant.AI022).getCode();
+                    pointIdFS = windturbinetestingpointnewMap.get(ContantXk.CJ_SSFS).getCode();
                 }
 
 
 
-                CureFitting item = new CureFitting();
+                CureFittingVo item = new CureFittingVo();
 
                 item.setPointIdFS(pointIdFS);
                 item.setPointIdZT(pointIdZT);
@@ -383,7 +384,7 @@ public class PowerCurveFittingService {
 
     }
 
-    public void pLCBuild( String key, String stringyear, String stringmonth, Date current, Map<String, CureFitting> windMap, Double modelpower, double speed,
+    public void pLCBuild(String key, String stringyear, String stringmonth, Date current, Map<String, CureFittingVo> windMap, Double modelpower, double speed,
                          List<PointVo> powerPoints, List<PointVo> monthPoints, List<PointVo> yearPoints, List<PointVo> standardPoints, List<PointVo> monthdayPoints, List<PointVo> yeardayPoints, List<PointVo> standarddayPoints)
     {
 
@@ -484,7 +485,7 @@ public class PowerCurveFittingService {
                 if(CacheContext.wtmap.containsKey(windturbineId))
                 {
                     ProBasicWindturbine wt=CacheContext.wtmap.get(windturbineId);
-                    if (wt.getWindpowerstationId().endsWith("GDC"))
+                    if (wt.getWindpowerstationId().indexOf("GDC")>=0)
                     {
                         continue;
                        // item.SPEED = Double.Truncate((Double)pointsF1[i].X);
@@ -516,7 +517,7 @@ public class PowerCurveFittingService {
                 if(CacheContext.wtmap.containsKey(windturbineId)) {
 
                     ProBasicWindturbine wt=CacheContext.wtmap.get(windturbineId);
-                    if (wt.getWindpowerstationId().endsWith("GDC"))
+                    if (wt.getWindpowerstationId().indexOf("GDC")>=0)
                     {
                         continue;
                         //item.SPEED = Double.Truncate((Double)pointsF1[i].X);
@@ -568,7 +569,7 @@ public class PowerCurveFittingService {
 
                 if(CacheContext.wtmap.containsKey(windturbineId)) {
                     ProBasicWindturbine wt=CacheContext.wtmap.get(windturbineId);
-                    if (wt.getWindpowerstationId().endsWith("GDC"))
+                    if (wt.getWindpowerstationId().indexOf("GDC")>=0)
                     {
                         continue;
                         // item.SPEED = Double.Truncate((Double)pointsF2[i].X);
@@ -606,7 +607,7 @@ public class PowerCurveFittingService {
 
                 if(CacheContext.wtmap.containsKey(windturbineId)) {
                     ProBasicWindturbine wt=CacheContext.wtmap.get(windturbineId);
-                    if (wt.getWindpowerstationId().endsWith("GDC"))
+                    if (wt.getWindpowerstationId().indexOf("GDC")>=0)
                     {
                         continue;
                         //item.SPEED = Double.Truncate((Double)pointsF2[i].X);
@@ -669,7 +670,7 @@ public class PowerCurveFittingService {
                 if(CacheContext.wtmap.containsKey(windturbineId)) {
 
                     ProBasicWindturbine wt=CacheContext.wtmap.get(windturbineId);
-                    if (wt.getWindpowerstationId().endsWith("GDC"))
+                    if (wt.getWindpowerstationId().indexOf("GDC")>=0)
                     {
                         continue;
                        // item.SPEED = Double.Truncate((Double)pointsF1[i].X);
@@ -708,7 +709,7 @@ public class PowerCurveFittingService {
                 if(CacheContext.wtmap.containsKey(windturbineId)) {
 
                     ProBasicWindturbine wt=CacheContext.wtmap.get(windturbineId);
-                    if (wt.getWindpowerstationId().endsWith("GDC"))
+                    if (wt.getWindpowerstationId().indexOf("GDC")>=0)
                     {
                         continue;
                         //item.SPEED = Double.Truncate((Double)pointsF1[i].X);
@@ -844,6 +845,88 @@ public class PowerCurveFittingService {
         return result;
     }
 
+    //todo-sl 添加数据筛选
+    private boolean filterData(PointData gl, PointData  fs, PointData zt,double maxvalue,String windturbineId) throws Exception {
+        //判定功率是否超过最大值
+        if(gl.getPointValueInDouble()>maxvalue)
+        {
+            return false;
+        }
+        //判定状态不为运行的进行过滤
+        if(zt.getPointValueInDouble()!=2)
+        {
+            return false;
+        }
+
+        //判定状态不为运行的进行过滤
+        if(zt.getPointValueInDouble()!=2)
+        {
+            return false;
+        }
+
+        //设置时间为10分钟前,10钟前有停机事件数据进行过滤
+        Calendar c=Calendar.getInstance();
+        c.setTimeInMillis(zt.getPointTime());
+        Date end=c.getTime();
+        c.add(Calendar.MINUTE,-10);
+        Date bedin=c.getTime();
+        List<PointData> points =edosUtil.getHistoryDatasSnap(zt.getEdnaId(), bedin.getTime()/1000, end.getTime()/1000);
+        if(!points.isEmpty())
+        {
+            for(PointData p:points)
+            {
+                if(p.getPointValueInDouble()==4)
+                {
+
+                    return false;
+                }
+
+            }
+
+        }
+
+        //设置时间为10分钟后,运行后10分钟数据进行过滤
+        c=Calendar.getInstance();
+        c.setTimeInMillis(zt.getPointTime());
+        bedin=c.getTime();
+        c.add(Calendar.MINUTE,10);
+        end=c.getTime();
+        points =edosUtil.getHistoryDatasSnap(zt.getEdnaId(), bedin.getTime()/1000, end.getTime()/1000);
+        if(!points.isEmpty())
+        {
+            for(PointData p:points)
+            {
+                if(p.getPointValueInDouble()!=2)
+                {
+                    return false;
+                }
+
+            }
+
+        }
+        Map<String, Map<String, ProBasicEquipmentPoint>> wtpAimap = CacheContext.wtpAimap;
+        Map<String, ProBasicEquipmentPoint> wtpointmap=wtpAimap.get(windturbineId);
+        //与保证功率进行对比,偏差大于25%的进行过滤
+        List<String> pointid=new ArrayList<>();
+
+        pointid.add(wtpointmap.get(ContantXk.BZGL).getCode());
+        List<PointData> value=edosUtil.getHistMatrix(pointid,gl.getPointTime()/1000);
+
+
+        if(null !=value && value.size()>0)
+        {
+            double bzgl=value.get(0).getPointValueInDouble();
+            double sjgl=gl.getPointValueInDouble();
+
+            double temp=Math.abs(sjgl-bzgl);
+            if(temp>sjgl*0.25)
+            {
+                return false;
+            }
+        }
+
+        return true;
+    }
 
     //功率曲线拟合
     public void curveFittingBuilder(Date begin, Date end, int dimension, double scale, String pointIdGL, String pointIdFS, String pointIdZT, List<PointVo> myPoints, List<PointVo> myPointsFF, String windturbineId) throws Exception {
@@ -855,11 +938,26 @@ public class PowerCurveFittingService {
         {
             if (StringUtils.notEmp(pointIdGL) && StringUtils.notEmp(pointIdFS))
             {
-                List<PointData> glpoints =edosUtil.getHistoryDatasSnap(pointIdGL, begin.getTime()/1000, end.getTime()/1000);
-                List<PointData> fspoints =edosUtil.getHistoryDatasSnap(pointIdFS, begin.getTime()/1000, end.getTime()/1000);
-                List<PointData> ztpoints =edosUtil.getHistoryDatasSnap(pointIdZT, begin.getTime()/1000, end.getTime()/1000);
+                List<PointData> glpointstemp =edosUtil.getHistoryDatasSnap(pointIdGL, begin.getTime()/1000, end.getTime()/1000);
+                List<PointData> fspointstemp =edosUtil.getHistoryDatasSnap(pointIdFS, begin.getTime()/1000, end.getTime()/1000);
+                List<PointData> ztpointstemp =edosUtil.getHistoryDatasSnap(pointIdZT, begin.getTime()/1000, end.getTime()/1000);
 
 
+                List<PointData> glpoints =new ArrayList<>();
+                List<PointData> fspoints =new ArrayList<>();
+                List<PointData> ztpoints =new ArrayList<>();
+                if(glpointstemp.isEmpty() && fspointstemp.isEmpty() && ztpointstemp.isEmpty() && glpointstemp.size()==fspointstemp.size() &&  fspointstemp.size()==ztpointstemp.size())
+                {
+                    for(int i=0;i<glpointstemp.size();i++)
+                    {
+                        if(filterData(glpointstemp.get(i),fspointstemp.get(i),ztpointstemp.get(i),maxPower,windturbineId))
+                        {
+                            glpoints.add(glpointstemp.get(i));
+                            fspoints.add(fspointstemp.get(i));
+                            ztpoints.add(ztpointstemp.get(i));
+                        }
+                    }
+                }
                 //var ztpoints2 = GoldenHelper.GetHisData(pointIdZT2, begin, end);
 
                 //Console.WriteLine(ztpoints2);
@@ -904,7 +1002,7 @@ public class PowerCurveFittingService {
                         if(CacheContext.wtmap.containsKey(windturbineId)) {
 
                             ProBasicWindturbine wt=CacheContext.wtmap.get(windturbineId);
-                            if (wt.getWindpowerstationId().endsWith("GDC"))
+                            if (wt.getWindpowerstationId().indexOf("GDC")>=0)
                             {
                                 b = (x >= 0 && y > 0);
                             }
@@ -979,7 +1077,7 @@ public class PowerCurveFittingService {
                         if(CacheContext.wtmap.containsKey(windturbineId)) {
 
                             ProBasicWindturbine wt=CacheContext.wtmap.get(windturbineId);
-                            if (wt.getWindpowerstationId().endsWith("GDC"))
+                            if (wt.getWindpowerstationId().indexOf("GDC")>=0)
                             {
                                 b = (x >= 0 && y > 0);
                             }else {

+ 88 - 68
realtime/generationXK-service/src/main/java/com/gyee/generation/service/ShutdownService.java

@@ -1,7 +1,7 @@
 package com.gyee.generation.service;
 
 import com.alibaba.druid.sql.ast.TDDLHint;
-import com.gyee.common.contant.Contant;
+import com.gyee.common.contant.ContantXk;
 import com.gyee.common.model.DNAVal;
 import com.gyee.common.model.PointData;
 import com.gyee.generation.init.CacheContext;
@@ -25,7 +25,7 @@ public class ShutdownService {
     private static final Logger log = LoggerFactory.getLogger(ShutdownService.class);
     @Resource
     private IEdosUtil edosUtil;
-    private final String  ALARMHISTORY="ALARMHISTORY";
+//    private final String  ALARMHISTORY="ALARMHISTORY";
     @Resource
     private IProEconWtPowerCurveFittingService proEconWtPowerCurveFittingService;
     @Resource
@@ -107,12 +107,29 @@ public class ShutdownService {
 
     public void Init()
     {
+//        statusDescription.put(0, "待机");
+//        statusDescription.put(1, "并网");
+//        statusDescription.put(2, "停机");
+//        statusDescription.put(3, "通讯中断");
+//        statusDescription.put(4, "维护");
+//        statusDescription.put(5, "限电");
+
         statusDescription.put(0, "待机");
-        statusDescription.put(1, "并网");
-        statusDescription.put(2, "停机");
-        statusDescription.put(3, "通讯中断");
-        statusDescription.put(4, "维护");
-        statusDescription.put(5, "限电");
+        statusDescription.put(1, "手动停机");
+        statusDescription.put(2, "正常发电");
+        statusDescription.put(3, "缺陷降出力");
+        statusDescription.put(4, "故障停机");
+        statusDescription.put(5, "故障受累");
+        statusDescription.put(6, "检修停机");
+        statusDescription.put(7, "检修受累");
+        statusDescription.put(8, "限电降出力");
+        statusDescription.put(9, "限电停机");
+        statusDescription.put(10, "电网受累");
+        statusDescription.put(11, "环境受累");
+        statusDescription.put(12, "通讯中断");
+        statusDescription.put(13, "设备离线");
+
+
 
 
         String[] appStr = new String[keystr.length];
@@ -133,24 +150,24 @@ public class ShutdownService {
         //筛选风机对应测点
         wtls.stream().forEach(wt->{
             Map<String, ProBasicEquipmentPoint> windturbinetestingpointnewMap = wtpAimap.get(wt.getId());
-            if(windturbinetestingpointnewMap.containsKey(Contant.FJ5T))
+            if(windturbinetestingpointnewMap.containsKey(ContantXk.MXZT))
             {
-                ProBasicEquipmentPoint mxztPoint = windturbinetestingpointnewMap.get(Contant.FJ5T);
+                ProBasicEquipmentPoint mxztPoint = windturbinetestingpointnewMap.get(ContantXk.MXZT);
 
                 items.add(mxztPoint);
             }
 
-            if(windturbinetestingpointnewMap.containsKey(Contant.AI130))
+            if(windturbinetestingpointnewMap.containsKey(ContantXk.CJ_SSGL))
             {
-                ProBasicEquipmentPoint ygglPoint = windturbinetestingpointnewMap.get(Contant.AI130);
+                ProBasicEquipmentPoint ygglPoint = windturbinetestingpointnewMap.get(ContantXk.CJ_SSGL);
 
                 powerPoints.put(ygglPoint.getCode(),ygglPoint);
                 powerpointList.add(ygglPoint);
             }
 
-            if(windturbinetestingpointnewMap.containsKey(Contant.AI022))
+            if(windturbinetestingpointnewMap.containsKey(ContantXk.CJ_SSFS))
             {
-                ProBasicEquipmentPoint mxztPoint = windturbinetestingpointnewMap.get(Contant.AI022);
+                ProBasicEquipmentPoint mxztPoint = windturbinetestingpointnewMap.get(ContantXk.CJ_SSFS);
 
                 speedpointList.add(mxztPoint);
             }
@@ -173,9 +190,9 @@ public class ShutdownService {
                 CacheContext.wpls.stream().forEach(wp->{
 
                     Map<String, ProBasicWppoint> wppointsmap = CacheContext.wppointmap.get(wp.getId());
-                    if(wppointsmap.containsKey(Contant.IRRAD))
+                    if(wppointsmap.containsKey(ContantXk.FCCFTFS70))
                     {
-                        ProBasicWppoint mxztPoint = wppointsmap.get(Contant.IRRAD);
+                        ProBasicWppoint mxztPoint = wppointsmap.get(ContantXk.FCCFTFS70);
 
                         gzdpointList.add(mxztPoint);
                     }
@@ -262,19 +279,19 @@ public class ShutdownService {
             double power = 0;
             if (powerPoints.containsKey(key))
             {
-                power = StringUtils.round(edosUtil.getRealData(powerPoints.get(key).getCode()).getPointValueInDouble(),2);
+                power = StringUtils.round(edosUtil.getRealData(powerPoints.get(key).getCode()).getPointValueInDouble(),4);
 
             }
-            Double value = StringUtils.round(edosUtil.getRealData(statusPoints.get(key).getCode()).getPointValueInDouble(),2);
+            Double value = StringUtils.round(edosUtil.getRealData(statusPoints.get(key).getCode()).getPointValueInDouble(),4);
 
             if (power > 1)
             {
-                status.put(key,value == 5 ? 1 : value.intValue());
+                status.put(key,value == 9 ? 1 : value.intValue());
 
             }
             else
             {
-                status.put(key,value == 5 ? 0 : value.intValue());
+                status.put(key,value == 9 ? 0 : value.intValue());
 
             }
 
@@ -484,7 +501,7 @@ public class ShutdownService {
     /// <param name="status"></param>
     private void updateAndAddStatus2(ProEconWindturbineStatus status) throws Exception {
         Integer oldStatus = (Integer)status.getSatusCode();
-        if (oldStatus == 2 || oldStatus == 4)
+        if (oldStatus == 4 || oldStatus == 6)
         {
 
             ProEconShutdownEvent ose = oldShutdownEvent.get(status.getWindturbineId());
@@ -562,9 +579,9 @@ public class ShutdownService {
         if (shutdwonEvent != null)
         {
 
-            if (currentStatus == 2 || currentStatus == 4)
+            if (currentStatus == 4 || currentStatus == 6)
             {
-                if (oldStatus == 0 || oldStatus == 1 || oldStatus == 3)
+                if (oldStatus == 0 || oldStatus == 1 || oldStatus == 12)
                 {
                     proEconShutdownEventService.save(shutdwonEvent);
 
@@ -573,7 +590,7 @@ public class ShutdownService {
         }
         if (interrup != null)
         {
-            if (currentStatus == 3 && oldStatus != 3)
+            if (currentStatus == 12 && oldStatus != 12)
             {
                 proEconInterruptionService.save(interrup);
 
@@ -582,9 +599,9 @@ public class ShutdownService {
        // 新增 shutdownevent2 实时
         if (shutdwonEvent2 != null)
         {
-            if (currentStatus == 2 || currentStatus == 4)
+            if (currentStatus == 4 || currentStatus == 6)
             {
-                if (oldStatus == 0 || oldStatus == 1 || oldStatus == 3)
+                if (oldStatus == 0 || oldStatus == 1 || oldStatus == 12)
                 {
                     Date dtbegin = DateUtils.addMinutes(shutdwonEvent2.getStopTime(),-30);
                     Date dtend = shutdwonEvent2.getStopTime();
@@ -615,9 +632,9 @@ public class ShutdownService {
             }
         }
 
-        if (oldStatus == 2 || oldStatus == 4)
+        if (oldStatus == 4 || oldStatus == 6)
         {
-            if (currentStatus == 0 || currentStatus == 1 || currentStatus == 3)
+            if (currentStatus == 0 || currentStatus == 1 || currentStatus == 12)
             {
                 ProEconShutdownEvent ose = oldShutdownEvent.get(status.getWindturbineId());
                 if (ose != null)
@@ -629,7 +646,7 @@ public class ShutdownService {
 
                     if (!ose.getStoptypeId().equals("wh"))
                     {
-                        String s =newMethod( status.getWindturbineId(), DateUtils.addMinutes(ose.getStopTime(),-5), date);
+                        String s =newMethod( status.getWindturbineId(), DateUtils.addMinutes(ose.getStopTime(),-9), date);
                         if (StringUtils.notEmp(s))
                         {
                             ose.setStoptypeId(s);
@@ -658,7 +675,7 @@ public class ShutdownService {
                         }
                         else
                         {
-                            String s = newMethod( status.getWindturbineId(), DateUtils.addMinutes(ose2.getStopTime(),-5), date);
+                            String s = newMethod( status.getWindturbineId(), DateUtils.addMinutes(ose2.getStopTime(),-9), date);
                             if (StringUtils.notEmp(s))
                             {
                                 ose2.setStopTypeId(s);
@@ -670,7 +687,7 @@ public class ShutdownService {
 
             }
         }
-        if (oldStatus == 3 && currentStatus != 3)
+        if (oldStatus == 12 && currentStatus != 12)
         {
             ProEconInterruption item = oldInterrup.get(status.getWindturbineId());
             if (item != null)
@@ -688,7 +705,7 @@ public class ShutdownService {
 
 
 
-    
+
 
     private Double calcLossPower(String windturbineId, Date startDate, Date endDate) throws Exception {
         Double result = 0.0;
@@ -704,21 +721,21 @@ public class ShutdownService {
         if(endDate.after(startDate) && c1.get(Calendar.YEAR)==c2.get(Calendar.YEAR))
         {
             //年故障损失电量
-            if(wtpointmap.containsKey(Contant.WTNGZSSDL) )
+            if(wtpointmap.containsKey(ContantXk.NGZSSDL) )
             {
                 double beginvalue=0.0;
                 double endvalue=0.0;
 
-                String[] pointid=new String[1];
-                pointid[0]=wtpointmap.get(Contant.WTNGZSSDL).getCode();
-                DNAVal[] xdbegin=edosUtil.getHistMatrix(pointid,Integer.valueOf(String.valueOf(startDate.getTime()/1000)));
-                DNAVal[] xdend=edosUtil.getHistMatrix(pointid,Integer.valueOf(String.valueOf(endDate.getTime()/1000)));
+                List<String> pointid=new ArrayList<>();
+                pointid.add(wtpointmap.get(ContantXk.NGZSSDL).getCode());
+                List<PointData> xdbegin=edosUtil.getHistMatrix(pointid,startDate.getTime()/1000);
+                List<PointData> xdend=edosUtil.getHistMatrix(pointid,endDate.getTime()/1000);
 
 
-                if(xdbegin.length==1 && xdend.length==1)
+                if(xdbegin.size()==1 && xdend.size()==1)
                 {
-                    beginvalue=xdbegin[0].DValue;
-                    endvalue=xdend[0].DValue;
+                    beginvalue=xdbegin.get(0).getPointValueInDouble();
+                    endvalue=xdend.get(0).getPointValueInDouble();
 
                     if (endvalue > beginvalue) {
                         result =result+(endvalue - beginvalue);
@@ -726,7 +743,7 @@ public class ShutdownService {
                 }
             }
 
-           
+
         }else
         {
             Calendar c=Calendar.getInstance();
@@ -735,21 +752,23 @@ public class ShutdownService {
             //获得1月1日零点值
             Date endtime=c.getTime();
             //年故障损失电量
-            if(wtpointmap.containsKey(Contant.WTNGZSSDL) )
+            if(wtpointmap.containsKey(ContantXk.NGZSSDL) )
             {
                 double beginvalue=0.0;
                 double endvalue=0.0;
 
-                String[] pointid=new String[1];
-                pointid[0]=wtpointmap.get(Contant.WTNGZSSDL).getCode();
-                DNAVal[] xdbegin=edosUtil.getHistMatrix(pointid,Integer.valueOf(String.valueOf(startDate.getTime()/1000)));
-                DNAVal[] xdend=edosUtil.getHistMatrix(pointid,Integer.valueOf(String.valueOf(endtime.getTime()/1000)));
 
 
-                if(xdbegin.length==1 && xdend.length==1)
+                List<String> pointid=new ArrayList<>();
+                pointid.add(wtpointmap.get(ContantXk.NGZSSDL).getCode());
+                List<PointData> xdbegin=edosUtil.getHistMatrix(pointid,startDate.getTime()/1000);
+                List<PointData> xdend=edosUtil.getHistMatrix(pointid,endDate.getTime()/1000);
+
+
+                if(xdbegin.size()==1 && xdend.size()==1)
                 {
-                    beginvalue=xdbegin[0].DValue;
-                    endvalue=xdend[0].DValue;
+                    beginvalue=xdbegin.get(0).getPointValueInDouble();
+                    endvalue=xdend.get(0).getPointValueInDouble();
 
                     if (endvalue > beginvalue) {
                         result =result+(endvalue - beginvalue);
@@ -761,20 +780,21 @@ public class ShutdownService {
 
 
             //日故障损失电量
-            if(wtpointmap.containsKey(Contant.WTNGZSSDL) )
+            if(wtpointmap.containsKey(ContantXk.NGZSSDL) )
             {
 
                 double endvalue=0.0;
 
-                String[] pointid=new String[1];
-                pointid[0]=wtpointmap.get(Contant.WTNGZSSDL).getCode();
-                DNAVal[] xdend=edosUtil.getHistMatrix(pointid,Integer.valueOf(String.valueOf(endDate.getTime()/1000)));
+
+                List<String> pointid=new ArrayList<>();
+                pointid.add(wtpointmap.get(ContantXk.NGZSSDL).getCode());
+                List<PointData> xdend=edosUtil.getHistMatrix(pointid,startDate.getTime()/1000);
 
 
-                if(xdend.length==1)
+                if(xdend.size()==1)
                 {
 
-                    endvalue=xdend[0].DValue;
+                    endvalue=xdend.get(0).getPointValueInDouble();
 
                     if (endvalue > 0) {
                         result =result+endvalue;
@@ -838,7 +858,7 @@ public class ShutdownService {
     //    retValue.WINDTURBINEID = windturbineId;
 
     //    Integer currentStatus = status[windturbineId];
-    //    if (currentStatus == 2 || currentStatus == 4)
+    //    if (currentStatus == 4 || currentStatus == 6)
     //    {
     //        shutdwonEvent = new ProEconShutdownEvent();
     //        shutdwonEvent.ID = Guid.NewGuid().ToString();
@@ -849,12 +869,12 @@ public class ShutdownService {
     //        shutdwonEvent.WINDTURBINEID = windturbineId;
 
 
-    //        if (currentStatus == 2)
+    //        if (currentStatus == 4)
     //        {
-    //            var begin = date.AddMinutes(-5);
+    //            var begin = date.AddMinutes(-9);
     //            var temp = entities.WARNINGRECORDS.Where(it => it.WARNINGTIME >= begin && it.WARNINGTIME <= date && it.WINDTURBINEID == windturbineId).FirstOrDefault();
 
-    //            shutdwonEvent.STOPTYPEID = currentStatus == 2 ? "gzbmq" : "wh";
+    //            shutdwonEvent.STOPTYPEID = currentStatus == 4 ? "gzbmq" : "wh";
     //            if (temp != null)
     //            {
     //                var id = temp.WARNINGID;
@@ -872,7 +892,7 @@ public class ShutdownService {
 
     //        retValue.SHUTDOWNEVENTID = shutdwonEvent.ID;
     //    }
-    //    if (currentStatus == 3)
+    //    if (currentStatus == 12)
     //    {
     //        interrup = new ProEconInterruption();
     //        interrup.PROJECTID = retValue.PROJECTID;
@@ -900,7 +920,7 @@ public class ShutdownService {
         retValue.setWindturbineId(windturbineId);
 
         Integer currentStatus = status.get(windturbineId);
-        if (currentStatus == 2 || currentStatus == 4)
+        if (currentStatus == 4 || currentStatus == 6)
         {
             shutdwonEvent = new ProEconShutdownEvent();
             shutdwonEvent.setId(StringUtils.getUUID());
@@ -919,12 +939,12 @@ public class ShutdownService {
             shutdwonEvent2.setWinpowerstationId(retValue.getWindpowerstationId());
             shutdwonEvent2.setWindturbineId(windturbineId);
 
-            if (currentStatus == 2)
+            if (currentStatus == 4)
             {
-                Date begin =DateUtils.addMinutes(date,-5);
-                Date end = DateUtils.addMinutes(date,5);
-                shutdwonEvent.setStoptypeId(currentStatus == 2 ? "gzbmq" : "wh");
-                shutdwonEvent2.setStopTypeId(currentStatus == 2 ? "gzbmq" : "wh");
+                Date begin =DateUtils.addMinutes(date,-9);
+                Date end = DateUtils.addMinutes(date,9);
+                shutdwonEvent.setStoptypeId(currentStatus == 4 ? "gzbmq" : "wh");
+                shutdwonEvent2.setStopTypeId(currentStatus == 4 ? "gzbmq" : "wh");
                 //读取报警记录表前后五分钟数据,选取第一个报警报警类型
                 String s =newMethod( windturbineId, begin, end);
                 if (StringUtils.notEmp(s))
@@ -943,7 +963,7 @@ public class ShutdownService {
             }
             retValue.setShutdownEventId(shutdwonEvent.getId());
         }
-        if (currentStatus == 3)
+        if (currentStatus == 12)
         {
             interrup = new ProEconInterruption();
             interrup.setProjectId(retValue.getProjectId());
@@ -954,10 +974,10 @@ public class ShutdownService {
         return retValue;
     }
 
-    //TODO-SL
+    //TODO-SL 需要添加报警记录关联停机事件方法
 
     /**
-     * 需要添加报警记录关联停机事件方法
+     *
      * @param windturbineId
      * @param begin
      * @param end

+ 0 - 0
realtime/generationXK-service/src/main/java/com/gyee/generation/service/WindpowerInfoDayService.java


Деякі файли не було показано, через те що забагато файлів було змінено