From d616b67bd6ea95562af73a00bf0aab38eec935df Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期五, 11 十二月 2020 13:37:26 +0800
Subject: [PATCH] 2020-12-11 1.取消屏幕常亮。2.优化iOS接收推送处理。

---
 HDL_ON/UI/UI2/2-Classification/ClassificationPageBLL.cs |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/HDL_ON/UI/UI2/2-Classification/ClassificationPageBLL.cs b/HDL_ON/UI/UI2/2-Classification/ClassificationPageBLL.cs
index 3dbc699..6e5a4e0 100644
--- a/HDL_ON/UI/UI2/2-Classification/ClassificationPageBLL.cs
+++ b/HDL_ON/UI/UI2/2-Classification/ClassificationPageBLL.cs
@@ -140,7 +140,7 @@
                 if (bodyView.roomListView.GetChildren(i).GetType() == typeof(FrameLayout))
                 {
                     var view1 = bodyView.roomListView.GetChildren(i) as FrameLayout;
-                    if (!function.roomIdList.Contains(view1.Tag.ToString()))
+                    if (!function.roomIds.Contains(view1.Tag.ToString()))
                         continue;
                     for (int j = 0; j < view1.ChildrenCount; j++)
                     {
@@ -155,13 +155,13 @@
                                 }
                                 else
                                 {
-                                    foreach (var rId in function.roomIdList)
+                                    foreach (var rId in function.roomIds)
                                     {
                                         if(rId == null)
                                         {
                                             continue;
                                         }
-                                        var r = DB_ResidenceData.rooms.Find(s => s.sid == rId);
+                                        var r = DB_ResidenceData.residenceData.Rooms.Find(s => s.roomId == rId);
                                         if(r == null)
                                         {
                                             continue;
@@ -209,7 +209,7 @@
 
                             foreach (var m in Music.A31MusicModel.A31MusicModelList)
                             {
-                                if (m.roomIdList.Contains(room.sid))
+                                if (m.roomIds.Contains(room.roomId))
                                 {
                                     Music.SendMethod.Pause(m);
                                 }

--
Gitblit v1.8.0