• 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;
    }
  • 相关阅读:
    初窥语义搜索
    爬取菜谱网站
    paramiko简介
    软件项目结构规范
    paramiko 远程执行多个命令
    python 中in 的 用法
    spring依赖(部分)
    ModelAndView的部分回顾
    SringMVC 国际化
    spring事物配置,声明式事务管理和基于@Transactional注解的使用
  • 原文地址:https://www.cnblogs.com/Fandyx/p/3146203.html
Copyright © 2020-2023  润新知