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 | 40 +++++++++++++++++++++++++++++++++++++---
1 files changed, 37 insertions(+), 3 deletions(-)
diff --git a/HDL_ON/Common/UserInfo.cs b/HDL_ON/Common/UserInfo.cs
index b7a8838..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>
@@ -166,7 +184,7 @@
{
get
{
- return (DateTime.Now - LastTime).TotalMinutes > 5;
+ return (DateTime.Now - LastTimeOpenDoor).TotalMinutes > 5;
}
}
[Newtonsoft.Json.JsonIgnore]
@@ -181,7 +199,7 @@
/// 璁板綍鑷姩鍖栫瓫閫夌殑鍔熻兘鐨勬潯浠�
/// </summary>
[Newtonsoft.Json.JsonIgnore]
- public string logicselectedFunction;
+ public string logicselectedFunction = Language.StringByID(StringId.allFun);
#endregion
@@ -322,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