ソースを参照

ProBasicEquipmentBranchPointServiceImpl

xushili 1 年間 前
コミット
defc9cbd05

+ 16 - 0
web/runeconomy-jjyx/src/main/java/com/gyee/runeconomy/mapper/fitting/ProBasicEquipmentBranchPointMapper.java

@@ -0,0 +1,16 @@
+package com.gyee.runeconomy.mapper.fitting;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.runeconomy.model.fitting.ProBasicEquipmentBranchPoint;
+
+/**
+ * <p>
+ * 支路测点 Mapper 接口
+ * </p>
+ *
+ * @author gfhd
+ * @since 2023-06-29
+ */
+public interface ProBasicEquipmentBranchPointMapper extends BaseMapper<ProBasicEquipmentBranchPoint> {
+
+}

+ 320 - 0
web/runeconomy-jjyx/src/main/java/com/gyee/runeconomy/model/fitting/ProBasicEquipmentBranchPoint.java

@@ -0,0 +1,320 @@
+package com.gyee.runeconomy.model.fitting;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+
+import java.io.Serializable;
+import java.math.BigDecimal;
+
+/**
+ * <p>
+ * 支路测点
+ * </p>
+ *
+ * @author gfhd
+ * @since 2023-06-29
+ */
+@TableName("pro_basic_equipment_branch_point")
+public class ProBasicEquipmentBranchPoint implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 编号
+     */
+    private String id;
+
+    /**
+     * 编码
+     */
+    private String nemCode;
+
+    /**
+     * 名称
+     */
+    private String name;
+
+    /**
+     * 简称
+     */
+    private String aname;
+
+    /**
+     * 单位
+     */
+    private String valueUnit;
+
+    /**
+     * 英文名称
+     */
+    private String englishName;
+
+    /**
+     * 最大值
+     */
+    private BigDecimal maxval;
+
+    /**
+     * 最小值
+     */
+    private BigDecimal minval;
+
+    /**
+     * 合理最大值
+     */
+    private BigDecimal reasonableMaxval;
+
+    /**
+     * 合理最小值
+     */
+    private BigDecimal reasonableMinval;
+
+    /**
+     * 支路编号
+     */
+    private String windturbineId;
+
+    /**
+     * 统一编码
+     */
+    private String uniformCode;
+
+    /**
+     * 短ID
+     */
+    private String shortId;
+
+    /**
+     * 长ID
+     */
+    private String longId;
+
+    /**
+     * 场站编号
+     */
+    private String windpowerstationId;
+
+    /**
+     * 实时配置编号
+     */
+    private String realtimeId;
+
+    /**
+     * 设备ID
+     */
+    private String equipmentId;
+
+    /**
+     * 集团测点编号
+     */
+    private String groupPointId;
+
+    /**
+     * 具体名称
+     */
+    private String specificName;
+
+    /**
+     * 系数
+     */
+    private BigDecimal coefficient;
+
+    /**
+     * 是否有效
+     */
+    private Short isAble;
+
+    public String getId() {
+        return id;
+    }
+
+    public void setId(String id) {
+        this.id = id;
+    }
+
+    public String getNemCode() {
+        return nemCode;
+    }
+
+    public void setNemCode(String nemCode) {
+        this.nemCode = nemCode;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public void setName(String name) {
+        this.name = name;
+    }
+
+    public String getAname() {
+        return aname;
+    }
+
+    public void setAname(String aname) {
+        this.aname = aname;
+    }
+
+    public String getValueUnit() {
+        return valueUnit;
+    }
+
+    public void setValueUnit(String valueUnit) {
+        this.valueUnit = valueUnit;
+    }
+
+    public String getEnglishName() {
+        return englishName;
+    }
+
+    public void setEnglishName(String englishName) {
+        this.englishName = englishName;
+    }
+
+    public BigDecimal getMaxval() {
+        return maxval;
+    }
+
+    public void setMaxval(BigDecimal maxval) {
+        this.maxval = maxval;
+    }
+
+    public BigDecimal getMinval() {
+        return minval;
+    }
+
+    public void setMinval(BigDecimal minval) {
+        this.minval = minval;
+    }
+
+    public BigDecimal getReasonableMaxval() {
+        return reasonableMaxval;
+    }
+
+    public void setReasonableMaxval(BigDecimal reasonableMaxval) {
+        this.reasonableMaxval = reasonableMaxval;
+    }
+
+    public BigDecimal getReasonableMinval() {
+        return reasonableMinval;
+    }
+
+    public void setReasonableMinval(BigDecimal reasonableMinval) {
+        this.reasonableMinval = reasonableMinval;
+    }
+
+    public String getWindturbineId() {
+        return windturbineId;
+    }
+
+    public void setWindturbineId(String windturbineId) {
+        this.windturbineId = windturbineId;
+    }
+
+    public String getUniformCode() {
+        return uniformCode;
+    }
+
+    public void setUniformCode(String uniformCode) {
+        this.uniformCode = uniformCode;
+    }
+
+    public String getShortId() {
+        return shortId;
+    }
+
+    public void setShortId(String shortId) {
+        this.shortId = shortId;
+    }
+
+    public String getLongId() {
+        return longId;
+    }
+
+    public void setLongId(String longId) {
+        this.longId = longId;
+    }
+
+    public String getWindpowerstationId() {
+        return windpowerstationId;
+    }
+
+    public void setWindpowerstationId(String windpowerstationId) {
+        this.windpowerstationId = windpowerstationId;
+    }
+
+    public String getRealtimeId() {
+        return realtimeId;
+    }
+
+    public void setRealtimeId(String realtimeId) {
+        this.realtimeId = realtimeId;
+    }
+
+    public String getEquipmentId() {
+        return equipmentId;
+    }
+
+    public void setEquipmentId(String equipmentId) {
+        this.equipmentId = equipmentId;
+    }
+
+    public String getGroupPointId() {
+        return groupPointId;
+    }
+
+    public void setGroupPointId(String groupPointId) {
+        this.groupPointId = groupPointId;
+    }
+
+    public String getSpecificName() {
+        return specificName;
+    }
+
+    public void setSpecificName(String specificName) {
+        this.specificName = specificName;
+    }
+
+    public BigDecimal getCoefficient() {
+        return coefficient;
+    }
+
+    public void setCoefficient(BigDecimal coefficient) {
+        this.coefficient = coefficient;
+    }
+
+    public Short getIsAble() {
+        return isAble;
+    }
+
+    public void setIsAble(Short isAble) {
+        this.isAble = isAble;
+    }
+
+    @Override
+    public String toString() {
+        return "ProBasicEquipmentBranchPoint{" +
+            "id = " + id +
+            ", nemCode = " + nemCode +
+            ", name = " + name +
+            ", aname = " + aname +
+            ", valueUnit = " + valueUnit +
+            ", englishName = " + englishName +
+            ", maxval = " + maxval +
+            ", minval = " + minval +
+            ", reasonableMaxval = " + reasonableMaxval +
+            ", reasonableMinval = " + reasonableMinval +
+            ", windturbineId = " + windturbineId +
+            ", uniformCode = " + uniformCode +
+            ", shortId = " + shortId +
+            ", longId = " + longId +
+            ", windpowerstationId = " + windpowerstationId +
+            ", realtimeId = " + realtimeId +
+            ", equipmentId = " + equipmentId +
+            ", groupPointId = " + groupPointId +
+            ", specificName = " + specificName +
+            ", coefficient = " + coefficient +
+            ", isAble = " + isAble +
+        "}";
+    }
+}

