|
@@ -0,0 +1,407 @@
|
|
|
+package com.gyee.gaia.metrics.dao.entity;
|
|
|
+
|
|
|
+import javax.persistence.Column;
|
|
|
+import javax.persistence.Entity;
|
|
|
+import javax.persistence.Id;
|
|
|
+import javax.persistence.Table;
|
|
|
+
|
|
|
+/**
|
|
|
+ * 状态转换实体类
|
|
|
+ */
|
|
|
+
|
|
|
+@Entity
|
|
|
+@Table(name = "CONVERSIONRATESTATS")
|
|
|
+public class ConversionRateStatsEntity {
|
|
|
+ /**
|
|
|
+ * ID MG01_01-20230508
|
|
|
+ */
|
|
|
+ @Id
|
|
|
+ @Column(name = "ID")
|
|
|
+ private String id;
|
|
|
+ @Column(name = "WINDTURBINEID")
|
|
|
+ private String windturbineId;
|
|
|
+ /**
|
|
|
+ * 场站ID
|
|
|
+ */
|
|
|
+ @Column(name = "STATIONID")
|
|
|
+ private String station;
|
|
|
+ /**
|
|
|
+ * 时间戳
|
|
|
+ */
|
|
|
+ @Column(name = "TIME")
|
|
|
+ private long time;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 未及时转换次数(包括周期内没有转换或超过20分钟转换)
|
|
|
+ */
|
|
|
+ @Column(name = "COUNTUNCONVERTEDALL")
|
|
|
+ private int countUnconvertedAll;
|
|
|
+ /**
|
|
|
+ * 所有次数(包括转换不及时以及未转换的)
|
|
|
+ */
|
|
|
+ @Column(name = "COUNTALL")
|
|
|
+ private int countAll;
|
|
|
+ /**
|
|
|
+ * 所有操作5分钟内次数
|
|
|
+ */
|
|
|
+ @Column(name = "COUNTALL5")
|
|
|
+ private int countAll5;
|
|
|
+ /**
|
|
|
+ * 所有操作10分钟内次数
|
|
|
+ */
|
|
|
+ @Column(name = "COUNTALL10")
|
|
|
+ private int countAll10;
|
|
|
+ /**
|
|
|
+ * 所有操作15分钟内次数
|
|
|
+ */
|
|
|
+ @Column(name = "COUNTALL15")
|
|
|
+ private int countAll15;
|
|
|
+ /**
|
|
|
+ * 所有操作20分钟内次数
|
|
|
+ */
|
|
|
+ @Column(name = "COUNTALL20")
|
|
|
+ private int countAll20;
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 启动不及时次数
|
|
|
+ * COUNTUNCONVERTEDSTART
|
|
|
+ * COUNTUNCONVERTEDSTART
|
|
|
+ */
|
|
|
+ @Column(name = "COUNTUNCONVERTEDSTART")
|
|
|
+ private int countUnconvertedStart;
|
|
|
+ /**
|
|
|
+ * 所有启动次数(包括不及时)
|
|
|
+ */
|
|
|
+ @Column(name = "COUNTSTART")
|
|
|
+ private int countStart;
|
|
|
+ @Column(name = "COUNTSTART5")
|
|
|
+ private int countStart5;
|
|
|
+ @Column(name = "COUNTSTART10")
|
|
|
+ private int countStart10;
|
|
|
+ @Column(name = "COUNTSTART15")
|
|
|
+ private int countStart15;
|
|
|
+ @Column(name = "COUNTSTART20")
|
|
|
+ private int countStart20;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 所有次数(包括不及时)
|
|
|
+ */
|
|
|
+ @Column(name = "COUNTUNCONVERTEDSTOP")
|
|
|
+ private int countUnconvertedStop;
|
|
|
+ @Column(name = "COUNTSTOP")
|
|
|
+ private int countStop;
|
|
|
+ @Column(name = "COUNTSTOP5")
|
|
|
+ private int countStop5;
|
|
|
+ @Column(name = "COUNTSTOP10")
|
|
|
+ private int countStop10;
|
|
|
+ @Column(name = "COUNTSTOP15")
|
|
|
+ private int countStop15;
|
|
|
+ @Column(name = "COUNTSTOP20")
|
|
|
+ private int countStop20;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 所有次数(包括不及时)
|
|
|
+ */
|
|
|
+ @Column(name = "COUNTUNCONVERTEDMAINTAIN")
|
|
|
+ private int countUnconvertedMaintain;
|
|
|
+ @Column(name = "COUNTMAINTAIN")
|
|
|
+ private int countMaintain;
|
|
|
+ @Column(name = "COUNTMAINTAIN5")
|
|
|
+ private int countMaintain5;
|
|
|
+ @Column(name = "COUNTMAINTAIN10")
|
|
|
+ private int countMaintain10;
|
|
|
+ @Column(name = "COUNTMAINTAIN15")
|
|
|
+ private int countMaintain15;
|
|
|
+ @Column(name = "COUNTMAINTAIN20")
|
|
|
+ private int countMaintain20;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 所有次数(包括不及时)
|
|
|
+ */
|
|
|
+ @Column(name = "COUNTUNCONVERTEDUNMAINTAIN")
|
|
|
+ private int countUnconvertedUnMaintain;
|
|
|
+ @Column(name = "COUNTUNMAINTAIN")
|
|
|
+ private int countUnMaintain;
|
|
|
+ @Column(name = "COUNTUNMAINTAIN5")
|
|
|
+ private int countUnMaintain5;
|
|
|
+ @Column(name = "COUNTUNMAINTAIN10")
|
|
|
+ private int countUnMaintain10;
|
|
|
+ @Column(name = "COUNTUNMAINTAIN15")
|
|
|
+ private int countUnMaintain15;
|
|
|
+ @Column(name = "COUNTUNMAINTAIN20")
|
|
|
+ private int countUnMaintain20;
|
|
|
+
|
|
|
+
|
|
|
+ public String getId() {
|
|
|
+ return id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setId(String id) {
|
|
|
+ this.id = id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getWindturbineId() {
|
|
|
+ return windturbineId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setWindturbineId(String windturbineId) {
|
|
|
+ this.windturbineId = windturbineId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getStation() {
|
|
|
+ return station;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setStation(String station) {
|
|
|
+ this.station = station;
|
|
|
+ }
|
|
|
+
|
|
|
+ public long getTime() {
|
|
|
+ return time;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setTime(long time) {
|
|
|
+ this.time = time;
|
|
|
+ }
|
|
|
+
|
|
|
+ public int getCountUnconvertedAll() {
|
|
|
+ return countUnconvertedAll;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCountUnconvertedAll(int countUnconvertedAll) {
|
|
|
+ this.countUnconvertedAll = countUnconvertedAll;
|
|
|
+ }
|
|
|
+
|
|
|
+ public int getCountAll() {
|
|
|
+ return countAll;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCountAll(int countAll) {
|
|
|
+ this.countAll = countAll;
|
|
|
+ }
|
|
|
+
|
|
|
+ public int getCountAll5() {
|
|
|
+ return countAll5;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCountAll5(int countAll5) {
|
|
|
+ this.countAll5 = countAll5;
|
|
|
+ }
|
|
|
+
|
|
|
+ public int getCountAll10() {
|
|
|
+ return countAll10;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCountAll10(int countAll10) {
|
|
|
+ this.countAll10 = countAll10;
|
|
|
+ }
|
|
|
+
|
|
|
+ public int getCountAll15() {
|
|
|
+ return countAll15;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCountAll15(int countAll15) {
|
|
|
+ this.countAll15 = countAll15;
|
|
|
+ }
|
|
|
+
|
|
|
+ public int getCountAll20() {
|
|
|
+ return countAll20;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCountAll20(int countAll20) {
|
|
|
+ this.countAll20 = countAll20;
|
|
|
+ }
|
|
|
+
|
|
|
+ public int getCountUnconvertedStart() {
|
|
|
+ return countUnconvertedStart;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCountUnconvertedStart(int countUnconvertedStart) {
|
|
|
+ this.countUnconvertedStart = countUnconvertedStart;
|
|
|
+ }
|
|
|
+
|
|
|
+ public int getCountStart() {
|
|
|
+ return countStart;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCountStart(int countStart) {
|
|
|
+ this.countStart = countStart;
|
|
|
+ }
|
|
|
+
|
|
|
+ public int getCountStart5() {
|
|
|
+ return countStart5;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCountStart5(int countStart5) {
|
|
|
+ this.countStart5 = countStart5;
|
|
|
+ }
|
|
|
+
|
|
|
+ public int getCountStart10() {
|
|
|
+ return countStart10;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCountStart10(int countStart10) {
|
|
|
+ this.countStart10 = countStart10;
|
|
|
+ }
|
|
|
+
|
|
|
+ public int getCountStart15() {
|
|
|
+ return countStart15;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCountStart15(int countStart15) {
|
|
|
+ this.countStart15 = countStart15;
|
|
|
+ }
|
|
|
+
|
|
|
+ public int getCountStart20() {
|
|
|
+ return countStart20;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCountStart20(int countStart20) {
|
|
|
+ this.countStart20 = countStart20;
|
|
|
+ }
|
|
|
+
|
|
|
+ public int getCountUnconvertedStop() {
|
|
|
+ return countUnconvertedStop;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCountUnconvertedStop(int countUnconvertedStop) {
|
|
|
+ this.countUnconvertedStop = countUnconvertedStop;
|
|
|
+ }
|
|
|
+
|
|
|
+ public int getCountStop() {
|
|
|
+ return countStop;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCountStop(int countStop) {
|
|
|
+ this.countStop = countStop;
|
|
|
+ }
|
|
|
+
|
|
|
+ public int getCountStop5() {
|
|
|
+ return countStop5;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCountStop5(int countStop5) {
|
|
|
+ this.countStop5 = countStop5;
|
|
|
+ }
|
|
|
+
|
|
|
+ public int getCountStop10() {
|
|
|
+ return countStop10;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCountStop10(int countStop10) {
|
|
|
+ this.countStop10 = countStop10;
|
|
|
+ }
|
|
|
+
|
|
|
+ public int getCountStop15() {
|
|
|
+ return countStop15;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCountStop15(int countStop15) {
|
|
|
+ this.countStop15 = countStop15;
|
|
|
+ }
|
|
|
+
|
|
|
+ public int getCountStop20() {
|
|
|
+ return countStop20;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCountStop20(int countStop20) {
|
|
|
+ this.countStop20 = countStop20;
|
|
|
+ }
|
|
|
+
|
|
|
+ public int getCountUnconvertedMaintain() {
|
|
|
+ return countUnconvertedMaintain;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCountUnconvertedMaintain(int countUnconvertedMaintain) {
|
|
|
+ this.countUnconvertedMaintain = countUnconvertedMaintain;
|
|
|
+ }
|
|
|
+
|
|
|
+ public int getCountMaintain() {
|
|
|
+ return countMaintain;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCountMaintain(int countMaintain) {
|
|
|
+ this.countMaintain = countMaintain;
|
|
|
+ }
|
|
|
+
|
|
|
+ public int getCountMaintain5() {
|
|
|
+ return countMaintain5;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCountMaintain5(int countMaintain5) {
|
|
|
+ this.countMaintain5 = countMaintain5;
|
|
|
+ }
|
|
|
+
|
|
|
+ public int getCountMaintain10() {
|
|
|
+ return countMaintain10;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCountMaintain10(int countMaintain10) {
|
|
|
+ this.countMaintain10 = countMaintain10;
|
|
|
+ }
|
|
|
+
|
|
|
+ public int getCountMaintain15() {
|
|
|
+ return countMaintain15;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCountMaintain15(int countMaintain15) {
|
|
|
+ this.countMaintain15 = countMaintain15;
|
|
|
+ }
|
|
|
+
|
|
|
+ public int getCountMaintain20() {
|
|
|
+ return countMaintain20;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCountMaintain20(int countMaintain20) {
|
|
|
+ this.countMaintain20 = countMaintain20;
|
|
|
+ }
|
|
|
+
|
|
|
+ public int getCountUnconvertedUnMaintain() {
|
|
|
+ return countUnconvertedUnMaintain;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCountUnconvertedUnMaintain(int countUnconvertedUnMaintain) {
|
|
|
+ this.countUnconvertedUnMaintain = countUnconvertedUnMaintain;
|
|
|
+ }
|
|
|
+
|
|
|
+ public int getCountUnMaintain() {
|
|
|
+ return countUnMaintain;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCountUnMaintain(int countUnMaintain) {
|
|
|
+ this.countUnMaintain = countUnMaintain;
|
|
|
+ }
|
|
|
+
|
|
|
+ public int getCountUnMaintain5() {
|
|
|
+ return countUnMaintain5;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCountUnMaintain5(int countUnMaintain5) {
|
|
|
+ this.countUnMaintain5 = countUnMaintain5;
|
|
|
+ }
|
|
|
+
|
|
|
+ public int getCountUnMaintain10() {
|
|
|
+ return countUnMaintain10;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCountUnMaintain10(int countUnMaintain10) {
|
|
|
+ this.countUnMaintain10 = countUnMaintain10;
|
|
|
+ }
|
|
|
+
|
|
|
+ public int getCountUnMaintain15() {
|
|
|
+ return countUnMaintain15;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCountUnMaintain15(int countUnMaintain15) {
|
|
|
+ this.countUnMaintain15 = countUnMaintain15;
|
|
|
+ }
|
|
|
+
|
|
|
+ public int getCountUnMaintain20() {
|
|
|
+ return countUnMaintain20;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCountUnMaintain20(int countUnMaintain20) {
|
|
|
+ this.countUnMaintain20 = countUnMaintain20;
|
|
|
+ }
|
|
|
+}
|