wonderware ide 培训的手册文档第2章
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
Lab 2 –Creating Global Derived Templates
Introduction
In this lab, you will create derived templates from base templates using the ArchestrA IDE. These derived templates will be used throughout the remainder of the class to develop the sample application. You will then organize the templates into template toolsets. You will then hide the template toolsets that contain the base templates to ensure that instances are not created from base templates.
Objectives
Upon completion of this lab, you will be able to:
Create a new template toolset to organize templates
Create a derived template
Hide a template toolset
Create the Template Toolsets
In the following steps, you will create template toolsets to help organize the templates that you will create.
1.In the Template Toolbox, right-click TrainingGalaxy and select New Template Toolset.
2.Rename the new toolset Training.
Note: The Rename feature can be found by right-clicking the folder or object.
You will now create template toolsets in the Training template toolset.
3.Right-click the Training toolset and select New Template Toolset.
4.Rename the new toolset Global.
5.Repeat Steps 3&4and rename the new toolset Working.
Create the Derived Templates
For the remainder of this lab, you will create derived templates and organize them in the template toolsets that were just created.
6.Expand the Device Integration toolset by clicking on the plus icon to the left of the template
toolset.
7.Right-click $DDESuiteLinkClient and select New | Derived Template.
8.Rename the new derived template $gDDESuiteLinkClient.
9.Repeat Steps 7&8three times to create three more new derived templates from the following base
templates:
The Template Toolbox now displays all four new derived templates in the Device Integration template toolset.
10.Drag and drop the four new derived templates into the Global toolset.
11.Expand the System template toolset.
12.Create four new derived templates from the following base templates:
The Template Toolbox now displays the four new derived templates in the System template toolset.
Note: You will not create a derived template from $InTouchViewApp, because it is a special object that does not accept second level derivation.
13.Drag and drop the four new derived templates and the $InTouchViewApp object to the Global
toolset.
To ensure that instances are not created from base templates, you will hide the Device Integration and System template toolsets. Going forward, you will only use the Application and Training template toolsets.
14.Right-click on the Device Integration template toolset and select Hide.
15.Repeat Step 14to hide the System template toolset.
Your Template Toolbox now displays the organization as seen below.