var StormService=function() {
StormService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
StormService.prototype={
GetStorm:function(btid,succeededCallback, failedCallback, userContext) {
return this._invoke(StormService.get_path(), 'GetStorm',false,{btid:btid},succeededCallback,failedCallback,userContext); },
GetStormYears:function(knownCategoryValues,category,succeededCallback, failedCallback, userContext) {
return this._invoke(StormService.get_path(), 'GetStormYears',false,{knownCategoryValues:knownCategoryValues,category:category},succeededCallback,failedCallback,userContext); },
GetStormsByYear:function(knownCategoryValues,category,succeededCallback, failedCallback, userContext) {
return this._invoke(StormService.get_path(), 'GetStormsByYear',false,{knownCategoryValues:knownCategoryValues,category:category},succeededCallback,failedCallback,userContext); }}
StormService.registerClass('StormService',Sys.Net.WebServiceProxy);
StormService._staticInstance = new StormService();
StormService.set_path = function(value) { StormService._staticInstance._path = value; }
StormService.get_path = function() { return StormService._staticInstance._path; }
StormService.set_timeout = function(value) { StormService._staticInstance._timeout = value; }
StormService.get_timeout = function() { return StormService._staticInstance._timeout; }
StormService.set_defaultUserContext = function(value) { StormService._staticInstance._userContext = value; }
StormService.get_defaultUserContext = function() { return StormService._staticInstance._userContext; }
StormService.set_defaultSucceededCallback = function(value) { StormService._staticInstance._succeeded = value; }
StormService.get_defaultSucceededCallback = function() { return StormService._staticInstance._succeeded; }
StormService.set_defaultFailedCallback = function(value) { StormService._staticInstance._failed = value; }
StormService.get_defaultFailedCallback = function() { return StormService._staticInstance._failed; }
StormService.set_path("/HurricaneTracker/StormService.asmx");
StormService.GetStorm= function(btid,onSuccess,onFailed,userContext) {StormService._staticInstance.GetStorm(btid,onSuccess,onFailed,userContext); }
StormService.GetStormYears= function(knownCategoryValues,category,onSuccess,onFailed,userContext) {StormService._staticInstance.GetStormYears(knownCategoryValues,category,onSuccess,onFailed,userContext); }
StormService.GetStormsByYear= function(knownCategoryValues,category,onSuccess,onFailed,userContext) {StormService._staticInstance.GetStormsByYear(knownCategoryValues,category,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('HurricaneTracker.Data');
if (typeof(HurricaneTracker.Data.StormInfo) === 'undefined') {
HurricaneTracker.Data.StormInfo=gtc("HurricaneTracker.Data.StormInfo");
HurricaneTracker.Data.StormInfo.registerClass('HurricaneTracker.Data.StormInfo');
}
Type.registerNamespace('AjaxControlToolkit');
if (typeof(AjaxControlToolkit.CascadingDropDownNameValue) === 'undefined') {
AjaxControlToolkit.CascadingDropDownNameValue=gtc("AjaxControlToolkit.CascadingDropDownNameValue");
AjaxControlToolkit.CascadingDropDownNameValue.registerClass('AjaxControlToolkit.CascadingDropDownNameValue');
}
