From ecbf9d722cf59efe93cf60ee47e8782eca18eca6 Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期六, 19 十二月 2020 13:22:55 +0800
Subject: [PATCH] 20201219-1

---
 HDL_ON/Entity/Function/Scene.cs |   19 +++----------------
 1 files changed, 3 insertions(+), 16 deletions(-)

diff --git a/HDL_ON/Entity/Function/Scene.cs b/HDL_ON/Entity/Function/Scene.cs
index 207a844..639997f 100644
--- a/HDL_ON/Entity/Function/Scene.cs
+++ b/HDL_ON/Entity/Function/Scene.cs
@@ -35,7 +35,7 @@
         /// <summary>
         /// 浜戠鍞竴ID
         /// </summary>
-        public string userSceneId = "";
+        public string userSceneId = null;
         /// <summary>
         /// 鍦烘櫙sid
         /// </summary>
@@ -223,7 +223,7 @@
             }
             if (roomNameList == "" )
             {
-                roomNameList = Shared.Language.StringByID(StringId.WholeHouseScene);
+                roomNameList = Shared.Language.StringByID(StringId.WholeZone);
             }
             return roomNameList;
         }
@@ -315,20 +315,7 @@
             return revPack.Code;
         }
 
-        /// <summary>
-        /// 娣诲姞鍦烘櫙
-        /// </summary>
-        public string AddScene()
-        {
-            var pm = new HttpServerRequest();
-            var revPack = pm.AddScene(this);
-            if (revPack.Code == StateCode.SUCCESS)
-            {
-                var ssd = System.Text.Encoding.UTF8.GetBytes(Newtonsoft.Json.JsonConvert.SerializeObject(this));
-                Common.FileUtlis.Files.WriteFileByBytes(savePath, ssd);
-            }
-            return revPack.Code;
-        }
+     
 
         /// <summary>
         /// 涓婁紶鏁版嵁鍒颁簯绔�

--
Gitblit v1.8.0