From e87985ec1dcb69beedaf9f95e8e7aba14b7c08d6 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期三, 09 十二月 2020 18:50:14 +0800
Subject: [PATCH] 2020-12-09 1.信息中心,增加下划线和点击Alter提醒详情。

---
 HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditPageBLL.cs |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditPageBLL.cs b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditPageBLL.cs
index 59a8daf..5b365f0 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditPageBLL.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditPageBLL.cs
@@ -70,9 +70,9 @@
                     {
                         foreach (var f in DB_ResidenceData.functionList.GetAllFunction())
                         {
-                            if (f.roomIds.Contains(room.uid))
+                            if (f.roomIds.Contains(room.roomId))
                             {
-                                f.roomIds.Remove(room.uid);
+                                f.roomIds.Remove(room.roomId);
                             }
                         }
                         SpatialInfo.CurrentSpatial.DelRoom(room);
@@ -309,6 +309,7 @@
                 {
                     room.SaveRoomData();
 
+
                 }
             };
             //涓婁紶鍥剧墖鍒颁簯绔�
@@ -325,7 +326,7 @@
         {
             try
             {
-                MainPage.Log("SelectPicture 瑁佸壀鍥剧墖杩斿洖璺緞: " + selectImagePath);
+                //MainPage.Log("SelectPicture 瑁佸壀鍥剧墖杩斿洖璺緞: " + selectImagePath);
                 //1.璇诲彇瑁佸壀鍚庣殑鍥剧墖锛岀劧鍚庡垹闄�
                 var imageBytes = Shared.IO.FileUtils.ReadFile(selectImagePath);
                 System.IO.File.Delete(selectImagePath);
@@ -341,7 +342,7 @@
                         var newImageName = mRoom.roomName.Trim() +  ".png";
                         var uploadImageObj = new UploadImageObj()
                         {
-                            prefix = "ONR",
+                            prefix = "Room" + Utlis.GetTimestamp(),
                             fileName = newImageName,
                             uid = mRoom.uid,
                             content = imageBytes,
@@ -353,11 +354,11 @@
                             //涓婁紶鎴愬姛
                             Application.RunOnMainThread(() =>
                             {
-                                Utlis.WriteLine("涓婁紶鎴愬姛锛�" + imageUrl);
+                                //Utlis.WriteLine("涓婁紶鎴愬姛锛�" + imageUrl);
                                 //1.2濡傛灉鏄嚜瀹氫箟鍥剧墖鍒犻櫎涔嬪墠鐨�
-                                if (!imageView.ImagePath.Contains("Classification/Room/Roombg"))
+                                if (!string.IsNullOrEmpty(imageView.ImagePath) && !imageView.ImagePath.Contains("Classification/Room/Roombg"))
                                 {
-                                    Utlis.WriteLine("鍒犻櫎: " + imageView.ImagePath);
+                                    //Utlis.WriteLine("鍒犻櫎: " + imageView.ImagePath);
                                     System.IO.File.Delete(imageView.ImagePath);
                                 }
                                 //閲嶅懡鍚嶄繚瀛�

--
Gitblit v1.8.0