var MDSMapPipe=function() {
MDSMapPipe.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
MDSMapPipe.prototype={
RemoveKey:function(key,succeededCallback, failedCallback, userContext) {
return this._invoke(MDSMapPipe.get_path(), 'RemoveKey',false,{key:key},succeededCallback,failedCallback,userContext); },
GetViewByLevelCentreSize:function(userID,latitude,longitude,zoom,imgHeight,imgWidth,arrayindex,routeCollection,callCount,succeededCallback, failedCallback, userContext) {
return this._invoke(MDSMapPipe.get_path(), 'GetViewByLevelCentreSize',false,{userID:userID,latitude:latitude,longitude:longitude,zoom:zoom,imgHeight:imgHeight,imgWidth:imgWidth,arrayindex:arrayindex,routeCollection:routeCollection,callCount:callCount},succeededCallback,failedCallback,userContext); }}
MDSMapPipe.registerClass('MDSMapPipe',Sys.Net.WebServiceProxy);
MDSMapPipe._staticInstance = new MDSMapPipe();
MDSMapPipe.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; MDSMapPipe._staticInstance._path = value; }
MDSMapPipe.get_path = function() { return MDSMapPipe._staticInstance._path; }
MDSMapPipe.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); }
MDSMapPipe._staticInstance._timeout = value; }
MDSMapPipe.get_timeout = function() { 
return MDSMapPipe._staticInstance._timeout; }
MDSMapPipe.set_defaultUserContext = function(value) { 
MDSMapPipe._staticInstance._userContext = value; }
MDSMapPipe.get_defaultUserContext = function() { 
return MDSMapPipe._staticInstance._userContext; }
MDSMapPipe.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; MDSMapPipe._staticInstance._succeeded = value; }
MDSMapPipe.get_defaultSucceededCallback = function() { 
return MDSMapPipe._staticInstance._succeeded; }
MDSMapPipe.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; MDSMapPipe._staticInstance._failed = value; }
MDSMapPipe.get_defaultFailedCallback = function() { 
return MDSMapPipe._staticInstance._failed; }
MDSMapPipe.set_path("/austpost/postofficelocator/MDSMapPipe.asmx");
MDSMapPipe.RemoveKey= function(key,onSuccess,onFailed,userContext) {MDSMapPipe._staticInstance.RemoveKey(key,onSuccess,onFailed,userContext); }
MDSMapPipe.GetViewByLevelCentreSize= function(userID,latitude,longitude,zoom,imgHeight,imgWidth,arrayindex,routeCollection,callCount,onSuccess,onFailed,userContext) {MDSMapPipe._staticInstance.GetViewByLevelCentreSize(userID,latitude,longitude,zoom,imgHeight,imgWidth,arrayindex,routeCollection,callCount,onSuccess,onFailed,userContext); }
