From c96d59d6b6379acb0fd899ad2e255a121ee6c8c6 Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期五, 18 十二月 2020 10:45:20 +0800 Subject: [PATCH] 20201218-1 --- HDL_ON/Entity/Function/Scene.cs | 17 ++--------------- 1 files changed, 2 insertions(+), 15 deletions(-) diff --git a/HDL_ON/Entity/Function/Scene.cs b/HDL_ON/Entity/Function/Scene.cs index 207a844..fba530b 100644 --- a/HDL_ON/Entity/Function/Scene.cs +++ b/HDL_ON/Entity/Function/Scene.cs @@ -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