com.dahuatech.icc.assesscontrol.constant.ParamConstant Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-sdk-accesscontrol Show documentation
Show all versions of java-sdk-accesscontrol Show documentation
Dahua ICC Open API SDK for Java
package com.dahuatech.icc.assesscontrol.constant;
/**
* program:java-sdk
*
* Author: 312013
* Date:2022-07-13 09:28
* Description: 门禁子系统错误枚举类
*/
public enum ParamConstant {
//门组
DOORGROUP_PARAM_ERROR("872001","参数错误"),
//通道控制
CHANNEL_CONTROL_PARAM_ERROR("873001", "参数错误"),
//设备树
RESOURCE_TREE_PARAM_ERROR("874001", "参数错误"),
//门组
DOOR_GROUP_PARAM_ERROR("875001", "参数错误"),
//开门计划
TIME_QUANTUM_PARAM_ERROR("876001", "参数错误"),
//首卡
FIRST_CARD_PARAM_ERROR("877001", "参数错误"),
//多卡
MUTIL_CARD_PARAM_ERROR("878001", "参数错误"),
//人员组
PERSON_GROUP_PARAM_ERROR("879001", "参数错误"),
//常开常闭
NORMAL_OPEN_PARAM_ERROR("870001", "参数错误"),
;
private String code;
private String errMsg;
ParamConstant(String code, String errMsg){
this.code = code;
this.errMsg = errMsg;
}
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code;
}
public String getErrMsg() {
return errMsg;
}
public void setErrMsg(String errMsg) {
this.errMsg = errMsg;
}
}