在本节中,我们将描述用于辅助建立计算的工具。这里主要有两个工具为快速简单地建立计算提供便利,它们是:
- 基于控制器的智能感知.
- 位号建立和函数键盘.
基于控制器的智能感知
Wikipedia@将智能感知定义为一种自动填充功能的形式。该工具给用户提供了一个便捷的方式访问各种内置函数、Tag.Types以及尤其重要的属性列表。若要寻找智能感知概念的更多详细信息,可登陆http://en.wikipedia.org/wiki/IntelliSense。
对Tag.Type.Attribute使用智能感知
如下所示,基于智能感知的控制器可用于计算中选择输入和输出位号。
首先,Tag.Type的智能感知可通过输入‘[.’来调用。表示当输入一个左方括号[后,将显示允许的/可用的Tag.Type条目列表。当我们输入一些字符后,列表将进一步细化,以包含所有开头与输入字符一样的控制器Tag.Type条目。例如,输入‘[4’后,所有以4开头的控制器Tag.Type都将被包含在智能感知下拉列表中。输入‘[41F’,控制器中只有以41F开头的位号将出现在智能感知列表下拉菜单。
当Tag.Type通过按下’enter’或点击选择被选中时,在[Tag.Type后输入一个圆点‘.’,关于属性的新的下拉列表将变为可用。属性的列表是自适应的,并且取决于Tag.Type的位置(预置内核/内核后计算的LHS/RHS项)。
最后,输入一个右方括号‘]’关闭位号名。现在输入位号将有下列格式:
思考下面的例子。人们希望通过智能感知访问[41FC17.MV.SPHighLim]。完成此任务所需的流程是:
- 输入[
- 输入41F并从下拉列表中选择41FC17.MV
- 输入.
- 从列表中选择SPHighLim
- 输入]
对内置函数使用智能感知
除了Tag.Type.Attribute的智能感知,我们还为内置函数提供了智能感知。如下述截图所示,内置函数的智能感知可以通过使用‘@’来调用。
注:鉴于内置函数只能用于RHS(计算输入参数)中,只有在制定计算中的RHS项时内置函数的智能感知才是可用的。
原文:
Tools for Building Calculation Formulae
In this section, we describe tools provided to assist in building calculations. There are two primary tools provided to facilitate quick and easy construction of calculations namely,
- Controller based IntelliSense
- Tag builder and function keypad
Controller based IntelliSense
Wikipedia@ defines IntelliSense to be a form of automated autocompletion. This tool provides the user with a convenient way to access various built-in functions, Tag.Types and particularly important, their attribute lists. More details on the concept of IntelliSense can be found on the web at http://en.wikipedia.org/wiki/IntelliSense
Using IntelliSense for Tag.Type.Attribute
Controller based IntelliSense can be used for choosing inputs and output tags for calculations as follows.
First, the IntelliSense for Tag.Type is invoked by a ‘[.’ This means that entering a left square bracket [displays the list of permissible/available Tag.Type entries. On entering a set of characters, the list is further refined to contain all controller Tag.Type entries that begin with the character entered. For example, on typing ‘[4’, all controller Tag.Types that begin with 4 are included in the drop down IntelliSense list. On typing ‘[41F’, only the tags in the controller that begin with 41F are included in the IntelliSense list.
Once the Tag.Type has been selected by either pressing ‘enter’ or clicking on the selection, enter a period ‘.’ at the end i.e. [Tag.Type. A new drop down list of attributes becomes available. The list of attributes is adaptive and depends on the location of the Tag.Type (LHS/RHS of a pre-kernel/post-kernel calculation).
Finally, enter a right bracket ‘]’ to close the tag name. The tag entered should now have the format
[Tag.Type.Attribute]
Consider the following example. It is desired to enter [41FC17.MV.SPHighLim] using IntelliSense. The procedure required to accomplish this task is: - Type [
- Type 41F and select 41FC17.MV from the drop down list.
- Type .
- Select SPHighLim from the list.
- Type ]
Using IntelliSense for built-in functions
In addition to IntelliSense for Tag.Type.Attribute, we also provide Intellisense for built-in functions. Intellisense for built-in functions can be invoked using an ‘@’ as shown in the screenshot below
NOTE: Because built-in functions may be used only on the RHS (input argument for a calculation), IntelliSense for built-in functions is only available while formulating the RHS of a calculation.
2016.4.24