重新整理Routine和仿真

This commit is contained in:
hanqiangqiang
2026-06-10 15:41:00 +08:00
parent 9588fe0121
commit a11d2b154d
22 changed files with 1227 additions and 1053 deletions
@@ -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);