From b012a9acbe4f8c78a26973d67232cc2856380d71 Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期四, 24 十二月 2020 11:06:31 +0800
Subject: [PATCH] 20201224-1

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

diff --git a/HDL_ON/Entity/Function/Scene.cs b/HDL_ON/Entity/Function/Scene.cs
index fef4381..75cec89 100644
--- a/HDL_ON/Entity/Function/Scene.cs
+++ b/HDL_ON/Entity/Function/Scene.cs
@@ -259,23 +259,16 @@
                 }
             }
         }
-
         /// <summary>
-        /// 淇濆瓨鍔熻兘鏁版嵁
+        /// 淇濆瓨鍦烘櫙鏁版嵁鏂囦欢
         /// </summary>
-        public void SaveSceneData(bool upServer)
+        public void SaveSceneFile()
         {
-            if (upServer)
-            {
-                UploadScene();
-            }
-            else
-            {
-                var ssd = System.Text.Encoding.UTF8.GetBytes(Newtonsoft.Json.JsonConvert.SerializeObject(this));
-                Common.FileUtlis.Files.WriteFileByBytes(savePath, ssd);
-                MainPage.Log($"Save Scene Data : {savePath}");
-            }
+            var ssd = System.Text.Encoding.UTF8.GetBytes(Newtonsoft.Json.JsonConvert.SerializeObject(this));
+            FileUtlis.Files.WriteFileByBytes(savePath, ssd);
+            MainPage.Log($"Save Scene Data : {savePath}");
         }
+
         /// <summary>
         /// 鏀惰棌鍦烘櫙
         /// </summary>

--
Gitblit v1.8.0