From 9f326f4000847e6167d8166fa2f6a66f53cb3734 Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期四, 17 十二月 2020 09:07:13 +0800
Subject: [PATCH] 新云端Ver1.3

---
 ZigbeeApp/Shared/Phone/Category/AddOrEditorSceneForm.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/Category/AddOrEditorSceneForm.cs b/ZigbeeApp/Shared/Phone/Category/AddOrEditorSceneForm.cs
index bfea7e4..cc76472 100755
--- a/ZigbeeApp/Shared/Phone/Category/AddOrEditorSceneForm.cs
+++ b/ZigbeeApp/Shared/Phone/Category/AddOrEditorSceneForm.cs
@@ -863,7 +863,7 @@
                 var fileName = $"SceneIcon_{tradeTime}.png";
                 //鐢熸垚鏂囦欢鍥剧墖
                 IO.FileUtils.WriteFileByBytes(System.IO.Path.Combine(Config.Instance.FullPath, fileName), this.btnScenePic.ImageBytes);
-                HdlAutoBackupLogic.AddOrEditorFile(fileName);
+                HdlBackupLogic.Current.AddOrEditorAutoBackFileStatu(fileName);
                 this.cloneScene.IconPath = fileName;
             }
             //杞Щ灞炴��
@@ -933,7 +933,7 @@
                 {
                     //鍒犻櫎鑷畾涔夊浘鐗�
                     HdlFileLogic.Current.DeleteFile(System.IO.Path.Combine(Config.Instance.FullPath, this.editorScene.IconPath));
-                    HdlAutoBackupLogic.DeleteFile(this.editorScene.IconPath);
+                    HdlBackupLogic.Current.DeleteAutoBackFileStatu(this.editorScene.IconPath);
                 }
                 if (this.cloneScene.IconPathType != 0)
                 {
@@ -942,7 +942,7 @@
                     var fileName = $"SceneIcon_{tradeTime}.png";
                     //鐢熸垚鏂囦欢鍥剧墖
                     IO.FileUtils.WriteFileByBytes(System.IO.Path.Combine(Config.Instance.FullPath, fileName), this.btnScenePic.ImageBytes);
-                    HdlAutoBackupLogic.AddOrEditorFile(fileName);
+                    HdlBackupLogic.Current.AddOrEditorAutoBackFileStatu(fileName);
                     this.cloneScene.IconPath = fileName;
                 }
             }

--
Gitblit v1.8.0