From 8e54c77b6e0d2d87cdbad1a81a75d39bab1648d6 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期一, 16 十月 2023 10:08:47 +0800
Subject: [PATCH] 场景闪退修复

---
 OnPro/HDL_ON/Entity/DB_ResidenceData.cs |   19 +++++--------------
 1 files changed, 5 insertions(+), 14 deletions(-)

diff --git a/OnPro/HDL_ON/Entity/DB_ResidenceData.cs b/OnPro/HDL_ON/Entity/DB_ResidenceData.cs
index 3fe97ad..5146cae 100644
--- a/OnPro/HDL_ON/Entity/DB_ResidenceData.cs
+++ b/OnPro/HDL_ON/Entity/DB_ResidenceData.cs
@@ -29,7 +29,7 @@
             {
                 if (MainPage.NoLoginMode)
                 {
-                    return new RegionInfoRes() { homeName = "HDL Home" ,id = "text000001"};
+                    return new RegionInfoRes() { homeName = "My Home" ,id = "text000001"};
                 }
                 else
                 {
@@ -68,17 +68,8 @@
                 {
                     dddd = new List<ShowFunction>(){
                                     ShowFunction.Light,ShowFunction.AC,ShowFunction.Curtain,
-                                    ShowFunction.FloorHeating,ShowFunction.Music,
-                                    ShowFunction.Electric,ShowFunction.Environmental,
-                                    ShowFunction.EnergyMonitoring,ShowFunction.IpCam,
-                                    ShowFunction.FreshAir,ShowFunction.DoorLock,
-                                    ShowFunction.Panel,
-                                    ShowFunction.Sensor,ShowFunction.VideoIntercom,
-                                    ShowFunction.SecurityCenter,ShowFunction.Acst,
-                                    ShowFunction.MechanicalArm ,
-                                    ShowFunction.SecurityMonitoring,
-                                    ShowFunction.VideoDoorLock,
-                                    ShowFunction.Series,
+                                    ShowFunction.FloorHeating,
+                                    ShowFunction.FreshAir,
                     };
                 }
                 return dddd;
@@ -96,7 +87,7 @@
                     {
                         instance = new DB_ResidenceData();
                         instance.SaveResidenceData();
-                        instance.residenceImage = "Classification/Room/HomePagebg.png";
+                        instance.residenceImage = "Classification/Room/Roombg.png";
                         instance.HomeGateway = new HomeGatewayInfo()
                         {
                             homeId = "1396717478877241345",
@@ -135,7 +126,7 @@
                         instance = new DB_ResidenceData { };
                         return instance;
                     }
-                    instance.residenceImage = "Classification/Room/HomePagebg.png";
+                    instance.residenceImage = "Classification/Room/Roombg.png";
                     //鍒濆鍖栦綇瀹呭姛鑳芥暟鎹�
                     SpatialInfo.CurrentSpatial.InitRoomListFunctions();
 

--
Gitblit v1.8.0