package com.dy.pipIrrRemote.result;
|
|
import lombok.AllArgsConstructor;
|
import lombok.Getter;
|
|
/**
|
* @author ZhuBaoMin
|
* @date 2024-05-07 14:54
|
* @LastEditTime 2024-05-07 14:54
|
* @Description
|
*/
|
@Getter
|
@AllArgsConstructor
|
public enum RemoteResultCode {
|
/**
|
* Valve
|
*/
|
GET_RESULT_IN_ONE_MINUTE(10001,"1分钟后去查看结果"),
|
GET_RESULT_ERROR(10002, "获取结果异常"),
|
PLEASE_SELECT_A_VC(10003, "请选择一张虚拟卡"),
|
IN_USE_VC_CANNOT_OPEN_VALVE(10004, "使用中虚拟卡不能用来开阀"),
|
VALVE_CLOSED(10005, "该取水口不在线或已关阀"),
|
|
/**
|
* RTU
|
*/
|
RTU_NOT_EXIST(20001, "阀控器不存在"),
|
//RTU_ADDR_CANNOT_BE_NULL(20002, "阀控器地址不能为空");
|
|
CLIENT_CARD_NOT_EXIST(30001, "水卡不存在");
|
|
private final Integer code;
|
private final String message;
|
}
|