Type.registerNamespace('Stations');
Stations.StationsService=function() {
Stations.StationsService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Stations.StationsService.prototype={
GetStations:function(SouthBoundLatitude,WestBoundLongitude,NorthBoundLatitude,EastBoundLongitude,Keyword,StartDate,EndDate,succeededCallback, failedCallback, userContext) {
return this._invoke(Stations.StationsService.get_path(), 'GetStations',false,{SouthBoundLatitude:SouthBoundLatitude,WestBoundLongitude:WestBoundLongitude,NorthBoundLatitude:NorthBoundLatitude,EastBoundLongitude:EastBoundLongitude,Keyword:Keyword,StartDate:StartDate,EndDate:EndDate},succeededCallback,failedCallback,userContext); },
GetStationsByHU:function(HydrologicUnitName,Keyword,StartDate,EndDate,succeededCallback, failedCallback, userContext) {
return this._invoke(Stations.StationsService.get_path(), 'GetStationsByHU',false,{HydrologicUnitName:HydrologicUnitName,Keyword:Keyword,StartDate:StartDate,EndDate:EndDate},succeededCallback,failedCallback,userContext); },
GetBoundingBoxFromHU:function(HydrologicUnitName,Keyword,StartDate,EndDate,succeededCallback, failedCallback, userContext) {
return this._invoke(Stations.StationsService.get_path(), 'GetBoundingBoxFromHU',false,{HydrologicUnitName:HydrologicUnitName,Keyword:Keyword,StartDate:StartDate,EndDate:EndDate},succeededCallback,failedCallback,userContext); },
GetStationSubset:function(SouthBoundLatitude,WestBoundLongitude,NorthBoundLatitude,EastBoundLongitude,Keyword,StartDate,EndDate,TreeNodeID,succeededCallback, failedCallback, userContext) {
return this._invoke(Stations.StationsService.get_path(), 'GetStationSubset',false,{SouthBoundLatitude:SouthBoundLatitude,WestBoundLongitude:WestBoundLongitude,NorthBoundLatitude:NorthBoundLatitude,EastBoundLongitude:EastBoundLongitude,Keyword:Keyword,StartDate:StartDate,EndDate:EndDate,TreeNodeID:TreeNodeID},succeededCallback,failedCallback,userContext); },
GetStationSubsetByHU:function(HydrologicUnitName,Keyword,StartDate,EndDate,TreeNodeID,succeededCallback, failedCallback, userContext) {
return this._invoke(Stations.StationsService.get_path(), 'GetStationSubsetByHU',false,{HydrologicUnitName:HydrologicUnitName,Keyword:Keyword,StartDate:StartDate,EndDate:EndDate,TreeNodeID:TreeNodeID},succeededCallback,failedCallback,userContext); },
GetStationCount:function(SouthBoundLatitude,WestBoundLongitude,NorthBoundLatitude,EastBoundLongitude,Keyword,StartDate,EndDate,succeededCallback, failedCallback, userContext) {
return this._invoke(Stations.StationsService.get_path(), 'GetStationCount',false,{SouthBoundLatitude:SouthBoundLatitude,WestBoundLongitude:WestBoundLongitude,NorthBoundLatitude:NorthBoundLatitude,EastBoundLongitude:EastBoundLongitude,Keyword:Keyword,StartDate:StartDate,EndDate:EndDate},succeededCallback,failedCallback,userContext); },
GetStationDetail:function(stationID,succeededCallback, failedCallback, userContext) {
return this._invoke(Stations.StationsService.get_path(), 'GetStationDetail',false,{stationID:stationID},succeededCallback,failedCallback,userContext); },
GetStationCatalog:function(stationID,beginDate,endDate,succeededCallback, failedCallback, userContext) {
return this._invoke(Stations.StationsService.get_path(), 'GetStationCatalog',false,{stationID:stationID,beginDate:beginDate,endDate:endDate},succeededCallback,failedCallback,userContext); },
GetStationCatalogConceptIDFiltered:function(stationID,keyword,branch,beginDate,endDate,succeededCallback, failedCallback, userContext) {
return this._invoke(Stations.StationsService.get_path(), 'GetStationCatalogConceptIDFiltered',false,{stationID:stationID,keyword:keyword,branch:branch,beginDate:beginDate,endDate:endDate},succeededCallback,failedCallback,userContext); },
GetStationCatalogFiltered:function(stationID,keyword,beginDate,endDate,succeededCallback, failedCallback, userContext) {
return this._invoke(Stations.StationsService.get_path(), 'GetStationCatalogFiltered',false,{stationID:stationID,keyword:keyword,beginDate:beginDate,endDate:endDate},succeededCallback,failedCallback,userContext); }}
Stations.StationsService.registerClass('Stations.StationsService',Sys.Net.WebServiceProxy);
Stations.StationsService._staticInstance = new Stations.StationsService();
Stations.StationsService.set_path = function(value) { Stations.StationsService._staticInstance._path = value; }
Stations.StationsService.get_path = function() { return Stations.StationsService._staticInstance._path; }
Stations.StationsService.set_timeout = function(value) { Stations.StationsService._staticInstance._timeout = value; }
Stations.StationsService.get_timeout = function() { return Stations.StationsService._staticInstance._timeout; }
Stations.StationsService.set_defaultUserContext = function(value) { Stations.StationsService._staticInstance._userContext = value; }
Stations.StationsService.get_defaultUserContext = function() { return Stations.StationsService._staticInstance._userContext; }
Stations.StationsService.set_defaultSucceededCallback = function(value) { Stations.StationsService._staticInstance._succeeded = value; }
Stations.StationsService.get_defaultSucceededCallback = function() { return Stations.StationsService._staticInstance._succeeded; }
Stations.StationsService.set_defaultFailedCallback = function(value) { Stations.StationsService._staticInstance._failed = value; }
Stations.StationsService.get_defaultFailedCallback = function() { return Stations.StationsService._staticInstance._failed; }
Stations.StationsService.set_path("/search/internalWebservices/StationsService.asmx");
Stations.StationsService.GetStations= function(SouthBoundLatitude,WestBoundLongitude,NorthBoundLatitude,EastBoundLongitude,Keyword,StartDate,EndDate,onSuccess,onFailed,userContext) {Stations.StationsService._staticInstance.GetStations(SouthBoundLatitude,WestBoundLongitude,NorthBoundLatitude,EastBoundLongitude,Keyword,StartDate,EndDate,onSuccess,onFailed,userContext); }
Stations.StationsService.GetStationsByHU= function(HydrologicUnitName,Keyword,StartDate,EndDate,onSuccess,onFailed,userContext) {Stations.StationsService._staticInstance.GetStationsByHU(HydrologicUnitName,Keyword,StartDate,EndDate,onSuccess,onFailed,userContext); }
Stations.StationsService.GetBoundingBoxFromHU= function(HydrologicUnitName,Keyword,StartDate,EndDate,onSuccess,onFailed,userContext) {Stations.StationsService._staticInstance.GetBoundingBoxFromHU(HydrologicUnitName,Keyword,StartDate,EndDate,onSuccess,onFailed,userContext); }
Stations.StationsService.GetStationSubset= function(SouthBoundLatitude,WestBoundLongitude,NorthBoundLatitude,EastBoundLongitude,Keyword,StartDate,EndDate,TreeNodeID,onSuccess,onFailed,userContext) {Stations.StationsService._staticInstance.GetStationSubset(SouthBoundLatitude,WestBoundLongitude,NorthBoundLatitude,EastBoundLongitude,Keyword,StartDate,EndDate,TreeNodeID,onSuccess,onFailed,userContext); }
Stations.StationsService.GetStationSubsetByHU= function(HydrologicUnitName,Keyword,StartDate,EndDate,TreeNodeID,onSuccess,onFailed,userContext) {Stations.StationsService._staticInstance.GetStationSubsetByHU(HydrologicUnitName,Keyword,StartDate,EndDate,TreeNodeID,onSuccess,onFailed,userContext); }
Stations.StationsService.GetStationCount= function(SouthBoundLatitude,WestBoundLongitude,NorthBoundLatitude,EastBoundLongitude,Keyword,StartDate,EndDate,onSuccess,onFailed,userContext) {Stations.StationsService._staticInstance.GetStationCount(SouthBoundLatitude,WestBoundLongitude,NorthBoundLatitude,EastBoundLongitude,Keyword,StartDate,EndDate,onSuccess,onFailed,userContext); }
Stations.StationsService.GetStationDetail= function(stationID,onSuccess,onFailed,userContext) {Stations.StationsService._staticInstance.GetStationDetail(stationID,onSuccess,onFailed,userContext); }
Stations.StationsService.GetStationCatalog= function(stationID,beginDate,endDate,onSuccess,onFailed,userContext) {Stations.StationsService._staticInstance.GetStationCatalog(stationID,beginDate,endDate,onSuccess,onFailed,userContext); }
Stations.StationsService.GetStationCatalogConceptIDFiltered= function(stationID,keyword,branch,beginDate,endDate,onSuccess,onFailed,userContext) {Stations.StationsService._staticInstance.GetStationCatalogConceptIDFiltered(stationID,keyword,branch,beginDate,endDate,onSuccess,onFailed,userContext); }
Stations.StationsService.GetStationCatalogFiltered= function(stationID,keyword,beginDate,endDate,onSuccess,onFailed,userContext) {Stations.StationsService._staticInstance.GetStationCatalogFiltered(stationID,keyword,beginDate,endDate,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(Stations.Station) === 'undefined') {
Stations.Station=gtc("Stations.Station");
Stations.Station.registerClass('Stations.Station');
}
if (typeof(Stations.BoundingBox) === 'undefined') {
Stations.BoundingBox=gtc("Stations.BoundingBox");
Stations.BoundingBox.registerClass('Stations.BoundingBox');
}
if (typeof(Stations.StationDetail) === 'undefined') {
Stations.StationDetail=gtc("Stations.StationDetail");
Stations.StationDetail.registerClass('Stations.StationDetail');
}
if (typeof(Stations.StationMeasurementsCatalog) === 'undefined') {
Stations.StationMeasurementsCatalog=gtc("Stations.StationMeasurementsCatalog");
Stations.StationMeasurementsCatalog.registerClass('Stations.StationMeasurementsCatalog');
}