+ 16 - 0
web/runeconomy-jjyx/src/main/java/com/gyee/runeconomy/service/fitting/IProBasicEquipmentBranchPointService.java

@@ -0,0 +1,16 @@
+package com.gyee.runeconomy.service.fitting;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.gyee.runeconomy.model.fitting.ProBasicEquipmentBranchPoint;
+
+/**
+ * <p>
+ * 支路测点 服务类
+ * </p>
+ *
+ * @author gfhd
+ * @since 2023-06-29
+ */
+public interface IProBasicEquipmentBranchPointService extends IService<ProBasicEquipmentBranchPoint> {
+
+}

+ 19 - 0
web/runeconomy-jjyx/src/main/java/com/gyee/runeconomy/service/fitting/ProBasicEquipmentBranchPointServiceImpl.java

@@ -0,0 +1,19 @@
+package com.gyee.runeconomy.service.fitting;
+
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.gyee.runeconomy.mapper.fitting.ProBasicEquipmentBranchPointMapper;
+import com.gyee.runeconomy.model.fitting.ProBasicEquipmentBranchPoint;
+import org.springframework.stereotype.Service;
+
+/**
+ * <p>
+ * 支路测点 服务实现类
+ * </p>
+ *
+ * @author gfhd
+ * @since 2023-06-29
+ */
+@Service
+public class ProBasicEquipmentBranchPointServiceImpl extends ServiceImpl<ProBasicEquipmentBranchPointMapper, ProBasicEquipmentBranchPoint> implements IProBasicEquipmentBranchPointService {
+
+}