1.国网上送接口
This commit is contained in:
@@ -4,7 +4,10 @@ import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotEmpty;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* pms-device
|
||||
@@ -224,10 +227,16 @@ public class MonitorParam {
|
||||
@ApiModelProperty(value = "是否专项分析监测点")
|
||||
private Integer isSpecialMonitor;
|
||||
|
||||
@Data
|
||||
public static class Info implements Serializable {
|
||||
@ApiModelProperty(name = "monitorTag",value = "监测点对象标签")
|
||||
@NotNull(message = "监测点对象标签不可为空")
|
||||
private String monitorTag;
|
||||
|
||||
|
||||
|
||||
|
||||
@ApiModelProperty(name = "ids",value = "id集合")
|
||||
@NotEmpty(message = "id集合不能为空")
|
||||
private List<String> ids;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -206,4 +206,17 @@ public class Monitor extends BaseEntity {
|
||||
*/
|
||||
private String ptPhaseType;
|
||||
|
||||
/**
|
||||
* 是否发电用户:0-否;1-是;
|
||||
*/
|
||||
private Integer ifPowerUser;
|
||||
|
||||
/**
|
||||
* 场站属性
|
||||
*/
|
||||
private String fieldStation;
|
||||
/**
|
||||
* 0.以上送 1.未上送 2.取消上送 3.待重新上送
|
||||
*/
|
||||
private Integer isUploadHead;
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ import java.time.LocalDate;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 发电用户
|
||||
* 用电用户
|
||||
* </p>
|
||||
*
|
||||
* @author hongawen
|
||||
|
||||
@@ -117,7 +117,13 @@ public class TractionStation extends BaseEntity {
|
||||
*/
|
||||
private Integer status;
|
||||
|
||||
/**
|
||||
* 监测点状态(字典)
|
||||
*/
|
||||
private String monitorState;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 0.以上送 1.未上送 2.取消上送 3.待重新上送
|
||||
*/
|
||||
private Integer isUploadHead;
|
||||
}
|
||||
|
||||
@@ -38,9 +38,9 @@ public class OverviewVO implements Serializable {
|
||||
private String ytbSumNum;
|
||||
@ApiModelProperty(name = "yhbSumNum", value = "环比监测点数量")
|
||||
private String yhbSumNum;
|
||||
@ApiModelProperty(name = "sumNum", value = "同比监测点占比")
|
||||
@ApiModelProperty(name = "sameNum", value = "同比监测点占比")
|
||||
private String sameNum;
|
||||
@ApiModelProperty(name = "sumNum", value = "环比监测点占比")
|
||||
@ApiModelProperty(name = "ringNum", value = "环比监测点占比")
|
||||
private String ringNum;
|
||||
@ApiModelProperty(name = "setRate", value = "设置率")
|
||||
private String setRate="20.3";
|
||||
|
||||
@@ -0,0 +1,66 @@
|
||||
package com.njcn.device.pms.pojo.vo.gw;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* @author wr
|
||||
* @description
|
||||
* @date 2023/12/12 9:03
|
||||
*/
|
||||
@Data
|
||||
public class PhotovoltaicDto extends Unit{
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 主键 是否必填: 是 */
|
||||
private String id;
|
||||
/** 新能源场站名称 是否必填: 是 */
|
||||
private String stationName;
|
||||
/** 总装机容量 是否必填: 否 */
|
||||
private BigDecimal ratedCapacity;
|
||||
/** 装置额定容量 是否必填: 否 */
|
||||
private BigDecimal deviceCapacity;
|
||||
/** 治理装置类型 是否必填: 否 */
|
||||
private String deviceType;
|
||||
/** 装置电压等级编码 是否必填: 否 */
|
||||
private String deviceVoltageLevel;
|
||||
/** 并网电压等级 是否必填: 否 */
|
||||
private String gcVoltageLevel;
|
||||
/** 是否现场测试 是否必填: 否 */
|
||||
private String isSceneTest;
|
||||
/** 是否专线供电 是否必填: 否 */
|
||||
private String isSpecial;
|
||||
/** 监测点编号 是否必填: 否 */
|
||||
private String monitorId;
|
||||
/** 新能源场站属性 是否必填: 是 */
|
||||
private String monitorObjectType;
|
||||
/** 新能源场站协议容量 是否必填: 是 */
|
||||
private Float stationCapacity;
|
||||
/** 新能源场站id 是否必填: 是 */
|
||||
private String stationId;
|
||||
/** 关联变电站的主键 是否必填: */
|
||||
private String substationId;
|
||||
/** 发电客户标识 是否必填: 否 */
|
||||
private String fcId;
|
||||
/** 发电用户编号 是否必填: 否 */
|
||||
private String fcNo;
|
||||
/** 站房类型 是否必填: 否 */
|
||||
private String stationType;
|
||||
/** 关联变电站名称 是否必填: */
|
||||
private String substationName;
|
||||
/** 关联变电站电压等级 是否必填: */
|
||||
private String substationVoltageLevel;
|
||||
/** 逆变器组网方式 是否必填: 否 */
|
||||
private String inverterNetWorkWay;
|
||||
/** 运行状态 是否必填: 是 */
|
||||
private String runStatus;
|
||||
/** 创建时间 是否必填: */
|
||||
private LocalDateTime createTime;
|
||||
/** 更新时间 是否必填: */
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,120 @@
|
||||
package com.njcn.device.pms.pojo.vo.gw;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @author wr
|
||||
* @description
|
||||
* @date 2023/12/7 14:29
|
||||
*/
|
||||
@Data
|
||||
public class SensitiveUserDto extends Unit{
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
||||
/*主键 是否必填:是*/
|
||||
private String id;
|
||||
/*省id 是否必填:是*/
|
||||
private String provinceId;
|
||||
/*省名称 是否必填:否*/
|
||||
private String provinceName;
|
||||
/*所属地市id 是否必填:是*/
|
||||
private String cityId;
|
||||
/*所属地市名称 是否必填:否*/
|
||||
private String cityName;
|
||||
/*所属区县id 是否必填:否*/
|
||||
private String countyId;
|
||||
/*所属区县名称 是否必填:否*/
|
||||
private String countyName;
|
||||
/*运维班组标识 是否必填:否*/
|
||||
private String maintGroupId;
|
||||
/*运维班组名称 是否必填:否*/
|
||||
private String maintGroupName;
|
||||
/*重要、敏感用户名称 是否必填:是*/
|
||||
private String sensitiveUserName;
|
||||
/*合同容量 是否必填:是*/
|
||||
private Float userProtocolCapacity;
|
||||
/*监测点编号 是否必填:否*/
|
||||
private String monitorId;
|
||||
/*用户标识 是否必填:否*/
|
||||
private String consNo;
|
||||
/*通讯地址 是否必填:否*/
|
||||
private String meterAddress;
|
||||
/*用户类型 是否必填:否*/
|
||||
private String consSort;
|
||||
/*用电类别 是否必填:否*/
|
||||
private String elecTypeCode;
|
||||
/*行业分类 是否必填:否*/
|
||||
private String tradeCode;
|
||||
/*用户电压等级 是否必填:是*/
|
||||
private String consVoltageLevel;
|
||||
/*变电站ID 是否必填:是*/
|
||||
private String stationId;
|
||||
/*变电站名称 是否必填:是*/
|
||||
private String stationName;
|
||||
/*变电站电压等级 是否必填:否*/
|
||||
private String stationVoltageLevel;
|
||||
/*馈线资源ID 是否必填:否*/
|
||||
private String feederId;
|
||||
/*馈线名称 是否必填:否*/
|
||||
private String feederName;
|
||||
/*是否专线用户 是否必填:否*/
|
||||
private String pubPrivFlag;
|
||||
/*变压器ID 是否必填:否*/
|
||||
private String transId;
|
||||
/*变压器名称 是否必填:否*/
|
||||
private String transName;
|
||||
/*变压器类型 是否必填:否*/
|
||||
private String transType;
|
||||
/*变压器性质 是否必填:否*/
|
||||
private String transNature;
|
||||
/*变压器所属运维单位 是否必填:否*/
|
||||
private String maintOrg;
|
||||
/*客户重要性等级 是否必填:否*/
|
||||
private String custImportance;
|
||||
/*重要客户类别 是否必填:否*/
|
||||
private String highRkType;
|
||||
/*是否光伏用户 是否必填:否*/
|
||||
private String fcGcFlag;
|
||||
/*发电方式 是否必填:否*/
|
||||
private String gcTypeCode;
|
||||
/*电能质量问题描述 是否必填:否*/
|
||||
private String problemDesc;
|
||||
/*最后发生日期 是否必填:否*/
|
||||
private Date ocDate;
|
||||
/*是否已实现在线监测 是否必填:否*/
|
||||
private String isMonitoringOnline;
|
||||
/*是否有电能质量治理装置 是否必填:否*/
|
||||
private String haveDevice;
|
||||
/*治理装置类型 是否必填:否*/
|
||||
private String deviceType;
|
||||
/*装置电压等级 是否必填:否*/
|
||||
private String deviceVoltageLevel;
|
||||
/*装置额定容量 是否必填:否*/
|
||||
private BigDecimal deviceCapacity;
|
||||
/*投诉日期 是否必填:否*/
|
||||
private Date complaintDate;
|
||||
/*投诉内容 是否必填:否*/
|
||||
private String complaintContent;
|
||||
/*整改措施 是否必填:否*/
|
||||
private String modifyMethods;
|
||||
/*是否发生投诉 是否必填:否*/
|
||||
private String haveComplaint;
|
||||
/*是否发生质量问题 是否必填:否*/
|
||||
private String havePowerQualityProblem;
|
||||
/*站房类型 是否必填:否*/
|
||||
private String stationType;
|
||||
/*运行状态 是否必填:是*/
|
||||
private String runStatus;
|
||||
/*创建时间 是否必填:*/
|
||||
private LocalDateTime createTime;
|
||||
/*更新时间 是否必填:*/
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,88 @@
|
||||
package com.njcn.device.pms.pojo.vo.gw;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* @author wr
|
||||
* @description
|
||||
* @date 2023/12/8 9:17
|
||||
*/
|
||||
@Data
|
||||
public class TractionStationDTO extends Unit{
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/*主键 是否必填:是*/
|
||||
private String id;
|
||||
|
||||
/*副备变电站id 是否必填:否*/
|
||||
private String auxiliarySubstationId;
|
||||
/*副备变电站名称 是否必填:否*/
|
||||
private String auxiliarySubstationName;
|
||||
/*副备变电站电压等级 是否必填:否*/
|
||||
private String auxiliaryVoltageLevel;
|
||||
/*电缆芯数 是否必填:否*/
|
||||
private String cableCoresNum;
|
||||
/*电缆敷设方式 是否必填:否*/
|
||||
private String cableLayingMethod;
|
||||
/*电缆型号 是否必填:否*/
|
||||
private String cableModel;
|
||||
/*电缆线路长度 是否必填:否*/
|
||||
private BigDecimal cableRouteLength;
|
||||
|
||||
/*牵引站变压器接线方式 是否必填:否*/
|
||||
private String connetGroupWay;
|
||||
|
||||
/*创建时间 是否必填:否*/
|
||||
private LocalDateTime createTime;
|
||||
/*是否专线供电 是否必填:否*/
|
||||
private String ifSpecial;
|
||||
/*主备变电站id 是否必填:否*/
|
||||
private String mainSubstationId;
|
||||
/*主备变电站名称 是否必填:否*/
|
||||
private String mainSubstationName;
|
||||
/*主备变电站电压等级 是否必填:否*/
|
||||
private String mainVolatageLevel;
|
||||
/*监测点编号 是否必填:否*/
|
||||
private String monitorNumber;
|
||||
/*第二个监测点编号 是否必填:否*/
|
||||
private String monitorNumberTwo;
|
||||
|
||||
/*铁路id 是否必填:否*/
|
||||
private String railwayId;
|
||||
/*铁路名称 是否必填:是*/
|
||||
private String railwayName;
|
||||
/*铁路编号 是否必填:否*/
|
||||
private String railwayNumber;
|
||||
/*铁路类型 是否必填:否*/
|
||||
private String railwayType;
|
||||
/*牵引站编号 是否必填:否*/
|
||||
private String tractionCode;
|
||||
/*牵引站变压器容量 是否必填:否*/
|
||||
private Float tractionSubstationCapacity;
|
||||
/*所属变电站id 是否必填:否*/
|
||||
private String tractionSubstationId;
|
||||
/*所属变电站名称 是否必填:否*/
|
||||
private String tractionSubstationName;
|
||||
/*供电电压等级 是否必填:是*/
|
||||
private String tractionVoltageLevel;
|
||||
/*变压器联结组方式 是否必填:否*/
|
||||
private String transformerConnectionGroupMethod;
|
||||
/*变压器额定容量 是否必填:否*/
|
||||
private BigDecimal transformerNameplateCapacity;
|
||||
/*变压器一次侧额定电压等级 是否必填:否*/
|
||||
private String transformerOneVoltageLevel;
|
||||
/*变压器二次侧额定电压等级 是否必填:否*/
|
||||
private String transformerTwoVoltageLevel;
|
||||
/*三相vv额定容量 是否必填:否*/
|
||||
private BigDecimal triphaseVvNameplateCapacity;
|
||||
/*上报日期 是否必填:否*/
|
||||
private LocalDateTime uploadDate;
|
||||
/*运行状态 是否必填:是*/
|
||||
private String runStatus;
|
||||
/*更新时间 是否必填:否*/
|
||||
private LocalDateTime updateTime;
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
package com.njcn.device.pms.pojo.vo.gw;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author wr
|
||||
* @description
|
||||
* @date 2023/12/12 16:23
|
||||
*/
|
||||
@Data
|
||||
public class Unit {
|
||||
/** 省id 是否必填: 是 */
|
||||
private String provinceId;
|
||||
/** 省名称 是否必填: 否 */
|
||||
private String provinceName;
|
||||
/** 所属地市id 是否必填: 是 */
|
||||
private String cityId;
|
||||
/** 所属地市名称 是否必填: 否 */
|
||||
private String cityName;
|
||||
/** 所属区县id 是否必填: 否 */
|
||||
private String countyId;
|
||||
/** 所属区县名称 是否必填: 否 */
|
||||
private String countyName;
|
||||
}
|
||||
@@ -0,0 +1,100 @@
|
||||
package com.njcn.device.pms.pojo.vo.gw;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* @author wr
|
||||
* @description
|
||||
* @date 2023/12/7 8:52
|
||||
*/
|
||||
@Data
|
||||
public class WindSourceDto extends Unit{
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
||||
private String id;
|
||||
|
||||
|
||||
@ApiModelProperty(name = "stationName", value = "新能源场站名称")
|
||||
private String stationName;
|
||||
|
||||
@ApiModelProperty(name = "ratedCapacity", value = "总装机容量")
|
||||
private BigDecimal ratedCapacity;
|
||||
|
||||
@ApiModelProperty(name = "deviceCapacity", value = "装置额定容量")
|
||||
private Float deviceCapacity;
|
||||
|
||||
@ApiModelProperty(name = "deviceType", value = "治理装置类型")
|
||||
private String deviceType;
|
||||
|
||||
@ApiModelProperty(name = "deviceVoltageLevel", value = "装置电压等级编码")
|
||||
private String deviceVoltageLevel;
|
||||
|
||||
@ApiModelProperty(name = "gcVoltageLevel", value = "并网电压等级")
|
||||
private String gcVoltageLevel;
|
||||
|
||||
@ApiModelProperty(name = "isSceneTest", value = "是否现场测试")
|
||||
private String isSceneTest;
|
||||
|
||||
@ApiModelProperty(name = "isSpecial", value = "是否专线供电")
|
||||
private String isSpecial;
|
||||
|
||||
@ApiModelProperty(name = "monitorId", value = "监测点编号")
|
||||
private String monitorId;
|
||||
|
||||
@ApiModelProperty(name = "monitorObjectType", value = "新能源场站属性")
|
||||
private String monitorObjectType;
|
||||
|
||||
@ApiModelProperty(name = "stationCapacity", value = "新能源场站协议容量")
|
||||
private Float stationCapacity;
|
||||
|
||||
@ApiModelProperty(name = "stationId", value = "新能源场站id")
|
||||
private String stationId;
|
||||
|
||||
@ApiModelProperty(name = "substationId", value = "关联变电站的主键")
|
||||
private String substationId;
|
||||
|
||||
@ApiModelProperty(name = "fcId", value = "发电客户标识")
|
||||
private String fcId;
|
||||
|
||||
@ApiModelProperty(name = "fcNo", value = "发电用户编号")
|
||||
private String fcNo;
|
||||
|
||||
@ApiModelProperty(name = "stationType", value = "站房类型")
|
||||
private String stationType;
|
||||
|
||||
@ApiModelProperty(name = "substationName", value = "关联变电站名称")
|
||||
private String substationName;
|
||||
|
||||
@ApiModelProperty(name = "substationVoltageLevel", value = "关联变电站电压等级")
|
||||
private String substationVoltageLevel;
|
||||
|
||||
@ApiModelProperty(name = "singleRatedCapacity", value = "单机容量")
|
||||
private Float singleRatedCapacity;
|
||||
|
||||
@ApiModelProperty(name = "windNum", value = "风机台数")
|
||||
private Integer windNum;
|
||||
|
||||
@ApiModelProperty(name = "windStationType", value = "风电场类型")
|
||||
private String windStationType;
|
||||
|
||||
@ApiModelProperty(name = "windType", value = "风机类型编码")
|
||||
private String windType;
|
||||
|
||||
@ApiModelProperty(name = "runStatus", value = "运行状态")
|
||||
private String runStatus;
|
||||
|
||||
@ApiModelProperty(name = "createTime", value = "创建时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
@ApiModelProperty(name = "updateTime", value = "更新时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime updateTime;
|
||||
}
|
||||
Reference in New Issue
Block a user