Download Manuale Utente User Manual

Transcript
Chapter 8
391
Scripts
ESARECIPEMGR methods accessible with Scripts
Table 5: ESARECIPEMGR methods accessible with Scripts
The object
ESARECIPETYP
Method
Description
OUT
IN
Str
GetTAG
Buffer
Returns the name of the
tag buffer related to a field
of the recipe; needs as
input parameters the
name of the type of recipe
and the field buffer
Structure
Name
(Str)
FieldName
(Str)
-
Structure
Name
(Str)
ClearTAG
Buffer
Clears the buffer of all
recipe variables (including
ID, name and comment):
the numerical variables are
set at 0, the strings at ““;
it needs as an input
parameter the type of
recipe
Bool
Recipe
Compare
Returns a Boolean value
indicating whether the two
recipes indicated are the
similar (1) or different (0);
the test is carried out on
the versions that have
been saved. Requires as
an input parameter the
name of the recipe type
and of two recipes to
compare
Structure
Name
(Str)
Recipe
Name1
(Str)
Recipe
Name2
(Str)
IsActive
Indicates if it is in course
and therefore a transfer is
active
Integ
er
Structure
Name
(Str)
This object offers functions relating to the management of the
recipe types in the project. The following table describes the
methods that can be used with this object using a syntax of
ESAHMI.ESARECIPETYP.GetFirstRecipeTypeName()
Polymath SmartClick - User Manual - rev. 1.0