var WebService=function() {
WebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
WebService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return WebService._staticInstance.get_path();},
DailySummary:function(StartDate,EndDate,stationId,succeededCallback, failedCallback, userContext) {
/// <param name="StartDate" type="Date">System.DateTime</param>
/// <param name="EndDate" type="Date">System.DateTime</param>
/// <param name="stationId" type="Number">System.Int32</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(), 'DailySummary',false,{StartDate:StartDate,EndDate:EndDate,stationId:stationId},succeededCallback,failedCallback,userContext); },
DailySummaryAt7AM:function(StartDate,EndDate,stationId,succeededCallback, failedCallback, userContext) {
/// <param name="StartDate" type="Date">System.DateTime</param>
/// <param name="EndDate" type="Date">System.DateTime</param>
/// <param name="stationId" type="Number">System.Int32</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(), 'DailySummaryAt7AM',false,{StartDate:StartDate,EndDate:EndDate,stationId:stationId},succeededCallback,failedCallback,userContext); },
HourlySummary:function(StartDate,EndDate,stationId,succeededCallback, failedCallback, userContext) {
/// <param name="StartDate" type="Date">System.DateTime</param>
/// <param name="EndDate" type="Date">System.DateTime</param>
/// <param name="stationId" type="Number">System.Int32</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(), 'HourlySummary',false,{StartDate:StartDate,EndDate:EndDate,stationId:stationId},succeededCallback,failedCallback,userContext); },
DailyMinuteData:function(StartDate,EndDate,stationId,succeededCallback, failedCallback, userContext) {
/// <param name="StartDate" type="Date">System.DateTime</param>
/// <param name="EndDate" type="Date">System.DateTime</param>
/// <param name="stationId" type="Number">System.Int32</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(), 'DailyMinuteData',false,{StartDate:StartDate,EndDate:EndDate,stationId:stationId},succeededCallback,failedCallback,userContext); },
DailyWeatherExtremes:function(DateCollected,succeededCallback, failedCallback, userContext) {
/// <param name="DateCollected" type="Date">System.DateTime</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(), 'DailyWeatherExtremes',false,{DateCollected:DateCollected},succeededCallback,failedCallback,userContext); },
EtremeWeatherString:function(datecollected,succeededCallback, failedCallback, userContext) {
/// <param name="datecollected" type="Date">System.DateTime</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(), 'EtremeWeatherString',false,{datecollected:datecollected},succeededCallback,failedCallback,userContext); }}
WebService.registerClass('WebService',Sys.Net.WebServiceProxy);
WebService._staticInstance = new WebService();
WebService.set_path = function(value) {
WebService._staticInstance.set_path(value); }
WebService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return WebService._staticInstance.get_path();}
WebService.set_timeout = function(value) {
WebService._staticInstance.set_timeout(value); }
WebService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return WebService._staticInstance.get_timeout(); }
WebService.set_defaultUserContext = function(value) { 
WebService._staticInstance.set_defaultUserContext(value); }
WebService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return WebService._staticInstance.get_defaultUserContext(); }
WebService.set_defaultSucceededCallback = function(value) { 
 WebService._staticInstance.set_defaultSucceededCallback(value); }
WebService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return WebService._staticInstance.get_defaultSucceededCallback(); }
WebService.set_defaultFailedCallback = function(value) { 
WebService._staticInstance.set_defaultFailedCallback(value); }
WebService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return WebService._staticInstance.get_defaultFailedCallback(); }
WebService.set_path("/WebService.asmx");
WebService.DailySummary= function(StartDate,EndDate,stationId,onSuccess,onFailed,userContext) {
/// <param name="StartDate" type="Date">System.DateTime</param>
/// <param name="EndDate" type="Date">System.DateTime</param>
/// <param name="stationId" type="Number">System.Int32</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>
WebService._staticInstance.DailySummary(StartDate,EndDate,stationId,onSuccess,onFailed,userContext); }
WebService.DailySummaryAt7AM= function(StartDate,EndDate,stationId,onSuccess,onFailed,userContext) {
/// <param name="StartDate" type="Date">System.DateTime</param>
/// <param name="EndDate" type="Date">System.DateTime</param>
/// <param name="stationId" type="Number">System.Int32</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>
WebService._staticInstance.DailySummaryAt7AM(StartDate,EndDate,stationId,onSuccess,onFailed,userContext); }
WebService.HourlySummary= function(StartDate,EndDate,stationId,onSuccess,onFailed,userContext) {
/// <param name="StartDate" type="Date">System.DateTime</param>
/// <param name="EndDate" type="Date">System.DateTime</param>
/// <param name="stationId" type="Number">System.Int32</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>
WebService._staticInstance.HourlySummary(StartDate,EndDate,stationId,onSuccess,onFailed,userContext); }
WebService.DailyMinuteData= function(StartDate,EndDate,stationId,onSuccess,onFailed,userContext) {
/// <param name="StartDate" type="Date">System.DateTime</param>
/// <param name="EndDate" type="Date">System.DateTime</param>
/// <param name="stationId" type="Number">System.Int32</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>
WebService._staticInstance.DailyMinuteData(StartDate,EndDate,stationId,onSuccess,onFailed,userContext); }
WebService.DailyWeatherExtremes= function(DateCollected,onSuccess,onFailed,userContext) {
/// <param name="DateCollected" type="Date">System.DateTime</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>
WebService._staticInstance.DailyWeatherExtremes(DateCollected,onSuccess,onFailed,userContext); }
WebService.EtremeWeatherString= function(datecollected,onSuccess,onFailed,userContext) {
/// <param name="datecollected" type="Date">System.DateTime</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>
WebService._staticInstance.EtremeWeatherString(datecollected,onSuccess,onFailed,userContext); }
