From 49add64d7f25448baa06ac5a9ebbeac0a3ae97e0 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期一, 13 一月 2020 13:50:29 +0800
Subject: [PATCH] Version 2.50113 1.优化更新。 2.第一次引导或者添加住宅,默认添加2个房间。编辑住宅不处理。 3.设备名超过20字节限制。 4.修复编辑住宅名字重复不提示问题。 5.优化添加住宅逻辑。

---
 Crabtree/SmartHome/HDL/Operation/ResponseEntity/ErrorCode.cs |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/Crabtree/SmartHome/HDL/Operation/ResponseEntity/ErrorCode.cs b/Crabtree/SmartHome/HDL/Operation/ResponseEntity/ErrorCode.cs
index 08cb12c..530e7e1 100644
--- a/Crabtree/SmartHome/HDL/Operation/ResponseEntity/ErrorCode.cs
+++ b/Crabtree/SmartHome/HDL/Operation/ResponseEntity/ErrorCode.cs
@@ -38,8 +38,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宸插瓨鍦�
@@ -54,10 +54,14 @@
         public readonly static string SubAccountExist = "Account already exists!";
         //涓嶈兘缁戝畾涓昏处鍙�
         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!";
         //缃戝叧鍥轰欢鐗堟湰杩囦綆锛岃鍏堝崌绾э紒
         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!";
     }
 }

--
Gitblit v1.8.0