重新整理Routine和仿真
This commit is contained in:
@@ -446,8 +446,11 @@ namespace SicModules.PMs.RecipeExecutions
|
||||
|
||||
_stepTimer2.Start(int.MaxValue);
|
||||
|
||||
Notify(
|
||||
$"Running step {_currentStepNumber + 1} : {PmDevice.RecipeRunningInfo.RecipeStepList[_currentStepNumber].StepName}");
|
||||
Notify($"Running step {_currentStepNumber + 1} : {PmDevice.RecipeRunningInfo.RecipeStepList[_currentStepNumber].StepName}");
|
||||
|
||||
GemManager.Instance?.TriggerEvent($"{Module}RecipeStepStart", new string[] { $"{Module}.SelectedRecipeName", $"{Module}.RecipeStepNumber",$"{Module}.RecipeStepName" },
|
||||
new object[] { PmDevice.RecipeRunningInfo.RecipeName, _currentStepNumber + 1,
|
||||
PmDevice.RecipeRunningInfo.RecipeStepList[_currentStepNumber].StepName });
|
||||
|
||||
if (PmDevice.RecipeRunningInfo.RecipeStepList[_currentStepNumber].IsDummyStep)
|
||||
{
|
||||
@@ -685,9 +688,12 @@ namespace SicModules.PMs.RecipeExecutions
|
||||
|
||||
case RecipeRunningState.StepCompleted:
|
||||
{
|
||||
//放在前面,stepnumber后面会被更新
|
||||
//放在前面,stepnumber后面会被更新
|
||||
GemManager.Instance?.TriggerEvent($"{Module}RecipeStepComplete",
|
||||
new string[] { $"{Module}.SelectedRecipeName", $"{Module}.RecipeStepNumber", $"{Module}.RecipeStepName" },
|
||||
new object[] { PmDevice.RecipeRunningInfo.RecipeName, _currentStepNumber + 1,PmDevice.RecipeRunningInfo.RecipeStepList[_currentStepNumber].StepName });
|
||||
|
||||
_stepTimer2.Stop();
|
||||
_stepTimer2.Stop();
|
||||
|
||||
_dbCallback.RecipeStepEnd(PmDevice.RecipeRunningInfo.InnerId.ToString(),
|
||||
_currentStepNumber, _fdc.DataList);
|
||||
|
||||
Reference in New Issue
Block a user