程序记录3(设置机器人,旧)

UserInfo uinfo = {0};
    uinfo.userID = 5555;
    strcpy(uinfo.userName, "UserHost5555");
    strcpy(uinfo.userPwd, "123456");
    i->addUser_(uinfo);

    ActorInfo ainfo = {0};
    for (int x = 28001; x <= 30000; ++x)
    {
        ainfo.id = x;
        sprintf_s(ainfo.name, "Act%d", x);
        ainfo.prof = Role_DS;
        ainfo.sex = DB::sex::MAN;
        i->addActor_(5555, ainfo);
    }

 

posted @ 2014-05-14 11:26  zzyoucan  阅读(159)  评论(0编辑  收藏  举报