同步化 Rational RhapsodyRational Statemate 模型

一旦連接並同步化,StatemateBlock 即會在 IBM® Rational® Rhapsody® 架構中,作為 IBM Rational Statemate® 程式碼的黑盒來運作。

關於這項作業

Rational Rhapsody 中,使用流程埠指定 IBM Rational Statemate 模型內最上層流動資料的 StatemateBlock 介面。

若要連接這兩個模型:

程序

  1. 在前一個程序的 Rational Rhapsody 圖表中,使用「物件」 圖示建立具有適當命名的流程埠之物件。
  2. Rational Rhapsody 流程埠透過鏈結連接至 StatemateBlock 物件上的埠。
  3. 若要產生應用程式,請執行產生程式碼程序,並建置整個 Rational Rhapsody 模型。

結果

Rational Rhapsody 中的 StatemateBlock 會自動與 Rational Statemate 模型同步,並在 StatemateBlock 中新增或移除流程埠,以反映在 Rational Statemate 最上層流程資料中進行的變更。同步化作業使用「Rational Rhapsody 區塊配置」,其中包含下列 Rational Statemate 資料:


回饋