Download ProcSee Tutorial
Transcript
Select Functions in the Class Properties window and click on the
New button. Type in the IsOpen function, (as shown in Figure
23) click on the Compile button. If the output field shows Compiled OK, click on the OK button to exit the window. The next
Figure 23
The Class Properties
Function Editor window.
function to create, is for deciding the valve colour.
int ValveColour()
{
if( IsOpen() )
return green;
else
return red;
}
Selected Properties
36
To define dynamic shapes in the valve class, bring up the Selected Properties window either by pressing the Selected Properties
button as illustrated in the left margin or select it from the View
menu. This window is shown in Figure 24
ProcSee Tutorial