var AirportFinderPageHelper=function() {
AirportFinderPageHelper.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
AirportFinderPageHelper.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return AirportFinderPageHelper._staticInstance.get_path();},
GetAirportsNear:function(Latitude,Longitude,distance,succeededCallback, failedCallback, userContext) {
/// <param name="Latitude" type="Number">System.Double</param>
/// <param name="Longitude" type="Number">System.Double</param>
/// <param name="distance" 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(), 'GetAirportsNear',false,{Latitude:Latitude,Longitude:Longitude,distance:distance},succeededCallback,failedCallback,userContext); },
IsAirport:function(airportId,succeededCallback, failedCallback, userContext) {
/// <param name="airportId" 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(), 'IsAirport',false,{airportId:airportId},succeededCallback,failedCallback,userContext); }}
AirportFinderPageHelper.registerClass('AirportFinderPageHelper',Sys.Net.WebServiceProxy);
AirportFinderPageHelper._staticInstance = new AirportFinderPageHelper();
AirportFinderPageHelper.set_path = function(value) {
AirportFinderPageHelper._staticInstance.set_path(value); }
AirportFinderPageHelper.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return AirportFinderPageHelper._staticInstance.get_path();}
AirportFinderPageHelper.set_timeout = function(value) {
AirportFinderPageHelper._staticInstance.set_timeout(value); }
AirportFinderPageHelper.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return AirportFinderPageHelper._staticInstance.get_timeout(); }
AirportFinderPageHelper.set_defaultUserContext = function(value) { 
AirportFinderPageHelper._staticInstance.set_defaultUserContext(value); }
AirportFinderPageHelper.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return AirportFinderPageHelper._staticInstance.get_defaultUserContext(); }
AirportFinderPageHelper.set_defaultSucceededCallback = function(value) { 
 AirportFinderPageHelper._staticInstance.set_defaultSucceededCallback(value); }
AirportFinderPageHelper.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return AirportFinderPageHelper._staticInstance.get_defaultSucceededCallback(); }
AirportFinderPageHelper.set_defaultFailedCallback = function(value) { 
AirportFinderPageHelper._staticInstance.set_defaultFailedCallback(value); }
AirportFinderPageHelper.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return AirportFinderPageHelper._staticInstance.get_defaultFailedCallback(); }
AirportFinderPageHelper.set_path("/AirportFinderPageHelper.asmx");
AirportFinderPageHelper.GetAirportsNear= function(Latitude,Longitude,distance,onSuccess,onFailed,userContext) {
/// <param name="Latitude" type="Number">System.Double</param>
/// <param name="Longitude" type="Number">System.Double</param>
/// <param name="distance" 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>
AirportFinderPageHelper._staticInstance.GetAirportsNear(Latitude,Longitude,distance,onSuccess,onFailed,userContext); }
AirportFinderPageHelper.IsAirport= function(airportId,onSuccess,onFailed,userContext) {
/// <param name="airportId" 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>
AirportFinderPageHelper._staticInstance.IsAirport(airportId,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('AirportManager');
if (typeof(AirportManager.Airport) === 'undefined') {
AirportManager.Airport=gtc("AirportManager.Airport");
AirportManager.Airport.registerClass('AirportManager.Airport');
}
