BruceLee
2019-09-24 a9f88790c31c8b61d9b90241c4df258a980f1c00
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
using System;
using System.Collections.Generic;
using ZigBee.Device;
 
namespace Shared.Phone.UserCenter
{
    /// <summary>
    /// 个人中心的Resourse
    /// </summary>
    public class UserCenterResourse
    {
        /// <summary>
        /// 当前已经打开了的画面(继承于UserCenterCommonForm才能使用)。
        /// 画面打开时,会自动追击,画面关闭时,自动移除。
        /// Key:画面的ID,列如:UserMainForm
        /// </summary>
        public static Dictionary<string, CommonFormBase> DicActionForm = new Dictionary<string, CommonFormBase>();
        /// <summary>
        /// 密码长度
        /// </summary>
        public static int PasswordLength = 6;
        /// <summary>
        /// 用户登录的信息缓存,切换到个人中心主界面时,就会刷新
        /// </summary>
        public static UserInformation UserInfo = new UserInformation();
        /// <summary>
        /// 成员列表的信息
        /// </summary>
        public static List<MemberInfoRes> ListMemberInfo = new List<MemberInfoRes>();
        /// <summary>
        /// 当前正在操作的画面ID(此变量对临时断网时,非常重要,没人会懂它为何要存在)
        /// </summary>
        public static string NowActionFormID = string.Empty;
        /// <summary>
        /// 当前打开的全部画面ID
        /// </summary>
        public static List<string> listActionFormId = new List<string>();
        /// <summary>
        /// 接受网关在线状态推送的界面
        /// </summary>
        public static List<CommonFormBase> listGatewayOnlinePushForm = new List<CommonFormBase>();
        /// <summary>
        /// 接受设备属性变更推送的界面
        /// </summary>
        public static List<CommonFormBase> listDeviceAttributePushForm = new List<CommonFormBase>();
        /// <summary>
        /// 前一次的住宅ID,这个东西是给UserCenterLogic.InitUserCenterMenmoryAndThread()用的
        /// </summary>
        public static string oldHomeStringId = string.Empty;
        /// <summary>
        /// 前一次的登录账号,这个东西是给UserCenterLogic.InitUserCenterMenmoryAndThread()用的
        /// </summary>
        public static string oldAccountId = string.Empty;
        /// <summary>
        /// APP缓存是否加载完成
        /// </summary>
        public static bool AppLoadMenmoryFinish = false;
        /// <summary>
        /// 本地根目录路径
        /// </summary>
        public static string LocalRootPath = string.Empty;
        /// <summary>
        /// 用户图片目录路径
        /// </summary>
        public static string UserPictruePath = string.Empty;
        /// <summary>
        /// 安防报警信息记录一天内最大的报警数
        /// </summary>
        public static int SafetyOnedayMaxAlarmMsgCount = 50;
        /// <summary>
        /// 安防报警信息记录最大天数
        /// </summary>
        public static int SafetyMaxAlarmMsgDay = 5;
        /// <summary>
        /// 门锁报警信息记录一天内最大的报警数
        /// </summary>
        public static int DoorLockOnedayMaxAlarmMsgCount = 200;
        /// <summary>
        /// 门锁报警信息记录最大天数
        /// </summary>
        public static int DoorLockMaxAlarmMsgDay = 5;
    }
}