From 3f6685c77beeb12baf840733fb890860f4c26e7c Mon Sep 17 00:00:00 2001 From: mac <user@users-MacBook-Pro.local> Date: 星期四, 25 七月 2024 17:25:59 +0800 Subject: [PATCH] 2024年07月25日17:24:45 --- HDL_ON/Common/UserInfo.cs | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 58 insertions(+), 1 deletions(-) diff --git a/HDL_ON/Common/UserInfo.cs b/HDL_ON/Common/UserInfo.cs index c82538d..1e53ae7 100644 --- a/HDL_ON/Common/UserInfo.cs +++ b/HDL_ON/Common/UserInfo.cs @@ -40,6 +40,20 @@ headImagePagePath = "LoginIcon/2.png", }; } + else if(Language.CurrentLanguage == "russian") + { + m_Current = new UserInfo() + { + ID = "1234567890", + userName = "袩褉芯斜薪褘泄 邪泻泻邪褍薪褌", + AccountString = "袩褉芯斜薪褘泄 邪泻泻邪褍薪褌", + userMobileInfo = "袩褉芯斜薪褘泄 邪泻泻邪褍薪褌", + userEmailInfo = "袩褉芯斜薪褘泄 邪泻泻邪褍薪褌", + language = "russian", + areaCode = "86", + headImagePagePath = "LoginIcon/2.png", + }; + } else { m_Current = new UserInfo() @@ -130,9 +144,13 @@ ///// </summary> //public byte[] headImagePageBytes = null; /// <summary> - /// + /// 浜戠璁块棶Token 鏈夊墠缂� /// </summary> public string LoginTokenString; + /// <summary> + /// 浜戠璁块棶Token 娌℃湁鍓嶇紑 + /// </summary> + public string AccessToken; /// <summary> /// /// </summary> @@ -159,6 +177,29 @@ return (DateTime.Now - LastTime).TotalDays < 7; } } + + [Newtonsoft.Json.JsonIgnore] + public DateTime LastTimeOpenDoor = DateTime.MinValue; + public bool VerOpenDoorPw + { + get + { + return (DateTime.Now - LastTimeOpenDoor).TotalMinutes > 5; + } + } + [Newtonsoft.Json.JsonIgnore] + public string doorPasswordString; + + /// <summary> + /// 璁板綍鑷姩鍖栫瓫閫夌殑鎴块棿鐨勬潯浠� + /// </summary> + [Newtonsoft.Json.JsonIgnore] + public Entity.Room logicselectedRoom = new Entity.Room { roomId = "6688",roomName = Language.StringByID(StringId.allAreas) }; + /// <summary> + /// 璁板綍鑷姩鍖栫瓫閫夌殑鍔熻兘鐨勬潯浠� + /// </summary> + [Newtonsoft.Json.JsonIgnore] + public string logicselectedFunction = Language.StringByID(StringId.allFun); #endregion @@ -299,5 +340,21 @@ return path + "/"; } + + + /// <summary> + /// 鎺ㄩ�佹秷鎭褰� + /// </summary> + public JPushMessageInfo pushMessageInfo = new JPushMessageInfo(); + /// <summary> + /// 鏄惁宸茬粡鍔犺浇鍛煎彨寮圭獥 + /// </summary> + public bool alreadyShowCallInDialog = false; + + [Newtonsoft.Json.JsonIgnore] + public bool inVideo = false; + [Newtonsoft.Json.JsonIgnore] + public DateTime inCall = DateTime.MinValue; + } } \ No newline at end of file -- Gitblit v1.8.0