|
@@ -49,7 +49,9 @@ namespace Venus_MainPages.ViewModels
|
|
private bool m_VCEOutDoorIsOpen;
|
|
private bool m_VCEOutDoorIsOpen;
|
|
private Dictionary<string, object> m_RtDataValues = new Dictionary<string, object>();
|
|
private Dictionary<string, object> m_RtDataValues = new Dictionary<string, object>();
|
|
private List<string> m_RtDataKeys = new List<string>();
|
|
private List<string> m_RtDataKeys = new List<string>();
|
|
-
|
|
|
|
|
|
+ private double m_PMAPercent;
|
|
|
|
+ private double m_PMBPercent;
|
|
|
|
+ private double m_PMCPercent;
|
|
private int m_PickNum;
|
|
private int m_PickNum;
|
|
|
|
|
|
private WaferAssociationInfo m_VCEwaferAssociation;
|
|
private WaferAssociationInfo m_VCEwaferAssociation;
|
|
@@ -57,6 +59,21 @@ namespace Venus_MainPages.ViewModels
|
|
#endregion
|
|
#endregion
|
|
|
|
|
|
#region 属性
|
|
#region 属性
|
|
|
|
+ public double PMAPercent
|
|
|
|
+ {
|
|
|
|
+ get { return m_PMAPercent; }
|
|
|
|
+ set { SetProperty(ref m_PMAPercent, value); }
|
|
|
|
+ }
|
|
|
|
+ public double PMBPercent
|
|
|
|
+ {
|
|
|
|
+ get { return m_PMBPercent; }
|
|
|
|
+ set { SetProperty(ref m_PMBPercent, value); }
|
|
|
|
+ }
|
|
|
|
+ public double PMCPercent
|
|
|
|
+ {
|
|
|
|
+ get { return m_PMCPercent; }
|
|
|
|
+ set { SetProperty(ref m_PMCPercent, value); }
|
|
|
|
+ }
|
|
public int PickNum
|
|
public int PickNum
|
|
{
|
|
{
|
|
get { return m_PickNum; }
|
|
get { return m_PickNum; }
|
|
@@ -293,7 +310,6 @@ namespace Venus_MainPages.ViewModels
|
|
{
|
|
{
|
|
//页面不刷错的方法 页面中的PM做成List的形式 通过itemsource显示 同时提供各个位置的pm点位 旋转角度
|
|
//页面不刷错的方法 页面中的PM做成List的形式 通过itemsource显示 同时提供各个位置的pm点位 旋转角度
|
|
VCE1WaferCount = 25;
|
|
VCE1WaferCount = 25;
|
|
- addDataKeys();
|
|
|
|
string[] allModules = QueryDataClient.Instance.Service.GetConfig($"System.InstalledModules").ToString().Split(',');
|
|
string[] allModules = QueryDataClient.Instance.Service.GetConfig($"System.InstalledModules").ToString().Split(',');
|
|
|
|
|
|
PMAIsInstalled = allModules.Contains("PMA");
|
|
PMAIsInstalled = allModules.Contains("PMA");
|
|
@@ -302,6 +318,7 @@ namespace Venus_MainPages.ViewModels
|
|
VCEIsInstalled = allModules.Contains("VCE1");
|
|
VCEIsInstalled = allModules.Contains("VCE1");
|
|
|
|
|
|
|
|
|
|
|
|
+ addDataKeys();
|
|
RtDataValues = QueryDataClient.Instance.Service.PollData(m_RtDataKeys);
|
|
RtDataValues = QueryDataClient.Instance.Service.PollData(m_RtDataKeys);
|
|
|
|
|
|
VCEDoorIsOpen = !CommonFunction.GetValue<bool>(RtDataValues, "SETM.VCESlitDoorClosed");
|
|
VCEDoorIsOpen = !CommonFunction.GetValue<bool>(RtDataValues, "SETM.VCESlitDoorClosed");
|
|
@@ -460,7 +477,23 @@ namespace Venus_MainPages.ViewModels
|
|
m_RtDataKeys.Add($"SEScheduler.CycleSetPoint");
|
|
m_RtDataKeys.Add($"SEScheduler.CycleSetPoint");
|
|
m_RtDataKeys.Add($"SEScheduler.CycleCount");
|
|
m_RtDataKeys.Add($"SEScheduler.CycleCount");
|
|
m_RtDataKeys.Add($"SEScheduler.ThroughPut");
|
|
m_RtDataKeys.Add($"SEScheduler.ThroughPut");
|
|
-
|
|
|
|
|
|
+ if (PMAIsInstalled)
|
|
|
|
+ {
|
|
|
|
+
|
|
|
|
+ m_RtDataKeys.Add($"PMA.ProcessHighPressure");
|
|
|
|
+ m_RtDataKeys.Add($"PMA.VentingFlag");
|
|
|
|
+ }
|
|
|
|
+ if (PMBIsInstalled)
|
|
|
|
+ {
|
|
|
|
+ m_RtDataKeys.Add($"PMB.ProcessHighPressure");
|
|
|
|
+ m_RtDataKeys.Add($"PMB.VentingFlag");
|
|
|
|
+ }
|
|
|
|
+ if (PMCIsInstalled)
|
|
|
|
+ {
|
|
|
|
+ m_RtDataKeys.Add($"PMC.ProcessHighPressure");
|
|
|
|
+ m_RtDataKeys.Add($"PMC.VentingFlag");
|
|
|
|
+ }
|
|
|
|
+
|
|
}
|
|
}
|
|
|
|
|
|
private void onHomeAll()
|
|
private void onHomeAll()
|
|
@@ -572,16 +605,19 @@ namespace Venus_MainPages.ViewModels
|
|
{
|
|
{
|
|
PMAModuleInfo = ModuleManager.ModuleInfos["PMA"];
|
|
PMAModuleInfo = ModuleManager.ModuleInfos["PMA"];
|
|
PMAWafer = PMAModuleInfo.WaferManager.Wafers[0];
|
|
PMAWafer = PMAModuleInfo.WaferManager.Wafers[0];
|
|
|
|
+ PMAPercent = CommonFunction.GetValue<double>(RtDataValues, "PMA.ProcessHighPressure") * 248 / 760000;
|
|
}
|
|
}
|
|
if (PMBIsInstalled == true)
|
|
if (PMBIsInstalled == true)
|
|
{
|
|
{
|
|
PMBModuleInfo = ModuleManager.ModuleInfos["PMB"];
|
|
PMBModuleInfo = ModuleManager.ModuleInfos["PMB"];
|
|
PMBWafer = PMBModuleInfo.WaferManager.Wafers[0];
|
|
PMBWafer = PMBModuleInfo.WaferManager.Wafers[0];
|
|
|
|
+ PMBPercent = CommonFunction.GetValue<double>(RtDataValues, "PMB.ProcessHighPressure") * 248 / 760000;
|
|
}
|
|
}
|
|
if (PMCIsInstalled == true)
|
|
if (PMCIsInstalled == true)
|
|
{
|
|
{
|
|
PMCModuleInfo = ModuleManager.ModuleInfos["PMC"];
|
|
PMCModuleInfo = ModuleManager.ModuleInfos["PMC"];
|
|
PMCWafer = PMCModuleInfo.WaferManager.Wafers[0];
|
|
PMCWafer = PMCModuleInfo.WaferManager.Wafers[0];
|
|
|
|
+ PMCPercent = CommonFunction.GetValue<double>(RtDataValues, "PMC.ProcessHighPressure") * 248 / 760000;
|
|
}
|
|
}
|
|
if (VCEIsInstalled == true)
|
|
if (VCEIsInstalled == true)
|
|
{
|
|
{
|