From 452e8cef1c740d18ee398be6971d9952e41dbd4a Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期三, 12 四月 2023 16:11:50 +0800
Subject: [PATCH] 1
---
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