黄学彪
2020-12-16 0d9f64668fd7350d6a21fd157e32009a96d98134
ZigbeeApp/Shared/Phone/Common/Common/ResidenceOption.cs
File was renamed from ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Common/ResidenceOption.cs
@@ -2,7 +2,7 @@
using System.Collections.Generic;
using System.Text;
namespace Shared.Phone.UserCenter
namespace Shared.Phone
{
    /// <summary>
    /// 住宅的配置
@@ -15,6 +15,19 @@
        /// 是否使用安防快捷方式
        /// </summary>
        public bool SafetyShortcut = false;
        /// <summary>
        /// 登陆权限编号-> 1:主账号自己(本人)  2:赋予管理员权限的成员  3:成员
        /// </summary>
        public int AuthorityNo = 0;
        /// <summary>
        /// 登陆权限编号的翻译名:1:主账号自己(本人)  2:赋予管理员权限的成员  3:成员
        /// </summary>
        public string AuthorityText = string.Empty;
        /// <summary>
        /// 在没有调用接口获取之前的登陆权限编号-> 1:主账号自己(本人)  2:赋予管理员权限的成员  3:成员
        /// </summary>
        [Newtonsoft.Json.JsonIgnore]
        public int OldAuthorityNo = 0;
        /// <summary>
        /// 安防报警信息记录一天内最大的报警数
        /// </summary>
@@ -56,7 +69,7 @@
        public void Save()
        {
            //写入内容
            HdlFileLogic.Current.SaveFileContent(DirNameResourse.ResidenceOptionFile, this);
            HdlFileLogic.Current.SaveFileContent(HdlFileNameResourse.ResidenceOptionFile, this);
        }
        /// <summary>
@@ -65,7 +78,7 @@
        /// <returns></returns>
        public ResidenceOptionClass Load()
        {
            string fileName = DirNameResourse.ResidenceOptionFile;
            string fileName = HdlFileNameResourse.ResidenceOptionFile;
            if (System.IO.File.Exists(fileName) == false)
            {
                return new ResidenceOptionClass();