问题描述
我想知道识别用户当前使用的AOS名称和当前使用的层的语法或代码是什么?
解决方法
参见以下示例:
xSession xSession;
xInfo xInfo;
;
xSession = new xSession();
info(strFmt("Current AOS - %1",xSession.AOSName()));
info(strFmt("Current user - %1",curUserId()));
xInfo = new xInfo();
info(strFmt("Current layer - %1",xInfo.currentAOLayer()));