主配网监测点统计数据算法

This commit is contained in:
2023-12-08 10:56:23 +08:00
parent df070093c5
commit 2f19b720ba
11 changed files with 537 additions and 0 deletions

View File

@@ -0,0 +1,52 @@
package com.njcn.prepare.harmonic.enums;
import lombok.Getter;
/**
* 类的介绍:
*
* @author xuyang
* @version 1.0.0
* @createTime 2023/12/7 14:32
*/
@Getter
public enum UploadEnum {
/**
* 统计层级
*/
STATISTICAL_LEVEL_3("3",""),
STATISTICAL_LEVEL_4("4",""),
STATISTICAL_LEVEL_5("5",""),
NJCN_DEPT_LEVEL_1("1","全国"),
NJCN_DEPT_LEVEL_2("2","省级"),
NJCN_DEPT_LEVEL_3("3","市级"),
NJCN_DEPT_LEVEL_4("4","县级"),
/**
* 统计类型
*/
STATISTICAL_TYPE_01("01","年数据"),
STATISTICAL_TYPE_02("02","月数据"),
STATISTICAL_TYPE_03("03","日数据"),
/**
* 主配网标识
*/
DISTRIBUTION_FLAG_01("01","主网"),
DISTRIBUTION_FLAG_02("02","配网"),
;
private final String code;
private final String message;
UploadEnum(String code, String message) {
this.code = code;
this.message = message;
}
}