Type.registerNamespace('SnT.Cms.Modules.Core');
SnT.Cms.Modules.Core.WeatherForecastService=function() {
SnT.Cms.Modules.Core.WeatherForecastService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
SnT.Cms.Modules.Core.WeatherForecastService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return SnT.Cms.Modules.Core.WeatherForecastService._staticInstance.get_path();},
GetWeatherForcast:function(landLocation,seaLocation,days,succeededCallback, failedCallback, userContext) {
/// <param name="landLocation" type="String">System.String</param>
/// <param name="seaLocation" type="String">System.String</param>
/// <param name="days" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetWeatherForcast',false,{landLocation:landLocation,seaLocation:seaLocation,days:days},succeededCallback,failedCallback,userContext); }}
SnT.Cms.Modules.Core.WeatherForecastService.registerClass('SnT.Cms.Modules.Core.WeatherForecastService',Sys.Net.WebServiceProxy);
SnT.Cms.Modules.Core.WeatherForecastService._staticInstance = new SnT.Cms.Modules.Core.WeatherForecastService();
SnT.Cms.Modules.Core.WeatherForecastService.set_path = function(value) {
SnT.Cms.Modules.Core.WeatherForecastService._staticInstance.set_path(value); }
SnT.Cms.Modules.Core.WeatherForecastService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return SnT.Cms.Modules.Core.WeatherForecastService._staticInstance.get_path();}
SnT.Cms.Modules.Core.WeatherForecastService.set_timeout = function(value) {
SnT.Cms.Modules.Core.WeatherForecastService._staticInstance.set_timeout(value); }
SnT.Cms.Modules.Core.WeatherForecastService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return SnT.Cms.Modules.Core.WeatherForecastService._staticInstance.get_timeout(); }
SnT.Cms.Modules.Core.WeatherForecastService.set_defaultUserContext = function(value) { 
SnT.Cms.Modules.Core.WeatherForecastService._staticInstance.set_defaultUserContext(value); }
SnT.Cms.Modules.Core.WeatherForecastService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return SnT.Cms.Modules.Core.WeatherForecastService._staticInstance.get_defaultUserContext(); }
SnT.Cms.Modules.Core.WeatherForecastService.set_defaultSucceededCallback = function(value) { 
 SnT.Cms.Modules.Core.WeatherForecastService._staticInstance.set_defaultSucceededCallback(value); }
SnT.Cms.Modules.Core.WeatherForecastService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return SnT.Cms.Modules.Core.WeatherForecastService._staticInstance.get_defaultSucceededCallback(); }
SnT.Cms.Modules.Core.WeatherForecastService.set_defaultFailedCallback = function(value) { 
SnT.Cms.Modules.Core.WeatherForecastService._staticInstance.set_defaultFailedCallback(value); }
SnT.Cms.Modules.Core.WeatherForecastService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return SnT.Cms.Modules.Core.WeatherForecastService._staticInstance.get_defaultFailedCallback(); }
SnT.Cms.Modules.Core.WeatherForecastService.set_enableJsonp = function(value) { SnT.Cms.Modules.Core.WeatherForecastService._staticInstance.set_enableJsonp(value); }
SnT.Cms.Modules.Core.WeatherForecastService.get_enableJsonp = function() { 
/// <value type="Boolean">Specifies whether the service supports JSONP for cross domain calling.</value>
return SnT.Cms.Modules.Core.WeatherForecastService._staticInstance.get_enableJsonp(); }
SnT.Cms.Modules.Core.WeatherForecastService.set_jsonpCallbackParameter = function(value) { SnT.Cms.Modules.Core.WeatherForecastService._staticInstance.set_jsonpCallbackParameter(value); }
SnT.Cms.Modules.Core.WeatherForecastService.get_jsonpCallbackParameter = function() { 
/// <value type="String">Specifies the parameter name that contains the callback function name for a JSONP request.</value>
return SnT.Cms.Modules.Core.WeatherForecastService._staticInstance.get_jsonpCallbackParameter(); }
SnT.Cms.Modules.Core.WeatherForecastService.set_path("/App_Modules__SnT.Cms.Modules.Core.Package__SnT.Cms.Modules.Core.WeatherForecast.WeatherForecastService.asmx");
SnT.Cms.Modules.Core.WeatherForecastService.GetWeatherForcast= function(landLocation,seaLocation,days,onSuccess,onFailed,userContext) {
/// <param name="landLocation" type="String">System.String</param>
/// <param name="seaLocation" type="String">System.String</param>
/// <param name="days" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
SnT.Cms.Modules.Core.WeatherForecastService._staticInstance.GetWeatherForcast(landLocation,seaLocation,days,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(SnT.Cms.Modules.Core.WeatherForecastRow) === 'undefined') {
SnT.Cms.Modules.Core.WeatherForecastRow=gtc("SnT.Cms.Modules.Core.WeatherForecastRow");
SnT.Cms.Modules.Core.WeatherForecastRow.registerClass('SnT.Cms.Modules.Core.WeatherForecastRow');
}

