package com.shining.cloud.enums.information;

/**
 * @description: 暂态消息返回枚举
 * @author: denghuajun
 * @time: 2019-10-18 10:25:42
 **/

public enum EventMsgCodeEnum {
    TRANSIENT_TYPE(1, "暂态系统"),
    STEADY_TYPE(2, "稳态系统"),
    GETDETAIL_SUCCESS(10101, "获取暂态消息成功"),
    GETDETAIL_FALL(10102, "获取暂态消息失败"),
    GETBASEDETAIL_SUCCESS(10103, "获取暂态事件基本信息成功"),
    GETBASEDETAIL_FALL(10104, "获取暂态事件基本信息失败"),
    GETEIGVALUEDETAIL_SUCCESS(10105, "获取暂态事件特征幅值成功"),
    GETEIGVALUEDETAIL_FALL(10106, "获取暂态事件特征幅值失败"),
    GETWAVEDETAIL_SUCCESS(10107, "获取暂态事件波形成功"),
    GETWAVEDETAIL_FALL(10108, "获取暂态事件波形失败"),
    GETEVADETAIL_SUCCESS(10109, "更新暂态事件评价成功"),
    GETEVADETAIL_FALL(10110, "更新暂态事件评价失败"),
    USERID_WRONG(10111, "用户索引非法"),
    eventDetailIndex_WRONG(10112, "暂降事件ID非法"),
    CLEANMSGINFO_SUCCESS(10113, "清空消息成功"),
    CLEANMSGINFO_FALL(10114, "清空消息失败"),


    REPORTLIST_SUCCESS(10501, "报告查询成功"),
    REPORTLIST_FAIL(10502, "报告查询失败"),
    CUSTOMREPORT_SUCCESS(10503, "自定义申请报告成功"),
    CUSTOMREPORT_FAIL(10504, "自定义申请报告失败"),
    EVENTDETAILREPORTAPPLY_SUCCESS(10505, "暂降事件报告申请成功"),
    EVENTDETAILREPORTAPPLY_FAIL(10506, "暂降事件报告申请失败"),
    EVENTDETAILREPORTDOWNLOAD_SUCCESS(10507, "暂降事件报告下载成功"),
    EVENTDETAILREPORTDOWNLOAD_FAIL(10508, "暂降事件报告下载失败"),
    EVENTDETAILREPORTDOWNLOAD_ERROR(10509, "报告下载未审核"),
    MARKETINGUSERINFO_SUCCESS(10510, "获取营销人员信息成功"),
    MARKETINGUSERINFO_FAIL(10511, "获取营销人员信息失败"),
    EVENTDETAILREPORTAPPLY_NODATA(10512, "事件暂无波形");


    EventMsgCodeEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    private int code;

    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    @Override
    public String toString() {
        return "EventMsgCodeEnum{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                '}';
    }
}
