优化了

This commit is contained in:
fengjiayi
2024-09-17 14:35:34 +08:00

View File

@@ -155,9 +155,9 @@ namespace Serein.WorkBench
// string filePath = @"F:\临时\project\new project.dnf"; // string filePath = @"F:\临时\project\new project.dnf";
// //string filePath = @"D:\Project\C#\DynamicControl\SereinFlow\.Output\Debug\net8.0-windows7.0\U9 project.dnf"; // //string filePath = @"D:\Project\C#\DynamicControl\SereinFlow\.Output\Debug\net8.0-windows7.0\U9 project.dnf";
// string content = System.IO.File.ReadAllText(filePath); // 读取整个文件内容 // string content = System.IO.File.ReadAllText(filePath); // 读取整个文件内容
// App.FData = JsonConvert.DeserializeObject<SereinProjectData>(content); // App.FData = JsonConvert.DeserializeObject<SereinOutputFileData>(content);
// App.FileDataPath = filePath;//System.IO.Path.GetDirectoryName(filePath)!; // App.FileDataPath = filePath;//System.IO.Path.GetDirectoryName(filePath)!;
} //}
} }
} }