From 18b93d511dc764b469d7c4a7e755f7274f89cdb4 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期一, 27 四月 2020 17:55:14 +0800
Subject: [PATCH] 2020-4-27-1

---
 ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Common/UserCenterCommon.cs |  113 +++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 110 insertions(+), 3 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Common/UserCenterCommon.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Common/UserCenterCommon.cs
index cf4ba8c..7c602f5 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]
@@ -57,6 +62,7 @@
         /// <summary>
         /// 鐧婚檰鏉冮檺缂栧彿鐨勭炕璇戝悕锛�1:涓昏处鍙疯嚜宸�(鏈汉)  2:璧嬩簣绠$悊鍛樻潈闄愮殑鎴愬憳  3:鎴愬憳
         /// </summary>
+        [Newtonsoft.Json.JsonIgnore]
         public string AuthorityText = string.Empty;
         /// <summary>
         /// 鐢ㄦ埛澶村儚鏁版嵁(涓存椂鐢�,浼氱疆绌�)
@@ -863,6 +869,10 @@
         /// 涓婃姤鏃堕棿(hh:mm:ss)
         /// </summary>
         public string Time = string.Empty;
+        /// <summary>
+        /// 2020.04.13杩藉姞鏂板垎绫� 1:涓�鑸姤璀� 9000:闂ㄩ攣甯稿紑妯″紡鎶ヨ
+        /// </summary>
+        public int MsgDiv = 1;
     }
 
     #endregion
@@ -917,11 +927,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 +942,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
@@ -1251,9 +1281,86 @@
         /// </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;
     }
     #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
 }

--
Gitblit v1.8.0