Commit 3ce6c1cf authored by ZWT's avatar ZWT

feat(吉林演示): 松原

1.开发间开优化结果统计功能,创建间开优化效果统计表,生成对应代码;
2.修改15天,10天,3天,1天间开优化功能,修改代码结构;

BREAKING CHANGE: 无

Closes 无

[skip ci]
parent 60ff3488
......@@ -40,6 +40,11 @@ public class BusinessConstant {
*/
public static final String LINE_FLAG_ID = "000";
/**
* 开井标识
*/
public static final String OPEN_FLAG = "ON";
/**
* 光伏电站
*/
......@@ -196,7 +201,7 @@ public class BusinessConstant {
public static final BigDecimal BIG_DECIMAL_0_35 = BigDecimal.valueOf(0.35);
/**
* 0.3587
* 0.3587 (绿电电费)
*/
public static final BigDecimal BIG_DECIMAL_0_3587 = BigDecimal.valueOf(0.3587);
......
package pps.core.common.entity;
import lombok.Data;
/**
* BaseResultVO
*
* @author ZWT
* @date 2024/11/14
*/
@Data
public class BaseResult<T> {
private Integer code;
private String message;
private T data;
private BaseResult(int code, String message, T data) {
this.code = code;
this.message = message;
this.data = data;
}
}
package pps.core.space.service.data.space_institution_detail;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.List;
/**
* 井口优化结果
*
* @author ZWT
* @date 2024/11/14 17:09
*/
@NoArgsConstructor
@Data
public class OptimizeWellResult {
/**
* 井口ID
*/
private String id;
/**
* 井号
*/
private String name;
/**
* 最大开井时长
*/
private Integer maxSegment;
/**
* 最小开井时长
*/
private Integer minSegment;
/**
* 最大关井时长
*/
private Integer maxSpace;
/**
* 最小关井时长
*/
private Integer minSpace;
/**
* 运行功率
*/
private Double power;
/**
* 每日运行时长
*/
private Integer totalOn;
/**
* 优化结果
*/
private List<OnOffDTO> onOff;
/**
* 优化结果
*/
@NoArgsConstructor
@Data
public static class OnOffDTO {
/**
* 开关(ON_开,OFF_关)
*/
private String stat;
/**
* 开始时间(分钟)
*/
private Integer startTime;
/**
* 结束时间(分钟)
*/
private Integer endTime;
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment