Type.registerNamespace('Bet007_Web2');
Bet007_Web2.PagerSW=function() {
Bet007_Web2.PagerSW.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Bet007_Web2.PagerSW.prototype={
getGrid:function(userName,pageIndex,sort,type,size,succeededCallback, failedCallback, userContext) {
return this._invoke(Bet007_Web2.PagerSW.get_path(), 'getGrid',false,{userName:userName,pageIndex:pageIndex,sort:sort,type:type,size:size},succeededCallback,failedCallback,userContext); }}
Bet007_Web2.PagerSW.registerClass('Bet007_Web2.PagerSW',Sys.Net.WebServiceProxy);
Bet007_Web2.PagerSW._staticInstance = new Bet007_Web2.PagerSW();
Bet007_Web2.PagerSW.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; Bet007_Web2.PagerSW._staticInstance._path = value; }
Bet007_Web2.PagerSW.get_path = function() { return Bet007_Web2.PagerSW._staticInstance._path; }
Bet007_Web2.PagerSW.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
Bet007_Web2.PagerSW._staticInstance._timeout = value; }
Bet007_Web2.PagerSW.get_timeout = function() { 
return Bet007_Web2.PagerSW._staticInstance._timeout; }
Bet007_Web2.PagerSW.set_defaultUserContext = function(value) { 
Bet007_Web2.PagerSW._staticInstance._userContext = value; }
Bet007_Web2.PagerSW.get_defaultUserContext = function() { 
return Bet007_Web2.PagerSW._staticInstance._userContext; }
Bet007_Web2.PagerSW.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; Bet007_Web2.PagerSW._staticInstance._succeeded = value; }
Bet007_Web2.PagerSW.get_defaultSucceededCallback = function() { 
return Bet007_Web2.PagerSW._staticInstance._succeeded; }
Bet007_Web2.PagerSW.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; Bet007_Web2.PagerSW._staticInstance._failed = value; }
Bet007_Web2.PagerSW.get_defaultFailedCallback = function() { 
return Bet007_Web2.PagerSW._staticInstance._failed; }
Bet007_Web2.PagerSW.set_path("/PagerSW.asmx");
Bet007_Web2.PagerSW.getGrid= function(userName,pageIndex,sort,type,size,onSuccess,onFailed,userContext) {Bet007_Web2.PagerSW._staticInstance.getGrid(userName,pageIndex,sort,type,size,onSuccess,onFailed,userContext); }
