18.01.2015 Views

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Tags and the Project Database<br />

Creating Classes<br />

To create a new class tag:<br />

1. From the Global tab, right-click the Classes folder and then select Insert Class from the resulting shortcut<br />

menu.<br />

2. When the Insert Class dialog displays, type a name into the Name text box using the design guidelines and<br />

tag name syntax.<br />

Insert Class dialog<br />

3. Click OK to close the Insert Class dialog. The Class: worksheet is displayed automatically.<br />

Configure the columns in this worksheet as follows:<br />

• Name field: Type a class member name.<br />

• Type drop-down list: Click the arrow to select the class member's data type (Boolean, Integer, Real, or<br />

String) from the list.<br />

• Description field (optional): Type a description of the class member (for documentation purposes only).<br />

Sample CTank worksheet<br />

4. Click in the next blank line and provide the information for the next class member you want to include in<br />

this class. Or, if you are finished adding members, you can close the Class worksheet.<br />

You can expand the Classes folder and subfolders to see the data structure:<br />

Expanded Classes folder<br />

5. Next, use the instructions provided in "Adding Tags to the Datasheet" to create and associate a tag with<br />

the new class.<br />

Note that when you click the arrow button to view the Type list, your new class name (CTank) is included<br />

(see line 5 in the following figure). Select the class name from this list.<br />

Creating the Tank Class Tag<br />

6. When you are done, save your work and close the worksheet.<br />

Page 122<br />

<strong>InduSoft</strong> Web Studio

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!