var Register=function() {
Register.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Register.prototype={
UserMess:function(username,succeededCallback, failedCallback, userContext) {
return this._invoke(Register.get_path(), 'UserMess',false,{username:username},succeededCallback,failedCallback,userContext); },
AddAdvisorInfo:function(userAccount,username,englishname,sex,city,country,password,Birthday,email,tel,msn,qq,userSentiment,userinfo,usercourse,departId,MajorID,succeededCallback, failedCallback, userContext) {
return this._invoke(Register.get_path(), 'AddAdvisorInfo',false,{userAccount:userAccount,username:username,englishname:englishname,sex:sex,city:city,country:country,password:password,Birthday:Birthday,email:email,tel:tel,msn:msn,qq:qq,userSentiment:userSentiment,userinfo:userinfo,usercourse:usercourse,departId:departId,MajorID:MajorID},succeededCallback,failedCallback,userContext); },
MessList:function(catalogValue,table,succeededCallback, failedCallback, userContext) {
return this._invoke(Register.get_path(), 'MessList',false,{catalogValue:catalogValue,table:table},succeededCallback,failedCallback,userContext); },
ListPath:function(catalogValue,table,succeededCallback, failedCallback, userContext) {
return this._invoke(Register.get_path(), 'ListPath',false,{catalogValue:catalogValue,table:table},succeededCallback,failedCallback,userContext); }}
Register.registerClass('Register',Sys.Net.WebServiceProxy);
Register._staticInstance = new Register();
Register.set_path = function(value) { Register._staticInstance._path = value; }
Register.get_path = function() { return Register._staticInstance._path; }
Register.set_timeout = function(value) { Register._staticInstance._timeout = value; }
Register.get_timeout = function() { return Register._staticInstance._timeout; }
Register.set_defaultUserContext = function(value) { Register._staticInstance._userContext = value; }
Register.get_defaultUserContext = function() { return Register._staticInstance._userContext; }
Register.set_defaultSucceededCallback = function(value) { Register._staticInstance._succeeded = value; }
Register.get_defaultSucceededCallback = function() { return Register._staticInstance._succeeded; }
Register.set_defaultFailedCallback = function(value) { Register._staticInstance._failed = value; }
Register.get_defaultFailedCallback = function() { return Register._staticInstance._failed; }
Register.set_path("/WebServers/Register.asmx");
Register.UserMess= function(username,onSuccess,onFailed,userContext) {Register._staticInstance.UserMess(username,onSuccess,onFailed,userContext); }
Register.AddAdvisorInfo= function(userAccount,username,englishname,sex,city,country,password,Birthday,email,tel,msn,qq,userSentiment,userinfo,usercourse,departId,MajorID,onSuccess,onFailed,userContext) {Register._staticInstance.AddAdvisorInfo(userAccount,username,englishname,sex,city,country,password,Birthday,email,tel,msn,qq,userSentiment,userinfo,usercourse,departId,MajorID,onSuccess,onFailed,userContext); }
Register.MessList= function(catalogValue,table,onSuccess,onFailed,userContext) {Register._staticInstance.MessList(catalogValue,table,onSuccess,onFailed,userContext); }
Register.ListPath= function(catalogValue,table,onSuccess,onFailed,userContext) {Register._staticInstance.ListPath(catalogValue,table,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(CatalogClass) === 'undefined') {
var CatalogClass=gtc("CatalogClass");
CatalogClass.registerClass('CatalogClass');
}
