ChartParameter.cs 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. using System.Collections.ObjectModel;
  2. using Caliburn.Micro.Core;
  3. namespace VirgoUI.Client.Models.History.ProcessHistory
  4. {
  5. //public class ChartParameter : PropertyChangedBase
  6. //{
  7. // public bool Visible { get; set; }
  8. // public string DataSource { get; set; }
  9. // public string DataVariable { get; set; }
  10. // public string Factor { get; set; }
  11. // public string Offset { get; set; }
  12. // public string LineWidth { get; set; }
  13. // private Brush _Color;
  14. // public Brush Color
  15. // {
  16. // get { return _Color; }
  17. // set { _Color = value; NotifyOfPropertyChange("Color"); }
  18. // }
  19. // public ParameterNode RelatedNode { get; set; }
  20. //}
  21. public class RecipeItem
  22. {
  23. public bool Selected { get; set; }
  24. public string Recipe { get; set; }
  25. public string Guid { get; set; }
  26. public string RecipeRunGuid { get; set; }
  27. public string Chamber { get; set; }
  28. public string Status { get; set; }
  29. public string StartTime { get; set; }
  30. public string EndTime { get; set; }
  31. public string LotID { get; set; }
  32. public string SlotID { get; set; }
  33. }
  34. public class ParameterNode : PropertyChangedBase
  35. {
  36. private bool _Selected = false;
  37. public bool Selected
  38. {
  39. get { return _Selected; }
  40. set { _Selected = value; NotifyOfPropertyChange("Selected"); }
  41. }
  42. public string Name { get; set; }
  43. public ObservableCollection<ParameterNode> ChildNodes { get; set; }
  44. public ParameterNode ParentNode { get; set; }
  45. }
  46. }