using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Caliburn.Micro.Core; using ACom = Aitex.Core.Common; namespace OpenSEMI.ClientBase { public class ModuleWaferManager : PropertyChangedBase { public ModuleWaferManager(string _mod) { this.ModuleID = _mod; this.wafers = new List(); } public List Wafers { get { return this.wafers; } set { this.wafers = value; this.RaisePropertyChangedEventImmediately("Wafers"); } } public WaferInfo TopWafer { get { return this.topWafer; } set { if (this.topWafer != value) { this.topWafer = value; this.NotifyOfPropertyChange("TopWafer"); } } } public bool HasWafer { get { return this.hasWafer; } set { if (this.hasWafer != value) { this.hasWafer = value; this.RaisePropertyChangedEventImmediately("HasWafer"); } } } public string ModuleID; private bool hasWafer = false; private WaferInfo topWafer; private List wafers; } }