WaferAssociationInfo.cs 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. using Caliburn.Micro.Core;
  2. using OpenSEMI.ClientBase;
  3. namespace VirgoUI.Client.Models.Operate.WaferAssociation
  4. {
  5. public class WaferAssociationInfo : PropertyChangedBase
  6. {
  7. private int _slotFrom = 1;
  8. public int SlotFrom
  9. {
  10. get { return _slotFrom; }
  11. set { _slotFrom = value; NotifyOfPropertyChange("SlotFrom"); }
  12. }
  13. private int _slotTo = 25;
  14. public int SlotTo
  15. {
  16. get { return _slotTo; }
  17. set { _slotTo = value; NotifyOfPropertyChange("SlotTo"); }
  18. }
  19. private string _sequenceName = string.Empty;
  20. public string SequenceName
  21. {
  22. get { return _sequenceName; }
  23. set { _sequenceName = value; NotifyOfPropertyChange("SequenceName"); }
  24. }
  25. private string _JobID = string.Empty;
  26. public string JobID
  27. {
  28. get { return _JobID; }
  29. set { _JobID = value; NotifyOfPropertyChange("JobID"); }
  30. }
  31. private ModuleInfo _ModuleData;
  32. public ModuleInfo ModuleData
  33. {
  34. get { return _ModuleData; }
  35. set { _ModuleData = value; NotifyOfPropertyChange("ModuleData"); }
  36. }
  37. private string _JobStatus = string.Empty;
  38. public string JobStatus
  39. {
  40. get { return _JobStatus; }
  41. set { _JobStatus = value;
  42. NotifyOfPropertyChange("JobStatus"); NotifyOfPropertyChange("EnableEditSlot");
  43. }
  44. }
  45. private string _lotId = string.Empty;
  46. public string LotId
  47. {
  48. get { return _lotId; }
  49. set { _lotId = value; NotifyOfPropertyChange("LotId"); }
  50. }
  51. private bool _LotIdSaved = true;
  52. public bool LotIdSaved
  53. {
  54. get { return _LotIdSaved; }
  55. set { _LotIdSaved = value; NotifyOfPropertyChange("LotIdSaved"); }
  56. }
  57. public bool EnableEditSlot
  58. {
  59. get { return string.IsNullOrEmpty(_JobStatus); }
  60. }
  61. }
  62. }