package com.shining.cloud.enums.information;

/**
 * @description: 实时数据枚举
 * @author: denghuajun
 * @time: 2019-12-16 10:19:24
 **/

public enum RealTimeInfoEnum {
    GETLINEBASEINFO_SUCCESS(10190,"获取监测点信息成功"),
    GETLINEBASEINFO_FALL(10191,"获取监测点信息失败"),
    GETREALTIMEINFO_SUCCESS(10192,"获取实时数据成功"),
    GETREALTIMEINFO_FALL(10193,"获取实时数据失败"),
    GETHARMRATEVINFO_SUCCESS(10194,"获取谐波电压含有率成功"),
    GETHARMRATEVINFO_FALL(10195,"获取谐波电压含有率失败"),
    GETHARMRATEIINFO_SUCCESS(10196,"获取谐波电流幅值成功"),
    GETHARMRATEIINFO_FALL(10197,"获取谐波电流幅值失败"),
    GETLINEID_SUCCESS(10198,"获取默认监测点成功"),
    GETLINEID_FALL(10199,"获取默认监测点失败"),
    SAME_ACTION(10200,"终端存在相同操作，请稍后再试");
    RealTimeInfoEnum(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;
    }
}
