From 680d96f157e4609af3e7af6f8d01ee0bf3f55063 Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期五, 11 十二月 2020 21:11:04 +0800 Subject: [PATCH] 20201210 --- HDL_ON/Entity/Room.cs | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/HDL_ON/Entity/Room.cs b/HDL_ON/Entity/Room.cs index fd1094c..bcd9ea2 100644 --- a/HDL_ON/Entity/Room.cs +++ b/HDL_ON/Entity/Room.cs @@ -410,8 +410,15 @@ { Common.FileUtlis.Files.DeleteFile(localRoom.dataSavePath); } - RoomList.Clear(); + rooms = null; } + + public void ClearRooms() + { + floors.Clear(); + rooms.Clear(); + } + /// <summary> /// 鍒濆鍖栨瘡涓埧闂寸殑鍔熻兘鏁版嵁 /// </summary> -- Gitblit v1.8.0