// 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" + '\n' + "\n" +
       "\t" + "// " + strUpr(enum2str(currentAOLayer())) + " Changed on " + date2str(today(),321,2,3,2,3,4, DateFlags::FormatAll ) + " at " + time2str(timenow(), 1, 1) + " by " + name + " - end";// + '\n';
    // VAR Changed on 08 Nov 2012 at 13:55:27 by JXie7519 - end

    return source;
}

 

 

相关文章:

  • 2022-03-06
  • 2021-12-21
  • 2021-08-27
  • 2022-01-18
  • 2021-08-13
  • 2021-08-07
  • 2022-01-04
  • 2021-06-04
猜你喜欢
  • 2022-02-27
  • 2021-06-12
  • 2022-01-12
  • 2022-12-23
  • 2022-12-23
  • 2021-11-21
  • 2022-03-01
相关资源
相似解决方案