Download CIMPLICITY HMI Routing Control Objects Operation Manual

Transcript
Pseudo Code
For each array element
{ \\ start for each element in array element
Get attribute name, Get attribute value, Get Item Class
If attribute name and value are not blank
{ \\ start if attribute name and value are not blank.
If( Location == All)
{
for each locations\\ ( nLocCnt = 1 to MaxLocation)
{
Call function UpdateRuleCounters( attrib name, attrib value,
Count (group/spacing) array point[P6], item class,
rule count array point[P7],
region id, nLocCnt, attb name array point, attb val array pt, Rule type
array point[P8],Attrib count array point[P9],Total release count[P10],
array index)
}\\endfor all locations
}\\endif all location
else \\ for head location
{
Call function UpdateRuleCounters( attrib name, attrib value,
Count (group/spacing) array point[P6], item class,
rule count array point[P7],
region id, Location, attb name array point, attb val array pt, Rule type
array point[P8],Attrib count array point[P9],Total release count[P10],
array index)
}
}//endiif atrribute value and name are blank
}//end for – next array element
Update array Points Counts
This is a function iteratively called within Update Rule Counts function block.
Function - UpdateRuleCounters – Pseudo Code (this function is called in Update
Rule Counts function block)
9-8
CIMPLICITY HMI Routing Control Objects Operation Manual–July 2001
GFK-1408C