移动代码

This commit is contained in:
huangzj
2023-05-25 11:06:33 +08:00
parent 2fcbd9bc37
commit e169fe55a6
178 changed files with 9625 additions and 2 deletions

View File

@@ -0,0 +1,34 @@
package com.njcn.csdevice.enums;
import lombok.Getter;
/**
* pqs
* Advacne枚举
* @author cdf
* @date 2021/6/21
*/
@Getter
public enum AlgorithmResponseEnum {
/**
* A00500 ~ A01550 用于终端模块的枚举
*/
PROJECT_COMMON_ERROR("A00500","同一用户下项目名不能相同"),
DICT_DATA_ERROR("A00501","暂无此字典表类型"),
NDID_ERROR("A00502","存在相同的ndid"),
DATA_ERROR("A00503","存在相同的数据"),
LINE_DATA_ERROR ("A00504","设备下监测点数据缺失"),
;
private final String code;
private final String message;
AlgorithmResponseEnum(String code, String message) {
this.code = code;
this.message = message;
}
}