1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- 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<WaferInfo>();
- }
- public List<WaferInfo> 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<WaferInfo> wafers;
- }
- }
|