高低电压穿越相关接口走算法模块
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
package com.njcn.harmonic.pojo.param;
|
||||
|
||||
import com.njcn.web.pojo.param.BaseParam;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import java.time.LocalDate;
|
||||
|
||||
/**
|
||||
* 有功功率趋势实分页查询类
|
||||
* @author guofeihu
|
||||
* @date 2024-08-20
|
||||
*/
|
||||
@Data
|
||||
public class RActivePowerRangeQueryParam extends BaseParam {
|
||||
|
||||
@Data
|
||||
public static class RActivePowerRangeEdit{
|
||||
@ApiModelProperty("id")
|
||||
private String id;
|
||||
|
||||
@NotBlank(message = "监测点ID不能为空")
|
||||
@ApiModelProperty("监测点(*)")
|
||||
private String lineId;
|
||||
|
||||
@NotBlank(message = "日期不能为空")
|
||||
@ApiModelProperty("日期(*)")
|
||||
private LocalDate timeId;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
package com.njcn.harmonic.controller.powerstatistics;
|
||||
|
||||
import com.njcn.harmonic.service.activepowerrange.PowerStatisticsService;
|
||||
import io.swagger.annotations.Api;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import com.njcn.web.controller.BaseController;
|
||||
|
||||
/**
|
||||
* 有功功率趋势统计 前端控制器
|
||||
* @author guofeihu
|
||||
* @since 2024-08-20
|
||||
*/
|
||||
@Slf4j
|
||||
@RestController
|
||||
@RequestMapping("/powerStatistics")
|
||||
@Api(tags = "有功功率趋势")
|
||||
@AllArgsConstructor
|
||||
public class PowerStatisticsController extends BaseController {
|
||||
|
||||
private final PowerStatisticsService powerStatisticsService;
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
package com.njcn.harmonic.service.activepowerrange;
|
||||
|
||||
/**
|
||||
* 有功功率趋势统计 服务类
|
||||
* @author guofeihu
|
||||
* @since 2024-08-20
|
||||
*/
|
||||
public interface PowerStatisticsService {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
package com.njcn.harmonic.service.activepowerrange.impl;
|
||||
|
||||
import com.njcn.harmonic.service.activepowerrange.PowerStatisticsService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* 有功功率趋势统计 服务实现类
|
||||
* @author guofeihu
|
||||
* @since 2024-08-20
|
||||
*/
|
||||
@Service
|
||||
public class PowerStatisticsServiceImpl implements PowerStatisticsService {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user