refactor: 将Framework库和RT、UI放在同一个解决方案中。
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using Caliburn.Micro.Core;
|
||||
|
||||
namespace MECF.Framework.UI.Client.ClientBase
|
||||
{
|
||||
public class ModuleWaferManager : PropertyChangedBase
|
||||
{
|
||||
public string ModuleID;
|
||||
private bool hasWafer = false;
|
||||
private WaferInfo topWafer;
|
||||
private ObservableCollection<WaferInfo> wafers;
|
||||
|
||||
public ModuleWaferManager(string _mod)
|
||||
{
|
||||
this.ModuleID = _mod;
|
||||
this.wafers = new ObservableCollection<WaferInfo>();
|
||||
}
|
||||
|
||||
public ObservableCollection<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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user