黄学彪
2020-09-18 c7df85937f73fb347ee0b19e9c052d2d00a6df6c
ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Common/IMessageCommon.cs
@@ -585,6 +585,41 @@
            dic["DistributedMarkNoRecord"] = R.MyInternationalizationString.uAccountNoExists;
            //权限不足
            dic["BeRestrict"] = R.MyInternationalizationString.uBeRestrict;
            //获取消息中心数据
            keys = "MessageCenter/GetMessageCenterPagger";
            dicMsg[keys] = new Dictionary<string, int>();
            dic = dicMsg[keys];
            //指定的住宅不存在
            dic["NoRecord"] = R.MyInternationalizationString.uZigbeeHome_NoRecord;
            //标记消息为已读或未读
            keys = "MessageCenter/TagMessageMessageCenterItem";
            dicMsg[keys] = new Dictionary<string, int>();
            dic = dicMsg[keys];
            //指定的住宅不存在
            dic["NoRecord"] = R.MyInternationalizationString.uZigbeeHome_NoRecord;
            //删除消息
            keys = "MessageCenter/DelMessageCenterItem";
            dicMsg[keys] = new Dictionary<string, int>();
            dic = dicMsg[keys];
            //指定的住宅不存在
            dic["NoRecord"] = R.MyInternationalizationString.uZigbeeHome_NoRecord;
            //标记全部已读或者清空所有消息
            keys = "MessageCenter/TagAllOrClearMessageCenter";
            dicMsg[keys] = new Dictionary<string, int>();
            dic = dicMsg[keys];
            //指定的住宅不存在
            dic["NoRecord"] = R.MyInternationalizationString.uZigbeeHome_NoRecord;
            //子账号删除主帐号分享过来的住宅
            keys = "ZigbeeUsers/SubAccountDelShareHome";
            dicMsg[keys] = new Dictionary<string, int>();
            dic = dicMsg[keys];
            //指定的住宅不存在
            dic["NoRecord"] = R.MyInternationalizationString.uZigbeeHome_NoRecord;
        }
        /// <summary>
@@ -641,7 +676,7 @@
                //在册的Msg
                return Language.StringByID(dicMsg[requestName][statuCode]);
            }
            return "ERROR:" + statuCode;
            return null;
        }
    }
}