From 0d9f64668fd7350d6a21fd157e32009a96d98134 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期三, 16 十二月 2020 13:09:08 +0800 Subject: [PATCH] 新云端代码Ver1.2 --- 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