|
@@ -554,26 +554,28 @@ namespace Venus_MainPages.ViewModels
|
|
|
{
|
|
|
InvokeClient.Instance.Service.DoOperation("System.HomeAll");
|
|
|
}
|
|
|
- private void OnPauseAllJob()
|
|
|
- {
|
|
|
-
|
|
|
- }
|
|
|
+
|
|
|
private void OnResumeAllJob()
|
|
|
{
|
|
|
+ var t = CommonFunction.GetValue<List<string>>(RtDataValues, "Scheduler.PjNameList");
|
|
|
+ if (t == null && t.Count == 0)
|
|
|
+ {
|
|
|
+ return;
|
|
|
+ }
|
|
|
if (CommonFunction.GetValue<int>(RtDataValues, "EquipmentStatus") == 4)
|
|
|
{
|
|
|
- InvokeClient.Instance.Service.DoOperation("System.ResumeJob", LP1WaferAssociation.JobID);
|
|
|
- //InvokeClient.Instance.Service.DoOperation("System.ResumeJob", LP2WaferAssociation.JobID);
|
|
|
- //InvokeClient.Instance.Service.DoOperation("System.ResumeJob", LP3WaferAssociation.JobID);
|
|
|
+ t.ForEach(x =>
|
|
|
+ {
|
|
|
+ InvokeClient.Instance.Service.DoOperation("System.ResumeJob", x);
|
|
|
+ });
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- InvokeClient.Instance.Service.DoOperation("System.PauseJob", LP1WaferAssociation.JobID);
|
|
|
- //InvokeClient.Instance.Service.DoOperation("System.PauseJob", LP2WaferAssociation.JobID);
|
|
|
- //InvokeClient.Instance.Service.DoOperation("System.PauseJob", LP3WaferAssociation.JobID);
|
|
|
-
|
|
|
+ t.ForEach(x =>
|
|
|
+ {
|
|
|
+ InvokeClient.Instance.Service.DoOperation("System.PauseJob", x);
|
|
|
+ });
|
|
|
}
|
|
|
-
|
|
|
}
|
|
|
private void OnAbortAll()
|
|
|
{
|
|
@@ -735,8 +737,7 @@ namespace Venus_MainPages.ViewModels
|
|
|
else
|
|
|
{
|
|
|
RouteState = "Pause";
|
|
|
- }
|
|
|
-
|
|
|
+ }
|
|
|
}
|
|
|
private async void RobotMoveInfoChanged(RobotMoveInfo oldValue, RobotMoveInfo newValue)
|
|
|
{
|
|
@@ -1172,7 +1173,7 @@ namespace Venus_MainPages.ViewModels
|
|
|
m_RtDataKeys.Add("Scheduler.CycleSetPoint");
|
|
|
m_RtDataKeys.Add("Scheduler.Throughput");
|
|
|
m_RtDataKeys.Add("EquipmentStatus");
|
|
|
-
|
|
|
+ m_RtDataKeys.Add("Scheduler.PjNameList");
|
|
|
}
|
|
|
private void AssociateSequence(WaferAssociationInfo info, bool flag, int slot = -1)
|
|
|
{
|