Pluma1

Alarm triggered when Recipe is changed

2 posts in this topic

How would I go about adding an alarm when a recipe is selected it will set that alarm off but also say which recipe was selected in the process when looking at the alarm viewer.

Share this post


Link to post
Share on other sites

What I do is adding a button "Enable" and "Disable" beside the RecipeViewer in a dialog box.
You can select the recipe in the RecipeViewer and push the button "Enable" to confirm the selection.
Your "Enable" button must have a event calling subroutine like this :

Sub EventEnable
	RecipeEnabled = True
	WriteRecipeToController(RecipeViewerSelector.SelectedTemplate, RecipeViewerSelector.SelectedRecipe)
End Sub

Sub EventDisable
	RecipeEnabled = False
End Sub

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now