|
@@ -1510,6 +1510,7 @@ namespace FurnaceUI.Views.Recipes
|
|
|
{
|
|
|
var tempStep = CurrentRecipe.Steps.Where(x => x.StepNo == SelectedRecipeStep.StepNo).FirstOrDefault();
|
|
|
CurrentRecipe.ShallowCopyStep(ref tempStep, recipeStepSelectDialogViewModel.SelectedStep);
|
|
|
+ CurrentRecipe.SetDelegateEvent(tempStep);
|
|
|
selectStep = SelectedRecipeStep;
|
|
|
}
|
|
|
}
|
|
@@ -2614,7 +2615,7 @@ namespace FurnaceUI.Views.Recipes
|
|
|
if (bEnd)
|
|
|
{
|
|
|
|
|
|
- if (!recipestep.Name.ToUpper().Contains("END"))
|
|
|
+ if (!recipestep.Command.ToUpper().Contains("END"))
|
|
|
{
|
|
|
DialogBox.ShowWarning("The step command of last step must be 'END',please check!");
|
|
|
return;
|