Type.registerNamespace('MvcApp');
MvcApp.Service=function() {
MvcApp.Service.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
MvcApp.Service.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return MvcApp.Service._staticInstance.get_path();},
HelloWorld:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'HelloWorld',false,{},succeededCallback,failedCallback,userContext); },
CoorditatesToRute:function(ruteID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CoorditatesToRute',false,{ruteID:ruteID},succeededCallback,failedCallback,userContext); },
DelteRuter:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DelteRuter',false,{},succeededCallback,failedCallback,userContext); },
DelteRuterDetail:function(bounds,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DelteRuterDetail',false,{bounds:bounds},succeededCallback,failedCallback,userContext); },
UpdateElevation:function(data,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'UpdateElevation',false,{data:data},succeededCallback,failedCallback,userContext); }}
MvcApp.Service.registerClass('MvcApp.Service',Sys.Net.WebServiceProxy);
MvcApp.Service._staticInstance = new MvcApp.Service();
MvcApp.Service.set_path = function(value) { MvcApp.Service._staticInstance.set_path(value); }
MvcApp.Service.get_path = function() { return MvcApp.Service._staticInstance.get_path(); }
MvcApp.Service.set_timeout = function(value) { MvcApp.Service._staticInstance.set_timeout(value); }
MvcApp.Service.get_timeout = function() { return MvcApp.Service._staticInstance.get_timeout(); }
MvcApp.Service.set_defaultUserContext = function(value) { MvcApp.Service._staticInstance.set_defaultUserContext(value); }
MvcApp.Service.get_defaultUserContext = function() { return MvcApp.Service._staticInstance.get_defaultUserContext(); }
MvcApp.Service.set_defaultSucceededCallback = function(value) { MvcApp.Service._staticInstance.set_defaultSucceededCallback(value); }
MvcApp.Service.get_defaultSucceededCallback = function() { return MvcApp.Service._staticInstance.get_defaultSucceededCallback(); }
MvcApp.Service.set_defaultFailedCallback = function(value) { MvcApp.Service._staticInstance.set_defaultFailedCallback(value); }
MvcApp.Service.get_defaultFailedCallback = function() { return MvcApp.Service._staticInstance.get_defaultFailedCallback(); }
MvcApp.Service.set_path("/service.asmx");
MvcApp.Service.HelloWorld= function(onSuccess,onFailed,userContext) {MvcApp.Service._staticInstance.HelloWorld(onSuccess,onFailed,userContext); }
MvcApp.Service.CoorditatesToRute= function(ruteID,onSuccess,onFailed,userContext) {MvcApp.Service._staticInstance.CoorditatesToRute(ruteID,onSuccess,onFailed,userContext); }
MvcApp.Service.DelteRuter= function(onSuccess,onFailed,userContext) {MvcApp.Service._staticInstance.DelteRuter(onSuccess,onFailed,userContext); }
MvcApp.Service.DelteRuterDetail= function(bounds,onSuccess,onFailed,userContext) {MvcApp.Service._staticInstance.DelteRuterDetail(bounds,onSuccess,onFailed,userContext); }
MvcApp.Service.UpdateElevation= function(data,onSuccess,onFailed,userContext) {MvcApp.Service._staticInstance.UpdateElevation(data,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('DomainModel');
if (typeof(DomainModel.LongLat) === 'undefined') {
DomainModel.LongLat=gtc("DomainModel.LongLat");
DomainModel.LongLat.registerClass('DomainModel.LongLat');
}
