WaferInfo.cs 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using Aitex.Core.Common;
  7. using Caliburn.Micro.Core;
  8. namespace MECF.Framework.UI.Client.ClientBase
  9. {
  10. public class WaferInfo : PropertyChangedBase
  11. {
  12. private int _WaferStatus = 0; // WaferStatus.Empty;
  13. public int WaferStatus
  14. {
  15. get { return _WaferStatus; }
  16. set { _WaferStatus = value; NotifyOfPropertyChange("WaferStatus"); }
  17. }
  18. /// <summary>
  19. /// SlotID start from 0
  20. /// </summary>
  21. private int _slotID;
  22. public int SlotID
  23. {
  24. get { return _slotID; }
  25. set { _slotID = value; NotifyOfPropertyChange("SlotID"); }
  26. }
  27. /// <summary>
  28. /// SlotIndex start from 1
  29. /// </summary>
  30. private int _slotIndex;
  31. public int SlotIndex
  32. {
  33. get { return _slotIndex; }
  34. set { _slotIndex = value; NotifyOfPropertyChange("SlotIndex"); }
  35. }
  36. private string _moduleID;
  37. public string ModuleID
  38. {
  39. get { return _moduleID; }
  40. set { _moduleID = value; NotifyOfPropertyChange("ModuleID"); }
  41. }
  42. private string _waferid;
  43. public string WaferID
  44. {
  45. get { return _waferid; }
  46. set { _waferid = value; NotifyOfPropertyChange("WaferID"); }
  47. }
  48. private string _sourceName;
  49. public string SourceName
  50. {
  51. get { return _sourceName; }
  52. set { _sourceName = value; NotifyOfPropertyChange("SourceName"); }
  53. }
  54. private string _sequenceName = string.Empty;
  55. public string SequenceName
  56. {
  57. get { return _sequenceName; }
  58. set { _sequenceName = value; NotifyOfPropertyChange("SequenceName"); }
  59. }
  60. private string _originName = string.Empty;
  61. public string OriginName
  62. {
  63. get { return _originName; }
  64. set { _originName = value; NotifyOfPropertyChange("OriginName"); }
  65. }
  66. private string _PJIndex = string.Empty;
  67. public string PJIndex
  68. {
  69. get { return _PJIndex; }
  70. set { _PJIndex = value; NotifyOfPropertyChange("PJIndex"); }
  71. }
  72. private string _PJName = string.Empty;
  73. public string PJName
  74. {
  75. get { return _PJName; }
  76. set { _PJName = value; NotifyOfPropertyChange("PJName"); }
  77. }
  78. private bool isChecked;
  79. public bool IsChecked
  80. {
  81. get
  82. { return isChecked; }
  83. set
  84. {
  85. isChecked = value;
  86. NotifyOfPropertyChange("IsChecked");
  87. }
  88. }
  89. private WaferType waferType;
  90. public WaferType WaferType
  91. {
  92. get
  93. { return waferType; }
  94. set
  95. {
  96. waferType = value;
  97. NotifyOfPropertyChange("WaferType");
  98. }
  99. }
  100. private float useCount;
  101. public float UseCount
  102. {
  103. get
  104. { return useCount; }
  105. set
  106. {
  107. useCount = value;
  108. NotifyOfPropertyChange("UseCount");
  109. }
  110. }
  111. private float useTime;
  112. public float UseTime
  113. {
  114. get
  115. { return useTime; }
  116. set
  117. {
  118. useTime = value;
  119. NotifyOfPropertyChange("UseTime");
  120. }
  121. }
  122. private float useThick;
  123. public float UseThick
  124. {
  125. get
  126. { return useThick; }
  127. set
  128. {
  129. useThick = value;
  130. NotifyOfPropertyChange("UseThick");
  131. }
  132. }
  133. private float thick;
  134. public float Thick
  135. {
  136. get
  137. { return thick; }
  138. set
  139. {
  140. thick = value;
  141. NotifyOfPropertyChange("Thick");
  142. }
  143. }
  144. private string procesjobid;
  145. public string ProcessJobID
  146. {
  147. get
  148. {
  149. return procesjobid;
  150. }
  151. set
  152. {
  153. procesjobid = value;
  154. NotifyOfPropertyChange("ProcessJobID");
  155. }
  156. }
  157. private string lotId;
  158. public string LotId
  159. {
  160. get
  161. {
  162. return lotId;
  163. }
  164. set
  165. {
  166. lotId = value;
  167. NotifyOfPropertyChange("LotId");
  168. }
  169. }
  170. }
  171. }