From e90209beae6a4e822cecb18e6889f8bda23f630e Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期一, 14 十二月 2020 11:16:06 +0800
Subject: [PATCH] 合并了晾衣架(非新云端)

---
 ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlGatewayUpdateLogic.cs |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/Common/Logic/HdlGatewayUpdateLogic.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlGatewayUpdateLogic.cs
similarity index 98%
rename from ZigbeeApp/Shared/Phone/Common/Logic/HdlGatewayUpdateLogic.cs
rename to ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlGatewayUpdateLogic.cs
index 815a8bf..eb94ed6 100644
--- a/ZigbeeApp/Shared/Phone/Common/Logic/HdlGatewayUpdateLogic.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlGatewayUpdateLogic.cs
@@ -4,12 +4,12 @@
 using System.Threading.Tasks;
 using ZigBee.Device;
 
-namespace Shared.Phone
+namespace Shared.Phone.UserCenter
 {
     /// <summary>
     /// 缃戝叧鐨勫崌绾ч�昏緫
     /// </summary>
-    public class HdlGatewayUpdateLogic : DeviceUpdateCommon
+    public class HdlGatewayUpdateLogic : HdlDeviceUpdateCommonLogic
     {
         #region 鈻� 鍙橀噺澹版槑___________________________
 
@@ -83,9 +83,9 @@
             {
                 //濡傛灉鏄瓑寰呮ā寮忥紝鍐嶆鐐瑰嚮鏃讹紝绉婚櫎鍒楄〃
                 string gwId = this.upDatezbGateway.GwId;
-                if (HdlFirmwareUpdateResourse.dicUpdateList.ContainsKey(gwId) == true)
+                if (FirmwareUpdateResourse.dicUpdateList.ContainsKey(gwId) == true)
                 {
-                    HdlFirmwareUpdateResourse.dicUpdateList.Remove(gwId);
+                    FirmwareUpdateResourse.dicUpdateList.Remove(gwId);
                 }
                 this.UpdateStatu = UpdateStatuMode.None;
                 //鍙栨秷
@@ -102,12 +102,12 @@
             //杩涘叆绛夊緟妯″紡
             this.UpdateStatu = UpdateStatuMode.Wait;
             string gwId2 = this.upDatezbGateway.GwId;
-            HdlFirmwareUpdateResourse.dicUpdateList[gwId2] = this;
+            FirmwareUpdateResourse.dicUpdateList[gwId2] = this;
             //绛夊緟涓��
             this.UpdateStatuChangedEvent?.Invoke(0, Language.StringByID(R.MyInternationalizationString.uWaitting));
 
             //鎵ц涓嬩竴涓彲鏇存柊鐨勫浐浠剁殑鏇存柊鎿嶄綔
-            HdlFirmwareUpdateLogic.Current.DoUpdateNextFirmware();
+            HdlFirmwareUpdateLogic.DoUpdateNextFirmware();
         }
 
         /// <summary>
@@ -748,7 +748,7 @@
 
                 this.UpdateStatu = UpdateStatuMode.UpdateSuccess;
                 //鎵ц涓嬩竴涓崌绾�
-                HdlFirmwareUpdateLogic.Current.DoUpdateNextFirmware();
+                HdlFirmwareUpdateLogic.DoUpdateNextFirmware();
                 //缃戝叧鍗囩骇鎴愬姛!
                 this.SetProgressValue(100, 100);
                 System.Threading.Thread.Sleep(1500);
@@ -772,7 +772,7 @@
             HdlGatewayLogic.Current.SetHadGatewayUpdateFlage(false);
 
             //鎵ц涓嬩竴涓崌绾�
-            HdlFirmwareUpdateLogic.Current.DoUpdateNextFirmware();
+            HdlFirmwareUpdateLogic.DoUpdateNextFirmware();
         }
 
         /// <summary>
@@ -786,7 +786,7 @@
             HdlGatewayLogic.Current.SetHadGatewayUpdateFlage(false);
 
             //鎵ц涓嬩竴涓崌绾�
-            HdlFirmwareUpdateLogic.Current.DoUpdateNextFirmware();
+            HdlFirmwareUpdateLogic.DoUpdateNextFirmware();
         }
 
         #endregion

--
Gitblit v1.8.0