From 9a4b76398009cf76c508d61f7e48fb6f5cb7ac2d Mon Sep 17 00:00:00 2001
From: xm <1271024303@qq.com>
Date: 星期二, 21 七月 2020 09:46:53 +0800
Subject: [PATCH] 请合并最新多功能面板代码

---
 ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Common/UserCenterCommon.cs |  169 +++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 165 insertions(+), 4 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Common/UserCenterCommon.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Common/UserCenterCommon.cs
index cef4eaa..e35c611 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Common/UserCenterCommon.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Common/UserCenterCommon.cs
@@ -34,6 +34,11 @@
         /// </summary>
         public string UserName = string.Empty;
         /// <summary>
+        /// 璁板綍涓婁竴娆$殑鐢ㄦ埛鏄电О(缁欎釜浜轰腑蹇冧慨鏀规樀绉版椂鐢ㄧ殑)
+        /// </summary>
+        [Newtonsoft.Json.JsonIgnore]
+        public string OldUserName = string.Empty;
+        /// <summary>
         /// DistributedMark
         /// </summary>
         [Newtonsoft.Json.JsonIgnore]
@@ -288,6 +293,14 @@
         /// 浜戠杩滅▼鍦ㄧ嚎鐘舵��
         /// </summary>
         public bool MqttOnlineStatus = false;
+        /// <summary>
+        /// 涓庢缃戝叧鍦ㄤ簯绔疎mq閫氫俊鏃讹紝璐熻浇鍔犺В鐨�16浣岮es瀵嗛挜
+        /// </summary>
+        public string AesKey;
+        /// <summary>
+        /// 缃戝叧瀵瑰簲鐨勫敮涓�鐮�
+        /// </summary>
+        public string MacMark;
     }
 
     /// <summary>
@@ -863,6 +876,10 @@
         /// 涓婃姤鏃堕棿(hh:mm:ss)
         /// </summary>
         public string Time = string.Empty;
+        /// <summary>
+        /// 2020.04.13杩藉姞鏂板垎绫� 1:涓�鑸姤璀� 9000:闂ㄩ攣甯稿紑妯″紡鎶ヨ
+        /// </summary>
+        public int MsgDiv = 1;
     }
 
     #endregion
@@ -917,11 +934,11 @@
         /// </summary>
         public bool IsHdlDevice = true;
         /// <summary>
-        /// 璁惧鐨勫叿浣撶被鍨嬬殑缈昏瘧鍚嶅瓧ID锛圧鏂囦欢閲岄潰鐨勶級
+        /// 璁惧鐨勫叿浣撶被鍨嬬殑缈昏瘧鍚嶅瓧ID,涔熷彨瀹樻柟鍚嶅瓧锛圧鏂囦欢閲岄潰鐨勶級
         /// </summary>
         public int ConcreteTextId = R.MyInternationalizationString.UnknowDevice;
         /// <summary>
-        /// 璁惧鐨勫叿浣撶被鍨�(鍊间负鑷畾涔夌殑鍊�,濂藉儚鍙互鏄暅鍍廔D)
+        /// 璁惧鐨勫叿浣撶被鍨�,涔熷彨瀹樻柟绫诲瀷(鍊间负鑷畾涔夌殑鍊�,濂藉儚鍙互鏄暅鍍廔D)
         /// </summary>
         public DeviceConcreteType ConcreteType = DeviceConcreteType.UnKownDevice;
         /// <summary>
@@ -932,6 +949,26 @@
         /// 璁惧鎵�灞炵被鍨嬬殑缈昏瘧鍚嶅瓧ID锛圧鏂囦欢閲岄潰鐨勶級
         /// </summary>
         public int BeloneTextId = R.MyInternationalizationString.UnknowDevice;
+        /// <summary>
+        /// 璁惧鐨勯粯璁ゅ娉ㄧ炕璇戝悕瀛桰D(涓汉涓績涓撶敤,Language鏂囦欢閲岄潰鐨�)
+        /// </summary>
+        public int DefultNameId
+        {
+            get
+            {
+                int value = ConcreteTextId + 20000;
+                //榛樿澶囨敞鍚嶇О鏄湪50000~59999
+                if (50000 <= value && value <= 59999)
+                {
+                    return value;
+                }
+                return ConcreteTextId;
+            }
+        }
+        /// <summary>
+        /// 璁惧鐨勭被鍨嬬炕璇戝悕瀛桰D(涓汉涓績涓撶敤,Language鏂囦欢閲岄潰鐨�)
+        /// </summary>
+        public int ObjectTypeNameId = R.MyInternationalizationString.UnknowDevice;
     }
 
     #endregion
@@ -1177,6 +1214,10 @@
         /// </summary>
         public bool IsReading = false;
         /// <summary>
+        /// 鏄惁宸茶(listMsg鍖归厤,瀵瑰簲涓�鏉℃暟鎹噷闈㈠寘鍚涓姤璀�)
+        /// </summary>
+        public List<bool> ListReading = new List<bool>();
+        /// <summary>
         /// 鏃堕棿 2019-09-10T13:11:55
         /// </summary>
         public string CreatedOnUtc = string.Empty;
@@ -1189,9 +1230,9 @@
         /// </summary>
         public string MsgObjectText = string.Empty;
         /// <summary>
-        /// 娑堟伅鏂囨湰
+        /// 娑堟伅鏂囨湰(瀵瑰簲涓�鏉℃暟鎹噷闈㈠寘鍚涓姤璀�)
         /// </summary>
-        public string MsgText = string.Empty;
+        public List<string> listMsg = new List<string>();
     }
 
     /// <summary>
