Panasonic HMWIN User Manual page 275

Touch
Hide thumbs Also See for HMWIN:
Table of Contents

Advertisement

getRecipeItem
object getRecipeItem (recipeName, recipeSet, recipeElement)
Gets the value of the given recipe set element.
Parameters
recipeName
recipeSet
set index.
recipeElement
based element index.
Return value
An object with the value of the recipe. undefined is returned if invalid. If of type array, an array object type
is returned.
var value = project.getRecipeItem("recipeName", "Set", "Element");
setRecipeItem
number setRecipeItem (recipeName, recipeSet, recipeElement, value )
Gets the value of the given recipe set element.
Parameters
recipeName
recipeSet
set index.
recipeElement
based element index.
value
Return value
Interger value for denoting success and failure of action. A '0' means success and '-1' means failure.
var val = [2,3,4];
project.setRecipeItem("recipeName", "Set", "Element", val);
if (status == 0) {
// Success
} else {
// Failure
}
downloadRecipe
void downloadRecipe (recipeName, recipeSet )
Downloads the recipe set to corresponding tag.
Parameters
recipeName
recipeSet
set index.
project.downloadRecipe("recipeName", "Set");
uploadRecipe
ACGM0195V1EN
HMWIN Studio User Manual
A string representing the recipe name.
A string representing the recipe set, can be either the recipe set name or 0 based
A string representing the recipe Element, can be either the element name or 0
A string representing the recipe name.
A string representing the recipe set, can be either the recipe set name or 0 based
A string representing the recipe Element, can be either the element name or 0
An object containing the value to store in the recipe. It can be an array type too.
A string representing the recipe name.
A string representing the recipe set, can be either the recipe set name or 0 based
275

Advertisement

Table of Contents
loading

Table of Contents