From 203c3a3ffde6259413d9743f6a723b95b1e7989c Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期四, 06 七月 2023 22:43:05 +0800 Subject: [PATCH] 门锁功能 --- HDL_ON/Entity/DB_ResidenceData.cs | 21 ++++++++++++++------- 1 files changed, 14 insertions(+), 7 deletions(-) diff --git a/HDL_ON/Entity/DB_ResidenceData.cs b/HDL_ON/Entity/DB_ResidenceData.cs index b41e1dc..6e556a8 100644 --- a/HDL_ON/Entity/DB_ResidenceData.cs +++ b/HDL_ON/Entity/DB_ResidenceData.cs @@ -76,7 +76,9 @@ ShowFunction.Sensor,ShowFunction.VideoIntercom, ShowFunction.SecurityCenter,ShowFunction.Acst, ShowFunction.MechanicalArm , - ShowFunction.SecurityMonitoring,}; + ShowFunction.SecurityMonitoring, + ShowFunction.VideoDoorLock, + }; } return dddd; } @@ -152,17 +154,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(); 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 +185,7 @@ /// <summary> /// 缃戝叧璇︾粏淇℃伅 /// </summary> - public HomeGatewayInfo HomeGateway; + public HomeGatewayInfo HomeGateway;// = new HomeGatewayInfo (); /// <summary> /// 0:涓�绔彛 @@ -504,5 +506,10 @@ } } + /// <summary> + /// 绗竴娆$敵璇峰畾浣嶆潈闄愶紝鐢ㄦ埛鎷掔粷涔嬪悗锛屼笉鑳藉啀娆$敵璇凤紙Android锛� + /// </summary> + public bool CheckGPS_IsFirst = true; + } } -- Gitblit v1.8.0