???????:  ??????????£???Controller?У???????????ε????в???????.

????:

???: ??????????????????VuserID??????????浽???????У??????????????

long fileopen;

char *filename = "C:\temp\params.log";

vuser_init()

{  

if ((fileopen = fopen(filename??"a+")) == NULL) {

lr_error_message ("file isn't open??path=%s"??filename);

return 0;

}

return 0;

}

Action()

{

int id??scid;

char *vuser_group;

//typedef long time_t;

//time_t t;

long t;

char *a = "{aaa}";

char *b = "{bbb}";

lr_whoami(&id?? &vuser_group?? &scid);


fprintf(fileopen??"%d??%s??%s??%s"??id??lr_eval_string (a)??lr_eval_string (b)??ctime(&t));     

return 0;

}

vuser_end()

{

fclose(fileopen);

return 0;

}     

???????????

??????ε????????

??????????????????2??

???????????

???????????5??

???????????????duration??????“Run until complete”

???????????params.log?????????£?

1??a1??b1??Thu Jan 01 08:00:05 1970
1??a2??b2??Thu Jan 01 08:00:05 1970
10??a5??b5??Thu Jan 01 08:00:05 1970
10??a6??b6??Thu Jan 01 08:00:05 1970
2??a3??b3??Thu Jan 01 08:00:05 1970
2??a4??b4??Thu Jan 01 08:00:05 1970
30??a9??b9??Thu Jan 01 08:00:05 1970
30??a10??b10??Thu Jan 01 08:00:05 1970
21??a7??b7??Thu Jan 01 08:00:05 1970
21??a8??b8??Thu Jan 01 08:00:05 1970

??????????????п??????VuserID????1??2??10??21??30

????ε????????????1??3??5??7??9

????ε????????????2??4??6??8??10

??????????????Vuser???????????????Vuser???????????????????????????Vuser??????????????????????????????????????