From 03d8399009aacc15efde15f08e37893e47dc2427 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期三, 07 十二月 2022 10:45:20 +0800
Subject: [PATCH] 大华摄像头,金茂科技系统

---
 HDL_ON/UI/MainPage.cs |   60 ++++++++++++++++++++++++++++++------------------------------
 1 files changed, 30 insertions(+), 30 deletions(-)

diff --git a/HDL_ON/UI/MainPage.cs b/HDL_ON/UI/MainPage.cs
index ab0c1e5..3d3d5ad 100644
--- a/HDL_ON/UI/MainPage.cs
+++ b/HDL_ON/UI/MainPage.cs
@@ -120,7 +120,7 @@
             SPK.AirFreshStandard,SPK.HvacAirFresh,
             SPK.AirSwitch,
             SPK.PanelSocket,SPK.ElectricSocket,
-            SPK.MechanicalArm,
+            SPK.MechanicalArm,SPK.IpCam_Imou,
         };
 
 
@@ -400,30 +400,30 @@
                 {
                     Entity.FunctionList.List.Clear();
                     Entity.SpatialInfo.CurrentSpatial.Clear();
-              ///绛夊緟鑾峰彇浣忓畢淇℃伅
-              Application.RunOnMainThread(() =>
-              {
-                    if (waitPage != null)
+                    ///绛夊緟鑾峰彇浣忓畢淇℃伅
+                    Application.RunOnMainThread(() =>
                     {
-                        waitPage.RemoveFromParent();
-                        waitPage = null;
-                    }
+                        if (waitPage != null)
+                        {
+                            waitPage.RemoveFromParent();
+                            waitPage = null;
+                        }
 
-              //璺宠浆椤甸潰----
-              UserBasePage = new UserPage();
-                    BasePageView.AddChidren(UserBasePage);
-                    UserBasePage.LoadPage();
-                    BasePageView.PageIndex = 0;
+                        //璺宠浆椤甸潰----
+                        UserBasePage = new UserPage();
+                        BasePageView.AddChidren(UserBasePage);
+                        UserBasePage.LoadPage();
+                        BasePageView.PageIndex = 0;
 
-                    if (isFirstOpen)
-                    {
-                  //鍚姩瀵嗙爜楠岃瘉
-                  new AppUnlockPage().LoadPage(isFirstOpen);
-                    }
-              //涓婚〉鍔犺浇瀹屾垚,鍥炶皟浜嬩欢
-              pageShowEvent?.Invoke();
-                    pageShowEvent = null;
-                });
+                        if (isFirstOpen)
+                        {
+                            //鍚姩瀵嗙爜楠岃瘉
+                            new AppUnlockPage().LoadPage(isFirstOpen);
+                        }
+                        //涓婚〉鍔犺浇瀹屾垚,鍥炶皟浜嬩欢
+                        pageShowEvent?.Invoke();
+                        pageShowEvent = null;
+                    });
                 }
                 catch (Exception ex)
                 {
@@ -432,14 +432,14 @@
                 finally
                 {
                     Application.RunOnMainThread(() =>
-              {
-                    if (downloadData)
-                    {
-                        DB_ResidenceData.Instance.EixtAccount();
-                  ///鍒濆鍖朼pp鏁版嵁
-                  Common.ApiUtlis.Ins.DownloadData();
-                    };
-                });
+                      {
+                          if (downloadData)
+                          {
+                              DB_ResidenceData.Instance.EixtAccount();
+                              ///鍒濆鍖朼pp鏁版嵁
+                              Common.ApiUtlis.Ins.DownloadData();
+                          };
+                      });
                 }
             }).Start();
 

--
Gitblit v1.8.0