黄学彪
2020-09-22 ade5917841b0fdcb1df7353ef7c56b1a1bdc9282
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
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>
        /// 当前正在操作的画面ID(此变量对临时断网时,非常重要,没人会懂它为何要存在)
        /// </summary>
        public static string NowActionFormID = string.Empty;
        /// <summary>
        /// 当前打开的全部画面ID
        /// </summary>
        public static List<string> listActionFormId = new List<string>();
        /// <summary>
        /// 用户登录的信息缓存,切换到个人中心主界面时,就会刷新
        /// </summary>
        public static UserInformation UserInfo = new UserInformation();
        /// <summary>
        /// 账号的设置信息
        /// </summary>
        public static AccountOptionClass AccountOption = new AccountOptionClass();
        /// <summary>
        /// 住宅的设置信息
        /// </summary>
        public static ResidenceOptionClass ResidenceOption = new ResidenceOptionClass();
        /// <summary>
        /// 隐匿配置
        /// </summary>
        public static HideOptionInfo HideOption = new HideOptionInfo();
        /// <summary>
        /// 测试能否广播得到网关,通常情况下为null
        /// </summary>
        public static Dictionary<string, ZbGateway> DicReceiveGatewayTest = null;
        /// <summary>
        /// 文件加密秘钥
        /// </summary>
        public const string FileEncryptKey = "4^Olh_3f";
    }
}