From b6655c930866fadf3275587f4c692aa658bd9b21 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期三, 24 六月 2020 10:57:07 +0800
Subject: [PATCH] 2020-06-24 1. 修改网络请求方法,改为HttpWebRequest支持自定义超时时间,默认10S。 2.后台回前台,超过20S断开远程重新连接。

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

diff --git a/Crabtree/SmartHome/HDL/Operation/ResponseEntity/ErrorCode.cs b/Crabtree/SmartHome/HDL/Operation/ResponseEntity/ErrorCode.cs
index 80f8a95..08fbe50 100644
--- a/Crabtree/SmartHome/HDL/Operation/ResponseEntity/ErrorCode.cs
+++ b/Crabtree/SmartHome/HDL/Operation/ResponseEntity/ErrorCode.cs
@@ -70,5 +70,11 @@
         public readonly static string InsufficientAuthority = "You don't have full control over this sharer's home!";
         //缃戝叧琚叾瀹冧綇瀹呯粦瀹氾紝涓庣綉鍏抽�氳澶辫触! 璇烽暱鎸夌綉鍏虫寜閽�3S锛岃繘鍏ョ孩鐏父浜紝鐒跺悗閲嶆柊鎼滅储锛�
         public readonly static string GatewayPasswordError = "Failed to communicate with gateway, as the gateway has already been bound to another residence. Please press the gateway button for 3s, and search again when the red light keeps on.";
+        //鎺у埗澶辫触
+        public readonly static string ControlFailure = ", fail to control.";
+        //缃戝叧鏃犲搷搴旓紝璇烽噸璇�!
+        public readonly static string GatewayNoResponse = "No response from gateway, please try again!";
+
+
     }
 }

--
Gitblit v1.8.0