From 454ac814944cf956ff02b84b70ba2ec68e5e5ea1 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期三, 15 一月 2020 19:38:47 +0800
Subject: [PATCH] 2020-01-15 1.优化MQTT连接。 2.增加本地通信加密。

---
 Crabtree/SmartHome/HDL/Operation/ResponseEntity/ErrorCode.cs |   20 +++++++++++++++-----
 1 files changed, 15 insertions(+), 5 deletions(-)

diff --git a/Crabtree/SmartHome/HDL/Operation/ResponseEntity/ErrorCode.cs b/Crabtree/SmartHome/HDL/Operation/ResponseEntity/ErrorCode.cs
index 5a7fd32..8090ec3 100644
--- a/Crabtree/SmartHome/HDL/Operation/ResponseEntity/ErrorCode.cs
+++ b/Crabtree/SmartHome/HDL/Operation/ResponseEntity/ErrorCode.cs
@@ -8,6 +8,8 @@
         public readonly static string NetworkError = "Network Error";
         //鍘熷洜
         public readonly static string Reason = " Reason: ";
+        //璐﹀彿宸叉敞鍐岋紝婵�娲婚偖浠跺凡缁忛噸鏂板彂閫�
+        public readonly static string AccountYesRegisterNoIsverify = "The account is registered and the activation email has been resent!";
         //璐﹀彿鏈縺娲�
         public readonly static string NOTVERIFY = "Account is not activated!";
         //璐﹀彿鎴栧瘑鐮侀敊璇�
@@ -38,8 +40,8 @@
         public readonly static string CurrentHomeExixtsGatewayBind = "The home still has a gateway binding, please untie it first!";
         //浜や粯澶囦唤, 涓嶈兘鍒犻櫎!
         public readonly static string DeliveryBackNoUpdateDel = "Delivery backup, cannot be deleted!";
-        //浣忓畢鏈粦瀹氱綉鍏筹紒
-        public readonly static string HomeNoRecord = "Home unbound gateway!";
+        //浣忓畢鏈粦瀹氱綉鍏�  璇峰厛缁戝畾鏃犵嚎缃戝叧! 
+        public readonly static string HomeNoRecord = "Please bind the gateway first!";
         //浣忓畢涓嶅瓨鍦紒
         public readonly static string HomeNoExist = "Home doesn't exist!";
         //鐢熸垚鐨凣uid宸插瓨鍦�
@@ -56,10 +58,18 @@
         public readonly static string NoAddMainAccount = "Can't bind master account!";
         //鑾峰彇浣忓畢鐨勭綉鍏冲垪琛ㄥけ璐ワ紒
         public readonly static string FailedGetGatewaysForHome = "Failed to get list of gateways for home!";
-        
-        //姝ょ綉鍏冲凡缁戝畾鍒颁竴涓綇鎵�锛岃鍦ㄧ粦瀹氬埌鍙︿竴涓綇鎵�涔嬪墠灏嗗叾閲嶇疆銆傛垨鑰呴暱鎸夌綉鍏虫寜閿�3S锛屽彉鎴愮孩鐏父浜繘鍏ュ己鍒剁粦瀹氭ā寮忥紒
-        public readonly static string UnableToBindGateway = "This gateway is already bound to one residence, please reset it before binding to another residence.Or long press the gateway button 3S, the red light is always on to enter the forced binding mode!";
+
+        //姝ょ綉鍏冲凡缁戝畾鍒颁竴涓綇鎵�锛岃鍦ㄧ粦瀹氬埌鍙︿竴涓綇鎵�涔嬪墠灏嗗叾閲嶇疆銆傛垨鑰呴暱鎸夌綉鍏虫寜閿�3S锛屽彉鎴愮孩鐏父浜紝鐒跺悗閲嶈瘯锛�
+        public readonly static string UnableToBindGateway = "This gateway is already bound to one residence, please reset it before binding to another residence.Or long press the gateway button 3S, the red light is always on, and then try again!";
         //缃戝叧鍥轰欢鐗堟湰杩囦綆锛岃鍏堝崌绾э紒
         public readonly static string GatewayVersionLow = "The gateway firmware version is too low, please upgrade first!";
+        //璇峰厛缁戝畾鏃犵嚎缃戝叧  2020-01-11
+        public readonly static string BindGatewayFirst = "Please bind the gateway first!";
+        //鎮ㄧ殑甯愭埛宸插湪鍙︿竴鍙拌澶囦娇鐢ㄨ繙绋嬭繛鎺ョ櫥褰曪紒
+        public readonly static string LoginInAnotherDevice = "Your account is signed in with a remote connection on another device!";
+        //鎮ㄥ苟涓嶅叿鏈夋鍒嗕韩鑰呮浣忓畢鐨勫畬鍏ㄦ帶鍒舵潈闄�!
+        public readonly static string InsufficientAuthority = "You don't have full control over this sharer's home!";
+        //瀵嗙爜閿欒鎴栬�呯綉鍏宠鍏跺畠浣忓畢缁戝畾锛屼笌缃戝叧閫氳澶辫触! 璇烽暱鎸夌綉鍏虫寜閽�3S锛岃繘鍏ョ孩鐏父浜紝鐒跺悗閲嶆柊鎼滅储锛�
+        public readonly static string GatewayPasswordError = "The password is wrong or the gateway is bound by another home, communication with the gateway failed! Please long press the gateway button 3S, the red light is always on, and then search again!";
     }
 }

--
Gitblit v1.8.0