重新整理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
@@ -142,15 +142,15 @@ namespace SicModules.PMs.RecipeExecutions
recipeStep.GrowthRate = Convert.ToDouble(dic["GrowthRate"]);
recipeStep.EndBy = EnumEndByCondition.ByTime;
if (dic.TryGetValue("Loop", out var loopStr))
{
recipeStep.IsLoopStartStep = System.Text.RegularExpressions.Regex.Match(loopStr, @"Loop\x20\d+\s*$").Success;
recipeStep.IsLoopEndStep = System.Text.RegularExpressions.Regex.Match(loopStr, @"Loop End$").Success;
if (recipeStep.IsLoopStartStep)
recipeStep.LoopCount = Convert.ToInt32(loopStr.Replace("Loop", string.Empty));
else
recipeStep.LoopCount = 0;
}
//if (dic.TryGetValue("Loop", out var loopStr))
//{
// recipeStep.IsLoopStartStep = System.Text.RegularExpressions.Regex.Match(loopStr, @"Loop\x20\d+\s*$").Success;
// recipeStep.IsLoopEndStep = System.Text.RegularExpressions.Regex.Match(loopStr, @"Loop End$").Success;
// if (recipeStep.IsLoopStartStep)
// recipeStep.LoopCount = Convert.ToInt32(loopStr.Replace("Loop", string.Empty));
// else
// recipeStep.LoopCount = 0;
//}
//if (recipeData.Count >= 2)
//{
@@ -165,6 +165,9 @@ namespace SicModules.PMs.RecipeExecutions
// }
//}
foreach (var key in dic.Keys)
recipeStep.RecipeCommands.Add(key, dic[key]);
#region Remove
//dic.Remove("StepNo");
@@ -225,7 +228,7 @@ namespace SicModules.PMs.RecipeExecutions
//{
// dic.Remove("Mfc30.Ramp");
//}
dic.Remove("HCLSourSplitRatio");
dic.Remove("SHTotalFlow");
dic.Remove("SHTotalFlowSplitRatio");
//dic.Remove("SiSourTotalFlow");
@@ -243,6 +246,9 @@ namespace SicModules.PMs.RecipeExecutions
dic.Remove("SHOutterFlow");
//dic.Remove("GRPurgeHCI");
//dic.Remove("TotalVentFlow");
if (dic.ContainsKey("Loop"))
dic.Remove("Loop");
#endregion
foreach (var key in dic.Keys)