mac
2023-09-23 b8209d15d915f72d9abe3a68b76e1f4cfd21eac3
app/src/main/java/com/hdl/photovoltaic/uni/HDLUniMP.java
@@ -28,7 +28,8 @@
    public final static String UNI_EVENT_REPLY_Home_DEl = "del";//住宅【电站】删除
    /*********设备模块*********/
    public final static String UNI_EVENT_REPLY_DEVICE_MODEL = "uni_device_model";//设备模块(大类)
    public final static String UNI_EVENT_REPLY_DEVICE_LIST = "list";//逆变器设备列表
    public final static String UNI_EVENT_REPLY_DEVICE_LIST = "list";//本地逆变器设备列表
    public final static String UNI_EVENT_REPLY_DEVICE_NET_LIST = "net_list";//网络逆变器设备列表
    public final static String UNI_EVENT_REPLY_DEVICE_CHILD_LIST = "child_list";//逆变器【下挂】设备列表
    public final static String UNI_EVENT_REPLY_DEVICE_ADD = "add";//设备添加
    public final static String UNI_EVENT_REPLY_DEVICE_DEL = "del";//设备删除
@@ -69,29 +70,27 @@
     */
    public static class UniCallBackBaseBean implements Serializable {
        private String path;//打开小程序路径(暂时用不上)
        private String code;//状态码
        private int code;//状态码
        private String mes;//信息描述
        private String type;//功能类型
        private Object data;//附加json数据
        public UniCallBackBaseBean(String code, String mes) {
        public UniCallBackBaseBean(int code, String mes) {
            this.code = code;
            this.mes = mes;
        }
        public UniCallBackBaseBean() {
            this.code = "0";
            this.code = 0;
            this.mes = "成功";
        }
        public String getCode() {
            return code == null ? "" : code;
        public int getCode() {
            return code;
        }
        public void setCode(String code) {
        public void setCode(int code) {
            this.code = code;
        }
@@ -118,14 +117,6 @@
        public void setType(String type) {
            this.type = type;
        }
        public String getPath() {
            return path == null ? "" : path;
        }
        public void setPath(String path) {
            this.path = path;
        }