建立計算公式的工具

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

  1. 基于控制器的智能感知.
  2. 位號建立和函數(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]。完成此任務所需的流程是:

  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

最后編輯于
?著作權歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末,一起剝皮案震驚了整個濱河市领追,隨后出現(xiàn)的幾起案子他膳,更是在濱河造成了極大的恐慌,老刑警劉巖绒窑,帶你破解...
    沈念sama閱讀 222,252評論 6 516
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件棕孙,死亡現(xiàn)場離奇詭異,居然都是意外死亡些膨,警方通過查閱死者的電腦和手機蟀俊,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 94,886評論 3 399
  • 文/潘曉璐 我一進店門,熙熙樓的掌柜王于貴愁眉苦臉地迎上來订雾,“玉大人肢预,你說我怎么就攤上這事⊥莅ィ” “怎么了烫映?”我有些...
    開封第一講書人閱讀 168,814評論 0 361
  • 文/不壞的土叔 我叫張陵,是天一觀的道長噩峦。 經(jīng)常有香客問我锭沟,道長,這世上最難降的妖魔是什么识补? 我笑而不...
    開封第一講書人閱讀 59,869評論 1 299
  • 正文 為了忘掉前任族淮,我火速辦了婚禮,結果婚禮上凭涂,老公的妹妹穿的比我還像新娘祝辣。我一直安慰自己,他們只是感情好切油,可當我...
    茶點故事閱讀 68,888評論 6 398
  • 文/花漫 我一把揭開白布蝙斜。 她就那樣靜靜地躺著,像睡著了一般白翻。 火紅的嫁衣襯著肌膚如雪乍炉。 梳的紋絲不亂的頭發(fā)上,一...
    開封第一講書人閱讀 52,475評論 1 312
  • 那天滤馍,我揣著相機與錄音,去河邊找鬼底循。 笑死巢株,一個胖子當著我的面吹牛,可吹牛的內(nèi)容都是我干的熙涤。 我是一名探鬼主播阁苞,決...
    沈念sama閱讀 41,010評論 3 422
  • 文/蒼蘭香墨 我猛地睜開眼困檩,長吁一口氣:“原來是場噩夢啊……” “哼!你這毒婦竟也來了那槽?” 一聲冷哼從身側響起悼沿,我...
    開封第一講書人閱讀 39,924評論 0 277
  • 序言:老撾萬榮一對情侶失蹤,失蹤者是張志新(化名)和其女友劉穎骚灸,沒想到半個月后糟趾,有當?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體,經(jīng)...
    沈念sama閱讀 46,469評論 1 319
  • 正文 獨居荒郊野嶺守林人離奇死亡甚牲,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點故事閱讀 38,552評論 3 342
  • 正文 我和宋清朗相戀三年义郑,在試婚紗的時候發(fā)現(xiàn)自己被綠了。 大學時的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片丈钙。...
    茶點故事閱讀 40,680評論 1 353
  • 序言:一個原本活蹦亂跳的男人離奇死亡非驮,死狀恐怖,靈堂內(nèi)的尸體忽然破棺而出雏赦,到底是詐尸還是另有隱情劫笙,我是刑警寧澤,帶...
    沈念sama閱讀 36,362評論 5 351
  • 正文 年R本政府宣布星岗,位于F島的核電站填大,受9級特大地震影響,放射性物質(zhì)發(fā)生泄漏伍茄。R本人自食惡果不足惜栋盹,卻給世界環(huán)境...
    茶點故事閱讀 42,037評論 3 335
  • 文/蒙蒙 一、第九天 我趴在偏房一處隱蔽的房頂上張望敷矫。 院中可真熱鬧例获,春花似錦、人聲如沸曹仗。這莊子的主人今日做“春日...
    開封第一講書人閱讀 32,519評論 0 25
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽怎茫。三九已至收壕,卻和暖如春,著一層夾襖步出監(jiān)牢的瞬間轨蛤,已是汗流浹背蜜宪。 一陣腳步聲響...
    開封第一講書人閱讀 33,621評論 1 274
  • 我被黑心中介騙來泰國打工, 沒想到剛下飛機就差點兒被人妖公主榨干…… 1. 我叫王不留祥山,地道東北人圃验。 一個月前我還...
    沈念sama閱讀 49,099評論 3 378
  • 正文 我出身青樓,卻偏偏與公主長得像缝呕,于是被迫代替她去往敵國和親澳窑。 傳聞我的和親對象是個殘疾皇子斧散,可洞房花燭夜當晚...
    茶點故事閱讀 45,691評論 2 361

推薦閱讀更多精彩內(nèi)容