sn-sms
Version:
A simple CLI tool for work with sms in standart-n automation
9 lines (7 loc) • 465 B
JavaScript
// Generated by CoffeeScript 1.6.2
exports.start = function() {
return "select SESSION_ID, WORKSTATION_ID, SUCCESS, ws_name from SP$PR_NEWSESSION('+inttostr(user_id)+','''+session.wsname+''','''+session.ws_ip+''','''+GetMACAdress+''','+forcecreate+','''+session.prog+''','''+cfSec.PCID+''')";
};
exports.close = function() {
return "execute procedure SP$PR_CLOSESESSION('+sCLOSESESSION_ID+', '+inttostr(ENDFLAG)+', '+inttostr(session.id)+', '+sDOEVENT+')";
};