From 9ed0595e0cc3d7e38b182d4b02d59bf73b70d610 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期四, 23 六月 2022 14:15:51 +0800
Subject: [PATCH] 备份

---
 Crabtree/SmartHome/UI/SimpleControl/EquipmentPublicClass.cs |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Crabtree/SmartHome/UI/SimpleControl/EquipmentPublicClass.cs b/Crabtree/SmartHome/UI/SimpleControl/EquipmentPublicClass.cs
index 392269d..f9b93ee 100644
--- a/Crabtree/SmartHome/UI/SimpleControl/EquipmentPublicClass.cs
+++ b/Crabtree/SmartHome/UI/SimpleControl/EquipmentPublicClass.cs
@@ -15,7 +15,7 @@
 
         static bool isConnectiong = false;
         static DateTime mFlagDateTime;
-        static bool upLoadLink = true;
+        public static bool upLoadLink = true;
         /// <summary>
         /// 妫�娴�/杩炴帴杩滅▼
         /// </summary>
@@ -207,7 +207,8 @@
 #endif
 
                         //骞冲彴杩佺Щ鏁版嵁澶勭悊 wxr 2022-06-14 13:37:49
-                        if (!UserConfig.Instance.CurrentRegion.indiaIsAsyncDeviceMark) {
+                        if (upLoadLink && !UserConfig.Instance.CurrentRegion.indiaIsAsyncDeviceMark) {
+                            upLoadLink = false;
                             MigrateBean bean = new MigrateBean ();
                             System.Threading.Tasks.Task.Run (() => {
                                 try {

--
Gitblit v1.8.0