You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

41 lines
1.1 KiB

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using Microsoft.Toolkit.Mvvm.ComponentModel;
  7. using Microsoft.Toolkit.Mvvm.Input;
  8. using System.Collections.ObjectModel;
  9. namespace HBLConsole.Model
  10. {
  11. /// <summary>
  12. /// 流程数据信息
  13. /// </summary>
  14. public class ProcessConditions : ObservableObject
  15. {
  16. /// <summary>
  17. /// 流程标题
  18. /// </summary>
  19. public string ProcessTitl { get { return _mProcessTitl; } set { _mProcessTitl = value; OnPropertyChanged(); } }
  20. private string _mProcessTitl;
  21. public ObservableCollection<Condition> Conditions { get; set; } = new ObservableCollection<Condition>();
  22. }
  23. public class Condition : ObservableObject
  24. {
  25. public bool ConditionMet { get { return _mConditionMet; } set { _mConditionMet = value; OnPropertyChanged(); } }
  26. private bool _mConditionMet;
  27. public string ConditionName { get { return _mConditionName; } set { _mConditionName = value; OnPropertyChanged(); } }
  28. private string _mConditionName;
  29. }
  30. }