Recipe class object

The recipe class object in the VisiWin API provides programmatic access to a recipe class.

A recipe class object is linked to a recipe class in the server. The various data can then be accessed via its interfaces or information about the current status of a recipe can be retrieved.

Note: Depending on the UI technology, the names of the objects, properties and methods differ in the VisiWin API:

Classic UI

Recipe class object
RecipeClass
Retrieval and initialisation
RecipeClass recipeClass = RecipeManager.Classes[recipeClassName];
See also
RecipeClassHandler (component)
RecipeList (control element)

Modern UI

Recipe class object
IRecipeClass, RecipeClass
Retrieval and initialisation
IRecipeService recipeService = ApplicationService.GetService<IRecipeService>(); IRecipeClass recipeClass = await recipeService.GetRecipeClassAsync(recipeClassName);
See also

Web UI

Recipe class object
IRecipeClass, RecipeClass
Retrieval and initialisation
const recipeService = VisiWin.System.Recipe.RecipeService.getService();const recipeClass = await recipeService.GetRecipeClassAsync(recipeClassName);
See also
IRecipeClass (interface)