using System; using System.Collections.Generic; using ZigBee.Device; namespace Shared.Phone.UserCenter { /// /// 个人中心的Resourse /// public class UserCenterResourse { /// /// 当前已经打开了的画面(继承于UserCenterCommonForm才能使用)。 /// 画面打开时,会自动追击,画面关闭时,自动移除。 /// Key:画面的ID,列如:UserMainForm /// public static Dictionary DicActionForm = new Dictionary(); /// /// 用户登录的信息缓存,切换到个人中心主界面时,就会刷新 /// public static UserInformation UserInfo = new UserInformation(); /// /// 账号的设置信息 /// public static AccountOption Option = new AccountOption(); /// /// 成员列表的信息 /// public static List ListMemberInfo = new List(); /// /// 当前正在操作的画面ID(此变量对临时断网时,非常重要,没人会懂它为何要存在) /// public static string NowActionFormID = string.Empty; /// /// 当前打开的全部画面ID /// public static List listActionFormId = new List(); /// /// 接受网关在线状态推送的界面 /// public static List listGatewayOnlinePushForm = new List(); /// /// 接受设备属性变更推送的界面 /// public static List listDeviceAttributePushForm = new List(); /// /// 前一次的住宅ID,这个东西是给UserCenterLogic.InitUserCenterMenmoryAndThread()用的 /// public static string oldHomeStringId = string.Empty; /// /// 前一次的登录账号,这个东西是给UserCenterLogic.InitUserCenterMenmoryAndThread()用的 /// public static string oldAccountId = string.Empty; /// /// 检测APP是否能够退出 /// public static bool AppCanSignout = false; /// /// 本地根目录路径 /// public static string LocalRootPath = string.Empty; /// /// 用户图片目录路径 /// public static string UserPictruePath = string.Empty; /// /// 安防报警信息记录一天内最大的报警数 /// public static int SafetyOnedayMaxAlarmMsgCount = 50; /// /// 安防报警信息记录最大天数 /// public static int SafetyMaxAlarmMsgDay = 5; /// /// 门锁报警信息记录一天内最大的报警数 /// public static int DoorLockOnedayMaxAlarmMsgCount = 200; /// /// 门锁报警信息记录最大天数 /// public static int DoorLockMaxAlarmMsgDay = 5; } }