FoupListItem.cs 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337
  1. using Aitex.Core.Common;
  2. using Aitex.Sorter.Common;
  3. using System.ComponentModel;
  4. using MECF.Framework.Common.Equipment;
  5. namespace Aitex.Sorter.UI.Controls
  6. {
  7. public class FoupListItem : NotifyPropertyChangedBase
  8. {
  9. private WaferInfo[] waferInfos;
  10. public WaferInfo[] WaferInfos
  11. {
  12. get => waferInfos; set
  13. {
  14. waferInfos = value;
  15. OnPropertyChanged("WaferInfos");
  16. }
  17. }
  18. private ModuleName station;
  19. public ModuleName Station
  20. {
  21. get => station; set
  22. {
  23. station = value;
  24. OnPropertyChanged("Station");
  25. }
  26. }
  27. SlotTransferInfo[] slotTransferInfos;
  28. public SlotTransferInfo[] SlotTransferInfos
  29. {
  30. get => slotTransferInfos;
  31. set
  32. {
  33. slotTransferInfos = value;
  34. OnPropertyChanged("SlotTransferInfos");
  35. }
  36. }
  37. string foupID;
  38. public string FoupID
  39. {
  40. get => foupID;
  41. set
  42. {
  43. foupID = value;
  44. OnPropertyChanged("FoupID");
  45. }
  46. }
  47. string rfID;
  48. public string RfID
  49. {
  50. get => rfID;
  51. set
  52. {
  53. rfID = value;
  54. OnPropertyChanged("RfID");
  55. }
  56. }
  57. string loadportState;
  58. public string LoadportState
  59. {
  60. get => loadportState;
  61. set
  62. {
  63. loadportState = value;
  64. OnPropertyChanged("LoadportState");
  65. }
  66. }
  67. string deviceName;
  68. public string DeviceName
  69. {
  70. get => deviceName;
  71. set
  72. {
  73. deviceName = value;
  74. OnPropertyChanged("DeviceName");
  75. }
  76. }
  77. string carrierName;
  78. public string CarrierName
  79. {
  80. get => carrierName;
  81. set
  82. {
  83. carrierName = value;
  84. OnPropertyChanged("CarrierName");
  85. }
  86. }
  87. LoadPortCarrierMode carrierMode;
  88. public LoadPortCarrierMode CarrierMode
  89. {
  90. get => carrierMode;
  91. set
  92. {
  93. carrierMode = value;
  94. OnPropertyChanged("CarrierMode");
  95. }
  96. }
  97. private bool present;
  98. public bool Present { get => present; set => Set("Present", () => present = value); }
  99. private bool placement;
  100. public bool Placement { get => present; set => Set("Placement", () => placement = value); }
  101. private bool isWaferProtrude;
  102. public bool IsWaferProtrude { get => isWaferProtrude; set => Set("IsWaferProtrude", () => isWaferProtrude = value); }
  103. private bool isCarrierEnabled;
  104. public bool IsCarrierEnabled
  105. {
  106. get => isCarrierEnabled;
  107. set => Set("IsCarrierEnabled", () => isCarrierEnabled = value);
  108. }
  109. FoupType foupType;
  110. public FoupType FoupType
  111. {
  112. get => foupType;
  113. set
  114. {
  115. foupType = value;
  116. OnPropertyChanged("FoupType");
  117. }
  118. }
  119. ReaderType readerType;
  120. public ReaderType ReaderType
  121. {
  122. get => readerType;
  123. set
  124. {
  125. readerType = value;
  126. OnPropertyChanged("ReaderType");
  127. }
  128. }
  129. private IndicatorState indicatiorPresence;
  130. public IndicatorState IndicatiorPresence
  131. {
  132. get => indicatiorPresence;
  133. set
  134. {
  135. indicatiorPresence = value;
  136. OnPropertyChanged("IndicatiorPresence");
  137. }
  138. }
  139. private IndicatorState indicatiorPlacement;
  140. public IndicatorState IndicatiorPlacement
  141. {
  142. get => indicatiorPlacement;
  143. set
  144. {
  145. indicatiorPlacement = value;
  146. OnPropertyChanged("IndicatiorPlacement");
  147. }
  148. }
  149. private IndicatorState indicatiorLoad;
  150. public IndicatorState IndicatiorLoad
  151. {
  152. get => indicatiorLoad;
  153. set
  154. {
  155. indicatiorLoad = value;
  156. OnPropertyChanged("IndicatiorLoad");
  157. }
  158. }
  159. private IndicatorState indicatiorUnload;
  160. public IndicatorState IndicatiorUnload
  161. {
  162. get => indicatiorUnload;
  163. set
  164. {
  165. indicatiorUnload = value;
  166. OnPropertyChanged("IndicatiorUnload");
  167. }
  168. }
  169. private IndicatorState indicatiorOpAccess;
  170. public IndicatorState IndicatiorOpAccess
  171. {
  172. get => indicatiorOpAccess;
  173. set
  174. {
  175. indicatiorOpAccess = value;
  176. OnPropertyChanged("IndicatiorOpAccess");
  177. }
  178. }
  179. private IndicatorState indicatiorAlarm;
  180. public IndicatorState IndicatiorAlarm
  181. {
  182. get => indicatiorAlarm;
  183. set
  184. {
  185. indicatiorAlarm = value;
  186. OnPropertyChanged("IndicatiorAlarm");
  187. }
  188. }
  189. private IndicatorState indicatiorAccessAuto;
  190. public IndicatorState IndicatiorAccessAuto
  191. {
  192. get => indicatiorAccessAuto;
  193. set
  194. {
  195. indicatiorAccessAuto = value;
  196. OnPropertyChanged("IndicatiorAccessAuto");
  197. }
  198. }
  199. private IndicatorState indicatiorAccessManual;
  200. public IndicatorState IndicatiorAccessManual
  201. {
  202. get => indicatiorAccessManual;
  203. set
  204. {
  205. indicatiorAccessManual = value;
  206. OnPropertyChanged("IndicatiorAccessManual");
  207. }
  208. }
  209. private LoadportCassetteState cassetteState;
  210. public LoadportCassetteState CassetteState
  211. {
  212. get => cassetteState;
  213. set
  214. {
  215. cassetteState = value;
  216. OnPropertyChanged("CassetteState");
  217. }
  218. }
  219. private FoupClampState clampState;
  220. public FoupClampState ClampState
  221. {
  222. get => clampState;
  223. set
  224. {
  225. clampState = value;
  226. OnPropertyChanged("ClampState");
  227. }
  228. }
  229. private FoupDoorState doorState;
  230. public FoupDoorState DoorState
  231. {
  232. get => doorState;
  233. set
  234. {
  235. doorState = value;
  236. OnPropertyChanged("DoorState");
  237. }
  238. }
  239. private string status;
  240. public string Status
  241. {
  242. get => status;
  243. set
  244. {
  245. status = value;
  246. OnPropertyChanged("Status");
  247. }
  248. }
  249. private DeviceState rfidReaderStatus;
  250. public DeviceState RfidReaderStatus
  251. {
  252. get => rfidReaderStatus;
  253. set
  254. {
  255. rfidReaderStatus = value;
  256. OnPropertyChanged("RfidReaderStatus");
  257. }
  258. }
  259. private int slotCount;
  260. public int SlotCount
  261. {
  262. get => slotCount;
  263. set
  264. {
  265. slotCount = value;
  266. OnPropertyChanged("SlotCount");
  267. }
  268. }
  269. private bool isShow;
  270. public bool IsShow
  271. {
  272. get => isShow;
  273. set
  274. {
  275. isShow = value;
  276. OnPropertyChanged("IsShow");
  277. }
  278. }
  279. }
  280. public enum FoupType
  281. {
  282. Loadport,
  283. OpenCassette,
  284. OpenCassetteNoReadID,
  285. OpenCassetteWithDoor,
  286. SMIF,
  287. SMIFNOMAP,
  288. LoadPortSmif,
  289. NoButton,
  290. LoadportMapButtonControl,
  291. Nothing,
  292. Mapbuffer,
  293. OpenCassetteOnlyMap
  294. }
  295. public enum ReaderType
  296. {
  297. RfidReader,
  298. RfidReaderNothing
  299. }
  300. }