|
@@ -24,7 +24,7 @@ namespace Venus_MainPages.ViewModels
|
|
|
{
|
|
|
public enum SeTMModule
|
|
|
{
|
|
|
- PMA, PMB, PMC, VCE1, VPA
|
|
|
+ PMA, PMB, PMC, VCE1, Aligner1
|
|
|
}
|
|
|
public enum SeTMBlade
|
|
|
{
|
|
@@ -33,10 +33,10 @@ namespace Venus_MainPages.ViewModels
|
|
|
public class SeTMViewModel : BindableBase
|
|
|
{
|
|
|
#region 私有字段
|
|
|
- public double m_VPAangle;
|
|
|
+ public double m_Alignerangle;
|
|
|
|
|
|
private ModuleInfo m_VCEModuleInfo;
|
|
|
- private ModuleInfo m_VPAModuleInfo;
|
|
|
+ private ModuleInfo m_AlignerModuleInfo;
|
|
|
private ModuleInfo m_TMModuleInfo;
|
|
|
|
|
|
//Wafer
|
|
@@ -85,7 +85,7 @@ namespace Venus_MainPages.ViewModels
|
|
|
private bool m_PMBIsInstalled;
|
|
|
private bool m_PMCIsInstalled;
|
|
|
private bool m_VCEIsInstalled;
|
|
|
- private bool m_VPAIsInstalled;
|
|
|
+ private bool m_AlignerIsInstalled;
|
|
|
private Dictionary<string, object> m_RtDataValues = new Dictionary<string, object>();
|
|
|
private List<string> m_RtDataKeys = new List<string>();
|
|
|
|
|
@@ -110,10 +110,10 @@ namespace Venus_MainPages.ViewModels
|
|
|
#endregion
|
|
|
|
|
|
#region 属性
|
|
|
- public double VPAangle
|
|
|
+ public double Alignerangle
|
|
|
{
|
|
|
- get { return m_VPAangle; }
|
|
|
- set { SetProperty(ref m_VPAangle, value); }
|
|
|
+ get { return m_Alignerangle; }
|
|
|
+ set { SetProperty(ref m_Alignerangle, value); }
|
|
|
}
|
|
|
public WaferInfo PMAWafer
|
|
|
{
|
|
@@ -177,12 +177,12 @@ namespace Venus_MainPages.ViewModels
|
|
|
SetProperty(ref m_VCEModuleInfo, value);
|
|
|
}
|
|
|
}
|
|
|
- public ModuleInfo VPAModuleInfo
|
|
|
+ public ModuleInfo AlignerModuleInfo
|
|
|
{
|
|
|
- get { return m_VPAModuleInfo; }
|
|
|
+ get { return m_AlignerModuleInfo; }
|
|
|
set
|
|
|
{
|
|
|
- SetProperty(ref m_VPAModuleInfo, value);
|
|
|
+ SetProperty(ref m_AlignerModuleInfo, value);
|
|
|
}
|
|
|
}
|
|
|
public Dictionary<string, object> RtDataValues
|
|
@@ -211,10 +211,10 @@ namespace Venus_MainPages.ViewModels
|
|
|
get { return m_VCEIsInstalled; }
|
|
|
set { SetProperty(ref m_VCEIsInstalled, value); }
|
|
|
}
|
|
|
- public bool VPAIsInstalled
|
|
|
+ public bool AlignerIsInstalled
|
|
|
{
|
|
|
- get { return m_VPAIsInstalled; }
|
|
|
- set { SetProperty(ref m_VPAIsInstalled, value); }
|
|
|
+ get { return m_AlignerIsInstalled; }
|
|
|
+ set { SetProperty(ref m_AlignerIsInstalled, value); }
|
|
|
}
|
|
|
|
|
|
public List<SeTMModule> TMModules
|
|
@@ -450,7 +450,7 @@ namespace Venus_MainPages.ViewModels
|
|
|
PMBIsInstalled = allModules.Contains("PMB");
|
|
|
PMCIsInstalled = allModules.Contains("PMC");
|
|
|
VCEIsInstalled = allModules.Contains("VCE1");
|
|
|
- VPAIsInstalled = allModules.Contains("VPA");
|
|
|
+ AlignerIsInstalled = allModules.Contains("Aligner1");
|
|
|
if (PMAIsInstalled == true)
|
|
|
{
|
|
|
TMModules.Add(SeTMModule.PMA);
|
|
@@ -462,20 +462,20 @@ namespace Venus_MainPages.ViewModels
|
|
|
if (PMCIsInstalled == true)
|
|
|
{
|
|
|
TMModules.Add(SeTMModule.PMC);
|
|
|
- m_VPAangle = 270;
|
|
|
+ m_Alignerangle = 270;
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- m_VPAangle = 180;
|
|
|
+ m_Alignerangle = 180;
|
|
|
}
|
|
|
|
|
|
if (VCEIsInstalled == true)
|
|
|
{
|
|
|
TMModules.Add(SeTMModule.VCE1);
|
|
|
}
|
|
|
- if (VPAIsInstalled == true)
|
|
|
+ if (AlignerIsInstalled == true)
|
|
|
{
|
|
|
- TMModules.Add(SeTMModule.VPA);
|
|
|
+ TMModules.Add(SeTMModule.Aligner1);
|
|
|
}
|
|
|
|
|
|
PickSoltItemsSource.Add(1);
|
|
@@ -617,7 +617,7 @@ namespace Venus_MainPages.ViewModels
|
|
|
{
|
|
|
InvokeClient.Instance.Service.DoOperation($"TM.PMPlace", moveItems);
|
|
|
}
|
|
|
- //VCE、VPA
|
|
|
+ //VCE、Aligner1
|
|
|
else
|
|
|
{
|
|
|
InvokeClient.Instance.Service.DoOperation($"TM.Place", moveItems);
|
|
@@ -663,7 +663,7 @@ namespace Venus_MainPages.ViewModels
|
|
|
}
|
|
|
List<string> stations = new List<string>();
|
|
|
stations.Add("VCE1");
|
|
|
- stations.Add("VPA");
|
|
|
+ stations.Add("Aligner1");
|
|
|
if (PMAIsCycle == true)
|
|
|
{
|
|
|
stations.Add("PMA");
|
|
@@ -721,9 +721,9 @@ namespace Venus_MainPages.ViewModels
|
|
|
PMCDoorIsOpen = !CommonFunction.GetValue<bool>(RtDataValues, "TM.PMCSlitDoorClosed");
|
|
|
VCEOutDoorIsOpen = !CommonFunction.GetValue<bool>(RtDataValues, "VCE1.VCEOutDoorClosed");
|
|
|
RobotMoveInfo = (RobotMoveInfo)QueryDataClient.Instance.Service.GetData("TM.RobotMoveAction");
|
|
|
+ PAWafer = ModuleManager.ModuleInfos["Aligner1"].WaferManager.Wafers[0];
|
|
|
RobotUpperWafer = TMModuleInfo.WaferManager.Wafers[0];
|
|
|
RobotLowerWafer = TMModuleInfo.WaferManager.Wafers[1];
|
|
|
- PAWafer = ModuleManager.ModuleInfos["Aligner1"].WaferManager.Wafers[0];
|
|
|
|
|
|
}
|
|
|
private async void RobotMoveInfoChanged(RobotMoveInfo oldValue, RobotMoveInfo newValue)
|
|
@@ -768,7 +768,7 @@ namespace Venus_MainPages.ViewModels
|
|
|
}
|
|
|
#endregion
|
|
|
|
|
|
- #region VPA、VCE1 Pick、Place
|
|
|
+ #region Aligner1、VCE1 Pick、Place
|
|
|
else if ((oldValue.Action == RobotAction.None || oldValue.ArmTarget != newValue.ArmTarget) && (newValue.Action == RobotAction.Placing || newValue.Action == RobotAction.Picking))
|
|
|
{
|
|
|
var TMRobotMoveActionBladeTarget = newValue.BladeTarget;
|
|
@@ -783,7 +783,7 @@ namespace Venus_MainPages.ViewModels
|
|
|
var values = RobotTarget.Split('.');
|
|
|
var arm = values[0];
|
|
|
var module = values[1];
|
|
|
- //if (module == "VPA")
|
|
|
+ //if (module == "Aligner1")
|
|
|
//{
|
|
|
// module = PMCIsInstalled ? "VPA" : "VPARight";
|
|
|
//}
|