var RTPipe=function() {
RTPipe.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
RTPipe.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return RTPipe._staticInstance.get_path();},
DoRoute:function(UserKey,fromLat,fromLng,toLat,toLng,succeededCallback, failedCallback, userContext) {
/// <param name="UserKey" type="String">System.String</param>
/// <param name="fromLat" type="Number">System.Double</param>
/// <param name="fromLng" type="Number">System.Double</param>
/// <param name="toLat" type="Number">System.Double</param>
/// <param name="toLng" type="Number">System.Double</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(), 'DoRoute',false,{UserKey:UserKey,fromLat:fromLat,fromLng:fromLng,toLat:toLat,toLng:toLng},succeededCallback,failedCallback,userContext); }}
RTPipe.registerClass('RTPipe',Sys.Net.WebServiceProxy);
RTPipe._staticInstance = new RTPipe();
RTPipe.set_path = function(value) {
RTPipe._staticInstance.set_path(value); }
RTPipe.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return RTPipe._staticInstance.get_path();}
RTPipe.set_timeout = function(value) {
RTPipe._staticInstance.set_timeout(value); }
RTPipe.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return RTPipe._staticInstance.get_timeout(); }
RTPipe.set_defaultUserContext = function(value) { 
RTPipe._staticInstance.set_defaultUserContext(value); }
RTPipe.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return RTPipe._staticInstance.get_defaultUserContext(); }
RTPipe.set_defaultSucceededCallback = function(value) { 
 RTPipe._staticInstance.set_defaultSucceededCallback(value); }
RTPipe.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return RTPipe._staticInstance.get_defaultSucceededCallback(); }
RTPipe.set_defaultFailedCallback = function(value) { 
RTPipe._staticInstance.set_defaultFailedCallback(value); }
RTPipe.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return RTPipe._staticInstance.get_defaultFailedCallback(); }
RTPipe.set_path("/mitsubishi/dealerlocator/ws/RTPipe.asmx");
RTPipe.DoRoute= function(UserKey,fromLat,fromLng,toLat,toLng,onSuccess,onFailed,userContext) {
/// <param name="UserKey" type="String">System.String</param>
/// <param name="fromLat" type="Number">System.Double</param>
/// <param name="fromLng" type="Number">System.Double</param>
/// <param name="toLat" type="Number">System.Double</param>
/// <param name="toLng" type="Number">System.Double</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>
RTPipe._staticInstance.DoRoute(UserKey,fromLat,fromLng,toLat,toLng,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(RouteResult) === 'undefined') {
var RouteResult=gtc("RouteResult");
RouteResult.registerClass('RouteResult');
}
