zoukankan      html  css  js  c++  java
  • How to modify Code Comments[AX2012]

    // This is a framework class. Customizing this class may cause problems with future upgrades to the software.
    class XppSource
    {
        #define.defaultIndentColumns(4)
        #xppTexts
    
        int     indentLevel;
        Source  source;
    }
    // VAR Changed on 08 Nov 2012 at 13:55:27 by JXie7519
    Source comment()
    {
        UserInfo    UserInfo;
        Name        name;
    ;
        /* Original
        source += strfmt("// #! INCIDENT !#.LAST.%1.%2:", date2str(systemdateget(), 123,2,2,2,2,2, DateFlags::None), curuserId());
        */
    
        // VAR Changed on 08 Nov 2012 at 13:55:27 by JXie7519 - start
        select firstOnly UserInfo where UserInfo.id == curUserId();
    
        name = subStr(UserInfo.networkAlias, strLen(UserInfo.networkAlias) - 3, strlen(UserInfo.networkAlias));
        name = Global::isInteger(name) ? name : UserInfo.id;
    
        source += "// " + strUpr(enum2str(currentAOLayer())) + " Changed on " + date2str(today(),321,2,3,2,3,4, DateFlags::FormatAll ) + " at " + time2str(timenow(), 1, 1) + " by " + name + " - start" + '
    ' + "
    " +
           "	" + "// " + strUpr(enum2str(currentAOLayer())) + " Changed on " + date2str(today(),321,2,3,2,3,4, DateFlags::FormatAll ) + " at " + time2str(timenow(), 1, 1) + " by " + name + " - end";// + '
    ';
        // VAR Changed on 08 Nov 2012 at 13:55:27 by JXie7519 - end
    
        return source;
    }
  • 相关阅读:
    5/14 补沙
    5/21 购填缝剂
    5/30 购水不漏
    6/1 购防水
    6/4 补防水
    5/21 人工
    5/7 增购电线
    6/2 补防水
    5/4 瓦工进场
    5/31 补瓷砖
  • 原文地址:https://www.cnblogs.com/Fandyx/p/3146203.html
Copyright © 2011-2022 走看看