在本節(jié)中拢锹,我們將描述用于輔助建立計算的工具星立。這里主要有兩個工具為快速簡單地建立計算提供便利秸歧,它們是:
- 基于控制器的智能感知.
- 位號建立和函數(shù)鍵盤.
基于控制器的智能感知
Wikipedia@將智能感知定義為一種自動填充功能的形式。該工具給用戶提供了一個便捷的方式訪問各種內(nèi)置函數(shù)吕朵、Tag.Types以及尤其重要的屬性列表猎醇。若要尋找智能感知概念的更多詳細信息,可登陸http://en.wikipedia.org/wiki/IntelliSense努溃。
對Tag.Type.Attribute使用智能感知
如下所示姑食,基于智能感知的控制器可用于計算中選擇輸入和輸出位號。
? 首先茅坛,Tag.Type的智能感知可通過輸入‘[.’來調(diào)用音半。表示當輸入一個左方括號[后,將顯示允許的/可用的Tag.Type條目列表贡蓖。當我們輸入一些字符后曹鸠,列表將進一步細化,以包含所有開頭與輸入字符一樣的控制器Tag.Type條目斥铺。例如彻桃,輸入‘[4’后,所有以4開頭的控制器Tag.Type都將被包含在智能感知下拉列表中晾蜘。輸入‘[41F’邻眷,控制器中只有以41F開頭的位號將出現(xiàn)在智能感知列表下拉菜單。
? 當Tag.Type通過按下’enter’或點擊選擇被選中時剔交,在[Tag.Type后輸入一個圓點‘.’肆饶,關于屬性的新的下拉列表將變?yōu)榭捎谩傩缘牧斜硎亲赃m應的岖常,并且取決于Tag.Type的位置(預置內(nèi)核/內(nèi)核后計算的LHS/RHS項)驯镊。
? 最后,輸入一個右方括號‘]’關閉位號名〗甙埃現(xiàn)在輸入位號將有下列格式:
思考下面的例子板惑。人們希望通過智能感知訪問[41FC17.MV.SPHighLim]。完成此任務所需的流程是:
- 輸入[
- 輸入41F并從下拉列表中選擇41FC17.MV
- 輸入.
- 從列表中選擇SPHighLim
- 輸入]
對內(nèi)置函數(shù)使用智能感知
除了Tag.Type.Attribute的智能感知偎快,我們還為內(nèi)置函數(shù)提供了智能感知冯乘。如下述截圖所示,內(nèi)置函數(shù)的智能感知可以通過使用‘@’來調(diào)用晒夹。
注:鑒于內(nèi)置函數(shù)只能用于RHS(計算輸入?yún)?shù))中裆馒,只有在制定計算中的RHS項時內(nèi)置函數(shù)的智能感知才是可用的姊氓。
原文:
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