增加保温层和整理管线的功能,修复自动保存功能等修复多个bug

This commit is contained in:
GG Z
2024-10-27 00:19:48 +08:00
parent b6647218be
commit 77655c9ef5
67 changed files with 3159 additions and 731 deletions

View File

@@ -9,8 +9,7 @@ namespace Sai.RvKits;
public static class Variables
{
public static string AddInPath => Assembly.GetExecutingAssembly().Location;
public static string AddInPath { get; } = Assembly.GetExecutingAssembly().Location;
// public static IntPtr RevitWindowPtr
//{
// [DebuggerStepThrough]
@@ -18,9 +17,9 @@ public static class Variables
//}
//public static readonly string DllPath = typeof(Variables).Assembly.Location;
public static string DirAssembly => Path.GetDirectoryName(AddInPath);
public static string FamilyFolder => Path.Combine(DirAssembly, "Libraries");
public static DockablePaneId PaneId => new(new Guid(Properties.Settings.Default.DockPaneGuid));
public static System.Timers.Timer Timer => new();
public static string DirAssembly { get; } = Path.GetDirectoryName(AddInPath);
public static string FamilyFolder { get; } = Path.Combine(DirAssembly, "Libraries");
public static DockablePaneId PaneId { get; } = new(new Guid(Properties.Settings.Default.DockPaneGuid));
public static System.Timers.Timer AutoSaveTimer { get; } = new() { Enabled = true };
public static SnackbarPresenter SnackbarPresenter { get; set; }
}