Templates
- Last UpdatedDec 03, 2024
- 1 minute read
Templates are high-level definitions of the devices in your environment. Templates are like a cookie cutter from which you can make many identical cookies.
You define a template for an object, like a valve, one time and then use that template when you need to define another instance of that item. Template names have a dollar sign ($) as the first character of their name.
A template can specify application logic, alarms, security, and historical data for an object.
A template can also define an area of your environment. You can extend and customize a template by adding attributes, scripts, or features to meet the specific needs of your environment. Objects inherit attributes, scripts and features from their parents.
Application Server comes with predefined templates, called base templates. You cannot modify base templates. All templates you create are derived from base templates.
You can also nest templates, or contain them. Contained templates consist of nested object templates that represent complex devices consisting of smaller, simpler devices, including valves. A reactor is a good candidate for containment.
Templates only exist in the development environment.
Using the Diaphragm valve template, you can quickly create a Diaphragm valve instance when you need another Diaphragm valve in your application.