添加项目文件。

This commit is contained in:
ShrlAlgo
2025-09-16 16:06:41 +08:00
parent 0e7807b826
commit 98c65ceb3d
922 changed files with 1009489 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
using CommunityToolkit.Mvvm.ComponentModel;
namespace Szmedi.RevitToolkit.Approval.Controls.ProgressWrapper
{
public partial class ProgressMonitorViewModel : ObservableObject
{
[ObservableProperty]
public int maxValue = 100;
[ObservableProperty]
private int currentValue = 0;
[ObservableProperty]
private string currentContext = string.Empty;
[ObservableProperty]
private string title = "处理任务";
public void NotifyUI()
{
var classType = this.GetType();
if (classType != null)
{
var currentProperties = classType.GetProperties();
foreach (var currentProperty in currentProperties)
OnPropertyChanged(currentProperty.Name);
}
}
}
}