From acc8caee31c4be90bd38d1af18136b0e84f6fe94 Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期五, 27 九月 2024 14:01:19 +0800
Subject: [PATCH] Merge branch 'feature/v2.7_迭代' into feature/V2.7_Google

---
 HDL_ON/Entity/DB_ResidenceData.cs |   40 +++++++++++++++++++++++++++++-----------
 1 files changed, 29 insertions(+), 11 deletions(-)

diff --git a/HDL_ON/Entity/DB_ResidenceData.cs b/HDL_ON/Entity/DB_ResidenceData.cs
index b41e1dc..f734255 100644
--- a/HDL_ON/Entity/DB_ResidenceData.cs
+++ b/HDL_ON/Entity/DB_ResidenceData.cs
@@ -74,9 +74,10 @@
                                     ShowFunction.FreshAir,ShowFunction.DoorLock,
                                     ShowFunction.Panel,
                                     ShowFunction.Sensor,ShowFunction.VideoIntercom,
-                                    ShowFunction.SecurityCenter,ShowFunction.Acst,
+                                    ShowFunction.SecurityCenter,ShowFunction.Acst,ShowFunction.InverterJinmao,
                                     ShowFunction.MechanicalArm ,
-                                    ShowFunction.SecurityMonitoring,};
+                                    ShowFunction.Series,
+                    };
                 }
                 return dddd;
             }
@@ -93,7 +94,7 @@
                     {
                         instance = new DB_ResidenceData();
                         instance.SaveResidenceData();
-                        instance.residenceImage = "Classification/Room/Roombg.png";
+                        instance.residenceImage = "Classification/Room/HomePagebg.png";
                         instance.HomeGateway = new HomeGatewayInfo()
                         {
                             homeId = "1396717478877241345",
@@ -132,7 +133,7 @@
                         instance = new DB_ResidenceData { };
                         return instance;
                     }
-                    instance.residenceImage = "Classification/Room/Roombg.png";
+                    instance.residenceImage = "Classification/Room/HomePagebg.png";
                     //鍒濆鍖栦綇瀹呭姛鑳芥暟鎹�
                     SpatialInfo.CurrentSpatial.InitRoomListFunctions();
 
@@ -152,17 +153,17 @@
             DriverLayer.Control.Ins.GatewayOnline_Cloud = false;
             DriverLayer.Control.Ins.GatewayOnline_Local = false;
             SpatialInfo.CurrentSpatial.Clear();
-            FunctionList.List.Clear();
+            FunctionList.List.ClearDatas();
 
             ///鍒囨崲浣忓畢娓呯┖鍓嶄綇瀹呯紦瀛樿嚜鍔ㄥ寲鍒楄〃锛�
-            HDL_ON.UI.UI2.Intelligence.Automation.Logic.LogicList.Clear();
+            UI.UI2.Intelligence.Automation.Logic.LogicList.Clear();
             DAL.Mqtt.MqttClient.DisConnectRemote("閫�鍑虹櫥褰曪紝鎴栬�呭垏鎹綇瀹�");
 
 #if IOS
-            //閫�鍑哄叏瑙嗛�氱櫥褰�
-            Shared.IOS.HDLFVSDK.Video.Logout();
-            //閲嶇疆榛樿涓嶆敮鎸佸叏瑙嗛��
-            Entity.DB_ResidenceData.Instance.SupportFVDevice = false;
+            ////閫�鍑哄叏瑙嗛�氱櫥褰�
+            //Shared.IOS.HDLFVSDK.Video.Logout();
+            ////閲嶇疆榛樿涓嶆敮鎸佸叏瑙嗛��
+            //Entity.DB_ResidenceData.Instance.SupportFVDevice = false;
 #endif
         }
         /// <summary>
@@ -183,7 +184,7 @@
         /// <summary>
         /// 缃戝叧璇︾粏淇℃伅
         /// </summary>
-        public HomeGatewayInfo HomeGateway;
+        public HomeGatewayInfo HomeGateway;// = new HomeGatewayInfo ();
 
         /// <summary>
         /// 0:涓�绔彛
@@ -504,5 +505,22 @@
             }
         }
 
+        /// <summary>
+        /// 绗竴娆$敵璇峰畾浣嶆潈闄愶紝鐢ㄦ埛鎷掔粷涔嬪悗锛屼笉鑳藉啀娆$敵璇凤紙Android锛�
+        /// </summary>
+        public bool CheckGPS_IsFirst = true;
+
+        /// <summary>
+        /// 鍙瀵硅杩炴帴鏂瑰紡
+        /// TCP/UDP
+        /// </summary>
+        public LinphoneConnectType linphoneConnectType = LinphoneConnectType.UDP;
+
+    }
+
+    public enum LinphoneConnectType
+    {
+        UDP,
+        TCP,
     }
 }

--
Gitblit v1.8.0