From f5ba05c33393e55de28db91433901600bfb0658f Mon Sep 17 00:00:00 2001
From: xm <1271024303@qq.com>
Date: 星期五, 22 五月 2020 17:43:11 +0800
Subject: [PATCH] 请合并最新代码「20200522:添加门锁晚上9点上报常开功能,优化PM2.5测试功能」

---
 ZigbeeApp20200519/Shared/Phone/Category/CategoryMainForm.cs |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/ZigbeeApp20200519/Shared/Phone/Category/CategoryMainForm.cs b/ZigbeeApp20200519/Shared/Phone/Category/CategoryMainForm.cs
index aeccb00..0828d24 100755
--- a/ZigbeeApp20200519/Shared/Phone/Category/CategoryMainForm.cs
+++ b/ZigbeeApp20200519/Shared/Phone/Category/CategoryMainForm.cs
@@ -605,6 +605,20 @@
                 //涓嬫媺鍒锋柊
                 listview1.BeginHeaderRefreshingAction += () =>
                 {
+                    //濡傛灉褰撳墠鏄櫄鎷熶綇瀹�,鍒欏彧缁欎釜鐗规晥
+                    if (Common.Config.Instance.Home.IsVirtually == true)
+                    {
+                        HdlThreadLogic.Current.RunThread(() =>
+                        {
+                            System.Threading.Thread.Sleep(1500);
+                            HdlThreadLogic.Current.RunMain(() =>
+                            {
+                                listview1.EndHeaderRefreshing();
+                            });
+                        });
+                        return;
+                    }
+
                     HdlThreadLogic.Current.RunThread(() =>
                     {
                         //浠庣綉鍏冲埛鏂板満鏅垪琛�

--
Gitblit v1.8.0