@@ -1246,6 +1287,126 @@
         /// 鏄剧ず璁惧鍘嗗彶鐗堟湰 1 -> 鏄剧ず
         /// </summary>
         public int DeviceHistory = 0;
+        /// <summary>
+        /// 妫�娴嬭兘鍚﹀箍鎾緱鍒扮綉鍏� 1->寮�鍚�
+        /// </summary>
+        public int CheckCanReceiveGateway = 0;
+        /// <summary>
+        /// 寮哄埗璺宠浆鐪熷疄璁惧鐣岄潰 1->璁惧鍒楄〃寮哄埗璺宠浆
+        /// </summary>
+        public int GotoRealDeviceForm = 0;
+        /// <summary>
+        /// 寮哄埗璺宠浆缃戝叧浜у搧鐣岄潰 1->缃戝叧鍒楄〃寮哄埗璺宠浆
+        /// </summary>
+        public int GotoGatewayProductInfoForm = 0;
+        /// <summary>
+        /// 鑷姩鍖栧父寮�鏃堕棿鍙樻洿涓哄垎閽�,鑰屼笉鏄皬鏃� 1->寮哄埗鍙樻洿涓哄垎閽�
+        /// </summary>
+        public int DoorLockNomallyOpenTimeMode = 0;
+        /// <summary>
+        /// 鏄惁灏嗗彂閫佸強鎺ユ敹鍒扮殑鏁版嵁鍐欏叆鍒癓og涓� 1->鍐欏叆
+        /// </summary>
+        public int WriteSendAndReceveDataToFile = 0;
+        /// <summary>
+        /// 鏄惁灏哠ocketReceive鐨勬暟鎹啓鍏ュ埌Log涓� 1->鍐欏叆
+        /// </summary>
+        public int WriteSocketReceiveDataToFile = 0;
     }
     #endregion
+
+    #region 鈻� 闂ㄩ攣鐨勬姤璀︾粨鏋淿_____________________
+
+    /// <summary>
+    /// 闂ㄩ攣鐨勬姤璀︾粨鏋�
+    /// </summary>
+    public class DoorLockAlarmsResult
+    {
+        /// <summary>
+        /// 鎶ヨ绫诲瀷
+        /// </summary>
+        public int AlarmCode = -1;
+        /// <summary>
+        /// Clusterid
+        /// </summary>
+        public int Clusterid = -1;
+    }
+
+    #endregion
+
+    #region 鈻� 鑷姩鍖栨帹閫佺粨鏋淿_____________________
+
+    /// <summary>
+    /// 鑷姩鍖栨帹閫佸唴瀹�
+    /// </summary>
+    public class LogicPushResult
+    {
+        /// <summary>
+        /// 鑷姩鍖朓D
+        /// </summary>
+        public int LogicId = -1;
+        /// <summary>
+        /// 鑷姩鍖栧悕绉�
+        /// </summary>
+        public string LogicName = string.Empty;
+        /// <summary>
+        /// 鑷姩鍖栨帹閫佸唴瀹�
+        /// </summary>
+        public string LogicCustomPushText = string.Empty;
+        /// <summary>
+        /// 闂ㄩ攣甯稿紑妯″紡鏁版嵁(鑷姩鍖栨帹閫�)
+        /// </summary>
+        public DoorNormallyOpenData ActionData = null;
+    }
+
+    /// <summary>
+    /// 闂ㄩ攣甯稿紑妯″紡鏁版嵁(鑷姩鍖栨帹閫�)
+    /// </summary>
+    public class DoorNormallyOpenData
+    {
+        /// <summary>
+        /// 8:甯稿紑妯″紡鐨勬暟鎹�
+        /// </summary>
+        public int Actiontype = -1;
+        /// <summary>
+        /// 闂ㄩ攣Mac鍦板潃
+        /// </summary>
+        public string MacStr = string.Empty;
+        /// <summary>
+        /// 闂ㄩ攣绔彛鍙�
+        /// </summary>
+        public int Epoint = -1;
+        /// <summary>
+        /// 璁剧疆鑷姩鍖栨椂锛屽彂閫佺殑閫忎紶鏁版嵁 055704010112:甯稿紑妯″紡鎵撳紑  055704010113:甯稿紑妯″紡鍏抽棴
+        /// </summary>
+        public string PassDataString = string.Empty;
+    }
+
+    #endregion
+
+    #region 鈻� 缃戝叧鍥炲鎺ユ敹绫籣_____________________
+
+    /// <summary>
+    /// 缃戝叧鍥炲鎺ユ敹绫�
+    /// </summary>
+    public class ReceiptGatewayResult
+    {
+        /// <summary>
+        /// 閿欒娑堟伅,濡傛灉娌℃湁閿欒,鍒欎负null(缃戝叧瓒呮椂涔熶负null)
+        /// </summary>
+        public string ErrorMsg = null;
+        /// <summary>
+        /// 閿欒娑堟伅鐨勭被鍨� -1:缃戝叧瀵硅薄涓㈠け 0:瓒呮椂缃戝叧娌℃湁鍥炲  1:姝e父
+        /// </summary>
+        public int ErrorMsgDiv = 1;
+        /// <summary>
+        /// 鎺ユ敹鐨勬暟鎹�
+        /// </summary>
+        public string ReceiptData = null;
+        /// <summary>
+        /// 鎺ユ敹鐨勬暟鎹�(澶氫釜杩斿洖涓婚涓撶敤)
+        /// </summary>
+        public string[] listReceiptData = null;
+    }
+
+    #endregion
 }

--
Gitblit v1.8.0