ChartParameter.cs 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. using System.Collections.ObjectModel;
  2. using System.Windows;
  3. using Caliburn.Micro.Core;
  4. namespace MECF.Framework.UI.Client.CenterViews.DataLogs.ProcessHistory
  5. {
  6. //public class ChartParameter : PropertyChangedBase
  7. //{
  8. // public bool Visible { get; set; }
  9. // public string DataSource { get; set; }
  10. // public string DataVariable { get; set; }
  11. // public string Factor { get; set; }
  12. // public string Offset { get; set; }
  13. // public string LineWidth { get; set; }
  14. // private Brush _Color;
  15. // public Brush Color
  16. // {
  17. // get { return _Color; }
  18. // set { _Color = value; NotifyOfPropertyChange("Color"); }
  19. // }
  20. // public ParameterNode RelatedNode { get; set; }
  21. //}
  22. public class RecipeItem : PropertyChangedBase
  23. {
  24. public string GUID { get; set; }
  25. private bool _Selected = false;
  26. public bool Selected
  27. {
  28. get { return _Selected; }
  29. set { _Selected = value; NotifyOfPropertyChange("Selected"); }
  30. }
  31. public string Recipe { get; set; }
  32. public string LotID { get; set; }
  33. public string SlotID { get; set; }
  34. public string CjName { get; set; }
  35. public string PjName { get; set; }
  36. public string Chamber { get; set; }
  37. public string Status { get; set; }
  38. public string StartTime { get; set; }
  39. public string EndTime { get; set; }
  40. }
  41. public class ParameterNode : PropertyChangedBase
  42. {
  43. private bool _Selected = false;
  44. public bool Selected
  45. {
  46. get { return _Selected; }
  47. set
  48. {
  49. _Selected = value;
  50. NotifyOfPropertyChange("Selected");
  51. }
  52. }
  53. public string Name { get; set; }
  54. private string _averageValue;
  55. public string AverageValue
  56. {
  57. get { return _averageValue; }
  58. set
  59. {
  60. _averageValue = value;
  61. NotifyOfPropertyChange("AverageValue");
  62. }
  63. }
  64. private string _minValue;
  65. public string MinValue
  66. {
  67. get { return _minValue; }
  68. set
  69. {
  70. _minValue = value;
  71. NotifyOfPropertyChange("MinValue");
  72. }
  73. }
  74. private string _maxValue;
  75. public string MaxValue
  76. {
  77. get { return _maxValue; }
  78. set
  79. {
  80. _maxValue = value;
  81. NotifyOfPropertyChange("MaxValue");
  82. }
  83. }
  84. private string _sigma3Value;
  85. public string Sigma3Value
  86. {
  87. get { return _sigma3Value; }
  88. set
  89. {
  90. _sigma3Value = value;
  91. NotifyOfPropertyChange("Sigma3Value");
  92. }
  93. }
  94. public Visibility IsVisibilityParentNode { get; set; }
  95. public ObservableCollection<ParameterNode> ChildNodes { get; set; }
  96. public ParameterNode ParentNode { get; set; }
  97. }
  98. }