using Caliburn.Micro.Core; using OpenSEMI.ClientBase; namespace VirgoUI.Client.Models.Operate.WaferAssociation { public class WaferAssociationInfo : PropertyChangedBase { private int _slotFrom = 1; public int SlotFrom { get { return _slotFrom; } set { _slotFrom = value; NotifyOfPropertyChange("SlotFrom"); } } private int _slotTo = 25; public int SlotTo { get { return _slotTo; } set { _slotTo = value; NotifyOfPropertyChange("SlotTo"); } } private string _sequenceName = string.Empty; public string SequenceName { get { return _sequenceName; } set { _sequenceName = value; NotifyOfPropertyChange("SequenceName"); } } private string _JobID = string.Empty; public string JobID { get { return _JobID; } set { _JobID = value; NotifyOfPropertyChange("JobID"); } } private ModuleInfo _ModuleData; public ModuleInfo ModuleData { get { return _ModuleData; } set { _ModuleData = value; NotifyOfPropertyChange("ModuleData"); } } private string _JobStatus = string.Empty; public string JobStatus { get { return _JobStatus; } set { _JobStatus = value; NotifyOfPropertyChange("JobStatus"); NotifyOfPropertyChange("EnableEditSlot"); } } private string _lotId = string.Empty; public string LotId { get { return _lotId; } set { _lotId = value; NotifyOfPropertyChange("LotId"); } } private bool _LotIdSaved = true; public bool LotIdSaved { get { return _LotIdSaved; } set { _LotIdSaved = value; NotifyOfPropertyChange("LotIdSaved"); } } public bool EnableEditSlot { get { return string.IsNullOrEmpty(_JobStatus); } } } }