修改程式區段用於來回轉換

您可以修改程式區段用於來回轉換,這些區段是在狀態圖中輸入為作業與動作的程序化行為。

關於這項作業

實作程式碼中的每個區段都具有下列格式:

... generated code
//#[ segment-type segment-identifierC++ code you entered
//#]   
... generated code continues

以上所有區段都位於實作檔案中。

您可修改而不會造成無法來回轉換的區段如下:

    //#[ reaction reaction-id
    // you can modify this code
    someReactionCode();
    // do not modify beyond the //#] sign
    //#]
    //#[ exitAction ROOT.idle.(Entry)
    someExitAction();
    //#]
    //#[ entryAction ROOT.idle.(Entry)
    someEntryAction();
    //#]
    //#[ transition transition-id    someTransitionCode();
    //#]  
    //#[ operation doit()
    someOperationCode();
    someMoreOperationCode();
    //#]   

回饋