Type.registerNamespace('GasSouthWebApp');
GasSouthWebApp.LocationLocatorWebService=function() {
GasSouthWebApp.LocationLocatorWebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
GasSouthWebApp.LocationLocatorWebService.prototype={
GetTopTenNearestPL:function(pLat,pLng,succeededCallback, failedCallback, userContext) {
return this._invoke(GasSouthWebApp.LocationLocatorWebService.get_path(), 'GetTopTenNearestPL',false,{pLat:pLat,pLng:pLng},succeededCallback,failedCallback,userContext); }}
GasSouthWebApp.LocationLocatorWebService.registerClass('GasSouthWebApp.LocationLocatorWebService',Sys.Net.WebServiceProxy);
GasSouthWebApp.LocationLocatorWebService._staticInstance = new GasSouthWebApp.LocationLocatorWebService();
GasSouthWebApp.LocationLocatorWebService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; GasSouthWebApp.LocationLocatorWebService._staticInstance._path = value; }
GasSouthWebApp.LocationLocatorWebService.get_path = function() { return GasSouthWebApp.LocationLocatorWebService._staticInstance._path; }
GasSouthWebApp.LocationLocatorWebService.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
GasSouthWebApp.LocationLocatorWebService._staticInstance._timeout = value; }
GasSouthWebApp.LocationLocatorWebService.get_timeout = function() { 
return GasSouthWebApp.LocationLocatorWebService._staticInstance._timeout; }
GasSouthWebApp.LocationLocatorWebService.set_defaultUserContext = function(value) { 
GasSouthWebApp.LocationLocatorWebService._staticInstance._userContext = value; }
GasSouthWebApp.LocationLocatorWebService.get_defaultUserContext = function() { 
return GasSouthWebApp.LocationLocatorWebService._staticInstance._userContext; }
GasSouthWebApp.LocationLocatorWebService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; GasSouthWebApp.LocationLocatorWebService._staticInstance._succeeded = value; }
GasSouthWebApp.LocationLocatorWebService.get_defaultSucceededCallback = function() { 
return GasSouthWebApp.LocationLocatorWebService._staticInstance._succeeded; }
GasSouthWebApp.LocationLocatorWebService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; GasSouthWebApp.LocationLocatorWebService._staticInstance._failed = value; }
GasSouthWebApp.LocationLocatorWebService.get_defaultFailedCallback = function() { 
return GasSouthWebApp.LocationLocatorWebService._staticInstance._failed; }
GasSouthWebApp.LocationLocatorWebService.set_path("/AjaxWebService/location-locator-webservice.asmx");
GasSouthWebApp.LocationLocatorWebService.GetTopTenNearestPL= function(pLat,pLng,onSuccess,onFailed,userContext) {GasSouthWebApp.LocationLocatorWebService._staticInstance.GetTopTenNearestPL(pLat,pLng,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(GasSouthWebApp.MarchantEnt) === 'undefined') {
GasSouthWebApp.MarchantEnt=gtc("GasSouthWebApp.MarchantEnt");
GasSouthWebApp.MarchantEnt.registerClass('GasSouthWebApp.MarchantEnt');
}
