|
@@ -30,6 +30,7 @@ namespace Venus_MainPages.ViewModels
|
|
private bool m_PMAIsInstalled;
|
|
private bool m_PMAIsInstalled;
|
|
private bool m_PMBIsInstalled;
|
|
private bool m_PMBIsInstalled;
|
|
private bool m_PMCIsInstalled;
|
|
private bool m_PMCIsInstalled;
|
|
|
|
+ private bool m_VCEIsInstalled;
|
|
#endregion
|
|
#endregion
|
|
|
|
|
|
#region 属性
|
|
#region 属性
|
|
@@ -98,6 +99,14 @@ namespace Venus_MainPages.ViewModels
|
|
SetProperty(ref m_PMCIsInstalled, value);
|
|
SetProperty(ref m_PMCIsInstalled, value);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ public bool VCEIsInstalled
|
|
|
|
+ {
|
|
|
|
+ get { return m_VCEIsInstalled; }
|
|
|
|
+ set
|
|
|
|
+ {
|
|
|
|
+ SetProperty(ref m_VCEIsInstalled, value);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
public int VCE1WaferCount
|
|
public int VCE1WaferCount
|
|
{
|
|
{
|
|
get { return m_VCE1WaferCount; }
|
|
get { return m_VCE1WaferCount; }
|
|
@@ -130,6 +139,7 @@ namespace Venus_MainPages.ViewModels
|
|
private DelegateCommand _SMIFULoad;
|
|
private DelegateCommand _SMIFULoad;
|
|
public DelegateCommand SMIFULoad =>
|
|
public DelegateCommand SMIFULoad =>
|
|
_SMIFULoad ?? (_SMIFULoad = new DelegateCommand(smifUnLoad));
|
|
_SMIFULoad ?? (_SMIFULoad = new DelegateCommand(smifUnLoad));
|
|
|
|
+
|
|
#endregion
|
|
#endregion
|
|
|
|
|
|
#region 构造函数
|
|
#region 构造函数
|
|
@@ -142,6 +152,7 @@ namespace Venus_MainPages.ViewModels
|
|
PMAIsInstalled = allModules.Contains("PMA");
|
|
PMAIsInstalled = allModules.Contains("PMA");
|
|
PMBIsInstalled = allModules.Contains("PMB");
|
|
PMBIsInstalled = allModules.Contains("PMB");
|
|
PMCIsInstalled = allModules.Contains("PMC");
|
|
PMCIsInstalled = allModules.Contains("PMC");
|
|
|
|
+ VCEIsInstalled = allModules.Contains("VCE1");
|
|
DispatcherTimer timer = new DispatcherTimer();
|
|
DispatcherTimer timer = new DispatcherTimer();
|
|
timer.Interval = TimeSpan.FromSeconds(0.1);
|
|
timer.Interval = TimeSpan.FromSeconds(0.1);
|
|
timer.Tick += Timer_Tick;
|
|
timer.Tick += Timer_Tick;
|
|
@@ -184,7 +195,10 @@ namespace Venus_MainPages.ViewModels
|
|
{
|
|
{
|
|
PMCModuleInfo = ModuleManager.ModuleInfos["PMC"];
|
|
PMCModuleInfo = ModuleManager.ModuleInfos["PMC"];
|
|
}
|
|
}
|
|
- VCE1ModuleInfo = ModuleManager.ModuleInfos["VCE1"];
|
|
|
|
|
|
+ if (VCEIsInstalled == true)
|
|
|
|
+ {
|
|
|
|
+ VCE1ModuleInfo = ModuleManager.ModuleInfos["VCE1"];
|
|
|
|
+ }
|
|
|
|
|
|
}
|
|
}
|
|
#endregion
|
|
#endregion
|