var DataService=function() {
DataService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
DataService.prototype={
GetBannerList:function(nodeid,succeededCallback, failedCallback, userContext) {
return this._invoke(DataService.get_path(), 'GetBannerList',false,{nodeid:nodeid},succeededCallback,failedCallback,userContext); },
GetLogoList:function(nodeid,succeededCallback, failedCallback, userContext) {
return this._invoke(DataService.get_path(), 'GetLogoList',false,{nodeid:nodeid},succeededCallback,failedCallback,userContext); },
GetNewsInfoByClick:function(nodeid,succeededCallback, failedCallback, userContext) {
return this._invoke(DataService.get_path(), 'GetNewsInfoByClick',false,{nodeid:nodeid},succeededCallback,failedCallback,userContext); },
GetNewsChannelInfoByClick:function(nodeid,succeededCallback, failedCallback, userContext) {
return this._invoke(DataService.get_path(), 'GetNewsChannelInfoByClick',false,{nodeid:nodeid},succeededCallback,failedCallback,userContext); }}
DataService.registerClass('DataService',Sys.Net.WebServiceProxy);
DataService._staticInstance = new DataService();
DataService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; DataService._staticInstance._path = value; }
DataService.get_path = function() { return DataService._staticInstance._path; }
DataService.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); }
DataService._staticInstance._timeout = value; }
DataService.get_timeout = function() { 
return DataService._staticInstance._timeout; }
DataService.set_defaultUserContext = function(value) { 
DataService._staticInstance._userContext = value; }
DataService.get_defaultUserContext = function() { 
return DataService._staticInstance._userContext; }
DataService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; DataService._staticInstance._succeeded = value; }
DataService.get_defaultSucceededCallback = function() { 
return DataService._staticInstance._succeeded; }
DataService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; DataService._staticInstance._failed = value; }
DataService.get_defaultFailedCallback = function() { 
return DataService._staticInstance._failed; }
DataService.set_path("/DataService.asmx");
DataService.GetBannerList= function(nodeid,onSuccess,onFailed,userContext) {DataService._staticInstance.GetBannerList(nodeid,onSuccess,onFailed,userContext); }
DataService.GetLogoList= function(nodeid,onSuccess,onFailed,userContext) {DataService._staticInstance.GetLogoList(nodeid,onSuccess,onFailed,userContext); }
DataService.GetNewsInfoByClick= function(nodeid,onSuccess,onFailed,userContext) {DataService._staticInstance.GetNewsInfoByClick(nodeid,onSuccess,onFailed,userContext); }
DataService.GetNewsChannelInfoByClick= function(nodeid,onSuccess,onFailed,userContext) {DataService._staticInstance.GetNewsChannelInfoByClick(nodeid,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(NodeInfo) === 'undefined') {
var NodeInfo=gtc("NodeInfo");
NodeInfo.registerClass('NodeInfo');
}
if (typeof(NewsChannelInfo) === 'undefined') {
var NewsChannelInfo=gtc("NewsChannelInfo");
NewsChannelInfo.registerClass('NewsChannelInfo');
}
if (typeof(NewsInfo) === 'undefined') {
var NewsInfo=gtc("NewsInfo");
NewsInfo.registerClass('NewsInfo');
}
if (typeof(ItemInfo) === 'undefined') {
var ItemInfo=gtc("ItemInfo");
ItemInfo.registerClass('ItemInfo');
}
