Type.registerNamespace('Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search');
Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.RuteProxy=function() {
Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.RuteProxy.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.RuteProxy.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.RuteProxy._staticInstance.get_path();},
GetRoute:function(graph,vehicle,fromX,fromY,toX,toY,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetRoute',false,{graph:graph,vehicle:vehicle,fromX:fromX,fromY:fromY,toX:toX,toY:toY},succeededCallback,failedCallback,userContext); },
GetRouteVia:function(graph,vehicle,points,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetRouteVia',false,{graph:graph,vehicle:vehicle,points:points},succeededCallback,failedCallback,userContext); }}
Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.RuteProxy.registerClass('Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.RuteProxy',Sys.Net.WebServiceProxy);
Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.RuteProxy._staticInstance = new Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.RuteProxy();
Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.RuteProxy.set_path = function(value) { Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.RuteProxy._staticInstance.set_path(value); }
Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.RuteProxy.get_path = function() { return Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.RuteProxy._staticInstance.get_path(); }
Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.RuteProxy.set_timeout = function(value) { Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.RuteProxy._staticInstance.set_timeout(value); }
Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.RuteProxy.get_timeout = function() { return Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.RuteProxy._staticInstance.get_timeout(); }
Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.RuteProxy.set_defaultUserContext = function(value) { Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.RuteProxy._staticInstance.set_defaultUserContext(value); }
Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.RuteProxy.get_defaultUserContext = function() { return Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.RuteProxy._staticInstance.get_defaultUserContext(); }
Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.RuteProxy.set_defaultSucceededCallback = function(value) { Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.RuteProxy._staticInstance.set_defaultSucceededCallback(value); }
Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.RuteProxy.get_defaultSucceededCallback = function() { return Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.RuteProxy._staticInstance.get_defaultSucceededCallback(); }
Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.RuteProxy.set_defaultFailedCallback = function(value) { Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.RuteProxy._staticInstance.set_defaultFailedCallback(value); }
Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.RuteProxy.get_defaultFailedCallback = function() { return Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.RuteProxy._staticInstance.get_defaultFailedCallback(); }
Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.RuteProxy.set_path("/AJAX/WebServices/Search/RuteProxy.asmx");
Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.RuteProxy.GetRoute= function(graph,vehicle,fromX,fromY,toX,toY,onSuccess,onFailed,userContext) {Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.RuteProxy._staticInstance.GetRoute(graph,vehicle,fromX,fromY,toX,toY,onSuccess,onFailed,userContext); }
Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.RuteProxy.GetRouteVia= function(graph,vehicle,points,onSuccess,onFailed,userContext) {Norkart.Web.Fag.Applications.MapPortal.AJAX.WebServices.Search.RuteProxy._staticInstance.GetRouteVia(graph,vehicle,points,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('Norkart.Web.Fag.Applications.MapPortal.routeplanner');
if (typeof(Norkart.Web.Fag.Applications.MapPortal.routeplanner.RouteReturn) === 'undefined') {
Norkart.Web.Fag.Applications.MapPortal.routeplanner.RouteReturn=gtc("Norkart.Web.Fag.Applications.MapPortal.routeplanner.RouteReturn");
Norkart.Web.Fag.Applications.MapPortal.routeplanner.RouteReturn.registerClass('Norkart.Web.Fag.Applications.MapPortal.routeplanner.RouteReturn');
}
