ModuleInfo.cs 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using Caliburn.Micro.Core;
  7. namespace OpenSEMI.ClientBase
  8. {
  9. public class ModuleInfo : PropertyChangedBase
  10. {
  11. private string _moduleID;
  12. public string ModuleID
  13. {
  14. get { return _moduleID; }
  15. set { _moduleID = value; NotifyOfPropertyChange("ModuleID"); }
  16. }
  17. private bool _IsInstalled;
  18. public bool IsInstalled
  19. {
  20. get { return _IsInstalled; }
  21. set { _IsInstalled = value; NotifyOfPropertyChange("IsInstalled"); }
  22. }
  23. private string _status;
  24. public string Status
  25. {
  26. get { return _status; }
  27. set { _status = value; NotifyOfPropertyChange("Status"); }
  28. }
  29. private bool _IsOnline;
  30. public bool IsOnline
  31. {
  32. get { return _IsOnline; }
  33. set { _IsOnline = value; NotifyOfPropertyChange("IsOnline"); }
  34. }
  35. private ModuleWaferManager _WaferManager;
  36. public ModuleWaferManager WaferManager
  37. {
  38. get { return _WaferManager; }
  39. set { _WaferManager = value; NotifyOfPropertyChange("WaferManager"); }
  40. }
  41. public void IsBusy()
  42. {
  43. }
  44. public ModuleInfo()
  45. {
  46. }
  47. public ModuleInfo(string modname, bool p_install, ModuleWaferManager p_modInfoWithWafer, bool p_online)
  48. {
  49. this._moduleID = modname;
  50. this._WaferManager = p_modInfoWithWafer;
  51. this._IsInstalled = p_install;
  52. this._IsOnline = p_online;
  53. }
  54. }
  55. }