HDL Home App 第二版本 旧平台金堂用 正在使用
黄学彪
2020-12-14 e90209beae6a4e822cecb18e6889f8bda23f630e
ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Common/ResidenceOption.cs
File was renamed from ZigbeeApp/Shared/Phone/Common/Common/ResidenceOption.cs
@@ -2,7 +2,7 @@
using System.Collections.Generic;
using System.Text;
namespace Shared.Phone
namespace Shared.Phone.UserCenter
{
    /// <summary>
    /// 住宅的配置
@@ -15,19 +15,6 @@
        /// 是否使用安防快捷方式
        /// </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>
@@ -69,7 +56,7 @@
        public void Save()
        {
            //写入内容
            HdlFileLogic.Current.SaveFileContent(HdlFileNameResourse.ResidenceOptionFile, this);
            HdlFileLogic.Current.SaveFileContent(DirNameResourse.ResidenceOptionFile, this);
        }
        /// <summary>
@@ -78,7 +65,7 @@
        /// <returns></returns>
        public ResidenceOptionClass Load()
        {
            string fileName = HdlFileNameResourse.ResidenceOptionFile;
            string fileName = DirNameResourse.ResidenceOptionFile;
            if (System.IO.File.Exists(fileName) == false)
            {
                return new ResidenceOptionClass();