var DefaultService=function() {
DefaultService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
DefaultService.prototype={
HelloWorld:function(succeededCallback, failedCallback, userContext) {
return this._invoke(DefaultService.get_path(), 'HelloWorld',false,{},succeededCallback,failedCallback,userContext); },
GetNewsTopList:function(num,titleType,sleepSecond,titleLen,cssName,FileForld,succeededCallback, failedCallback, userContext) {
return this._invoke(DefaultService.get_path(), 'GetNewsTopList',false,{num:num,titleType:titleType,sleepSecond:sleepSecond,titleLen:titleLen,cssName:cssName,FileForld:FileForld},succeededCallback,failedCallback,userContext); },
GetNewsTopList1:function(num,titleType,sleepSecond,titleLen,cssName,FileForld,succeededCallback, failedCallback, userContext) {
return this._invoke(DefaultService.get_path(), 'GetNewsTopList1',false,{num:num,titleType:titleType,sleepSecond:sleepSecond,titleLen:titleLen,cssName:cssName,FileForld:FileForld},succeededCallback,failedCallback,userContext); },
GetNewsTopList2:function(num,titleType,sleepSecond,titleLen,cssName,FileForld,succeededCallback, failedCallback, userContext) {
return this._invoke(DefaultService.get_path(), 'GetNewsTopList2',false,{num:num,titleType:titleType,sleepSecond:sleepSecond,titleLen:titleLen,cssName:cssName,FileForld:FileForld},succeededCallback,failedCallback,userContext); },
GetNewsTopList3:function(num,titleType,sleepSecond,titleLen,cssName,FileForld,succeededCallback, failedCallback, userContext) {
return this._invoke(DefaultService.get_path(), 'GetNewsTopList3',false,{num:num,titleType:titleType,sleepSecond:sleepSecond,titleLen:titleLen,cssName:cssName,FileForld:FileForld},succeededCallback,failedCallback,userContext); },
GetNewsTopList4:function(num,titleType,sleepSecond,titleLen,cssName,FileForld,succeededCallback, failedCallback, userContext) {
return this._invoke(DefaultService.get_path(), 'GetNewsTopList4',false,{num:num,titleType:titleType,sleepSecond:sleepSecond,titleLen:titleLen,cssName:cssName,FileForld:FileForld},succeededCallback,failedCallback,userContext); },
GetInform:function(num,titleType,sleepSecond,titleLen,cssName,FileForld,succeededCallback, failedCallback, userContext) {
return this._invoke(DefaultService.get_path(), 'GetInform',false,{num:num,titleType:titleType,sleepSecond:sleepSecond,titleLen:titleLen,cssName:cssName,FileForld:FileForld},succeededCallback,failedCallback,userContext); },
GetInform1:function(num,titleType,sleepSecond,titleLen,cssName,FileForld,succeededCallback, failedCallback, userContext) {
return this._invoke(DefaultService.get_path(), 'GetInform1',false,{num:num,titleType:titleType,sleepSecond:sleepSecond,titleLen:titleLen,cssName:cssName,FileForld:FileForld},succeededCallback,failedCallback,userContext); },
GetNewPic:function(num,titleLen,titleType,succeededCallback, failedCallback, userContext) {
return this._invoke(DefaultService.get_path(), 'GetNewPic',false,{num:num,titleLen:titleLen,titleType:titleType},succeededCallback,failedCallback,userContext); },
GetSpcNewPic:function(num,titleLen,titleType,succeededCallback, failedCallback, userContext) {
return this._invoke(DefaultService.get_path(), 'GetSpcNewPic',false,{num:num,titleLen:titleLen,titleType:titleType},succeededCallback,failedCallback,userContext); },
GetNewsSpcTopList:function(num,titleType,sleepSecond,titleLen,cssName,FileForld,Width,cssNameSpc,succeededCallback, failedCallback, userContext) {
return this._invoke(DefaultService.get_path(), 'GetNewsSpcTopList',false,{num:num,titleType:titleType,sleepSecond:sleepSecond,titleLen:titleLen,cssName:cssName,FileForld:FileForld,Width:Width,cssNameSpc:cssNameSpc},succeededCallback,failedCallback,userContext); }}
DefaultService.registerClass('DefaultService',Sys.Net.WebServiceProxy);
DefaultService._staticInstance = new DefaultService();
DefaultService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; DefaultService._staticInstance._path = value; }
DefaultService.get_path = function() { return DefaultService._staticInstance._path; }
DefaultService.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); }
DefaultService._staticInstance._timeout = value; }
DefaultService.get_timeout = function() { 
return DefaultService._staticInstance._timeout; }
DefaultService.set_defaultUserContext = function(value) { 
DefaultService._staticInstance._userContext = value; }
DefaultService.get_defaultUserContext = function() { 
return DefaultService._staticInstance._userContext; }
DefaultService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; DefaultService._staticInstance._succeeded = value; }
DefaultService.get_defaultSucceededCallback = function() { 
return DefaultService._staticInstance._succeeded; }
DefaultService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; DefaultService._staticInstance._failed = value; }
DefaultService.get_defaultFailedCallback = function() { 
return DefaultService._staticInstance._failed; }
DefaultService.set_path("/Services/Default/DefaultService.asmx");
DefaultService.HelloWorld= function(onSuccess,onFailed,userContext) {DefaultService._staticInstance.HelloWorld(onSuccess,onFailed,userContext); }
DefaultService.GetNewsTopList= function(num,titleType,sleepSecond,titleLen,cssName,FileForld,onSuccess,onFailed,userContext) {DefaultService._staticInstance.GetNewsTopList(num,titleType,sleepSecond,titleLen,cssName,FileForld,onSuccess,onFailed,userContext); }
DefaultService.GetNewsTopList1= function(num,titleType,sleepSecond,titleLen,cssName,FileForld,onSuccess,onFailed,userContext) {DefaultService._staticInstance.GetNewsTopList1(num,titleType,sleepSecond,titleLen,cssName,FileForld,onSuccess,onFailed,userContext); }
DefaultService.GetNewsTopList2= function(num,titleType,sleepSecond,titleLen,cssName,FileForld,onSuccess,onFailed,userContext) {DefaultService._staticInstance.GetNewsTopList2(num,titleType,sleepSecond,titleLen,cssName,FileForld,onSuccess,onFailed,userContext); }
DefaultService.GetNewsTopList3= function(num,titleType,sleepSecond,titleLen,cssName,FileForld,onSuccess,onFailed,userContext) {DefaultService._staticInstance.GetNewsTopList3(num,titleType,sleepSecond,titleLen,cssName,FileForld,onSuccess,onFailed,userContext); }
DefaultService.GetNewsTopList4= function(num,titleType,sleepSecond,titleLen,cssName,FileForld,onSuccess,onFailed,userContext) {DefaultService._staticInstance.GetNewsTopList4(num,titleType,sleepSecond,titleLen,cssName,FileForld,onSuccess,onFailed,userContext); }
DefaultService.GetInform= function(num,titleType,sleepSecond,titleLen,cssName,FileForld,onSuccess,onFailed,userContext) {DefaultService._staticInstance.GetInform(num,titleType,sleepSecond,titleLen,cssName,FileForld,onSuccess,onFailed,userContext); }
DefaultService.GetInform1= function(num,titleType,sleepSecond,titleLen,cssName,FileForld,onSuccess,onFailed,userContext) {DefaultService._staticInstance.GetInform1(num,titleType,sleepSecond,titleLen,cssName,FileForld,onSuccess,onFailed,userContext); }
DefaultService.GetNewPic= function(num,titleLen,titleType,onSuccess,onFailed,userContext) {DefaultService._staticInstance.GetNewPic(num,titleLen,titleType,onSuccess,onFailed,userContext); }
DefaultService.GetSpcNewPic= function(num,titleLen,titleType,onSuccess,onFailed,userContext) {DefaultService._staticInstance.GetSpcNewPic(num,titleLen,titleType,onSuccess,onFailed,userContext); }
DefaultService.GetNewsSpcTopList= function(num,titleType,sleepSecond,titleLen,cssName,FileForld,Width,cssNameSpc,onSuccess,onFailed,userContext) {DefaultService._staticInstance.GetNewsSpcTopList(num,titleType,sleepSecond,titleLen,cssName,FileForld,Width,cssNameSpc,onSuccess,onFailed,userContext); }
