添加项目文件。
This commit is contained in:
35
RevitKits/WBSCoder/TaskItem.cs
Normal file
35
RevitKits/WBSCoder/TaskItem.cs
Normal file
@@ -0,0 +1,35 @@
|
||||
using CommunityToolkit.Mvvm.ComponentModel;
|
||||
using net.sf.mpxj;
|
||||
|
||||
namespace Sai.Common.Shared.WBSCoder
|
||||
{
|
||||
public class TaskItem : ObservableObject
|
||||
{
|
||||
public TaskItem(Task task)
|
||||
{
|
||||
this.task = task;
|
||||
}
|
||||
|
||||
private bool hasCoded;
|
||||
private Task task;
|
||||
|
||||
public bool HasCoded
|
||||
{
|
||||
get => hasCoded;
|
||||
set
|
||||
{
|
||||
hasCoded = value;
|
||||
OnPropertyChanged();
|
||||
}
|
||||
}
|
||||
|
||||
public bool IsError { get; set; }
|
||||
|
||||
public int Index { get; set; }
|
||||
|
||||
public string ErrorMessages { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string WBSCode { get; set; }
|
||||
public string Parent { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user