建立計算公式的工具

在本節(jié)中,我們將描述用于輔助建立計算的工具。這里主要有兩個工具為快速簡單地建立計算提供便利,它們是:

  1. 基于控制器的智能感知.
  2. 位號建立和函數(shù)鍵盤.
    基于控制器的智能感知
    Wikipedia@將智能感知定義為一種自動填充功能的形式。該工具給用戶提供了一個便捷的方式訪問各種內(nèi)置函數(shù)、Tag.Types以及尤其重要的屬性列表。若要尋找智能感知概念的更多詳細(xì)信息,可登陸http://en.wikipedia.org/wiki/IntelliSense。
    對Tag.Type.Attribute使用智能感知
    如下所示,基于智能感知的控制器可用于計算中選擇輸入和輸出位號。
    ? 首先,Tag.Type的智能感知可通過輸入‘[.’來調(diào)用。表示當(dāng)輸入一個左方括號[后,將顯示允許的/可用的Tag.Type條目列表。當(dāng)我們輸入一些字符后,列表將進(jìn)一步細(xì)化,以包含所有開頭與輸入字符一樣的控制器Tag.Type條目。例如,輸入‘[4’后,所有以4開頭的控制器Tag.Type都將被包含在智能感知下拉列表中。輸入‘[41F’,控制器中只有以41F開頭的位號將出現(xiàn)在智能感知列表下拉菜單。

? 當(dāng)Tag.Type通過按下’enter’或點(diǎn)擊選擇被選中時,在[Tag.Type后輸入一個圓點(diǎn)‘.’,關(guān)于屬性的新的下拉列表將變?yōu)榭捎?。屬性的列表是自適應(yīng)的,并且取決于Tag.Type的位置(預(yù)置內(nèi)核/內(nèi)核后計算的LHS/RHS項)。


? 最后,輸入一個右方括號‘]’關(guān)閉位號名。現(xiàn)在輸入位號將有下列格式:


思考下面的例子。人們希望通過智能感知訪問[41FC17.MV.SPHighLim]。完成此任務(wù)所需的流程是:

  1. 輸入[
  2. 輸入41F并從下拉列表中選擇41FC17.MV
  3. 輸入.
  4. 從列表中選擇SPHighLim
  5. 輸入]
    對內(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,

  1. Controller based IntelliSense
  2. 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:
  3. Type [
  4. Type 41F and select 41FC17.MV from the drop down list.
  5. Type .
  6. Select SPHighLim from the list.
  7. 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

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容