Type.registerNamespace('Web');
Web.How2goWSTraffic=function() {
Web.How2goWSTraffic.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Web.How2goWSTraffic.prototype={
GetTrafficCityListXml:function(succeededCallback, failedCallback, userContext) {
return this._invoke(Web.How2goWSTraffic.get_path(), 'GetTrafficCityListXml',false,{},succeededCallback,failedCallback,userContext); },
GetCurrentCityInfoXml:function(scaleLevel,lon,lat,succeededCallback, failedCallback, userContext) {
return this._invoke(Web.How2goWSTraffic.get_path(), 'GetCurrentCityInfoXml',false,{scaleLevel:scaleLevel,lon:lon,lat:lat},succeededCallback,failedCallback,userContext); },
GetGRBXml:function(mapViewSizeX,mapViewSizeY,srcScaleLevel,centerLon,centerLat,adjustX,adjustY,destScaleLevel,succeededCallback, failedCallback, userContext) {
return this._invoke(Web.How2goWSTraffic.get_path(), 'GetGRBXml',false,{mapViewSizeX:mapViewSizeX,mapViewSizeY:mapViewSizeY,srcScaleLevel:srcScaleLevel,centerLon:centerLon,centerLat:centerLat,adjustX:adjustX,adjustY:adjustY,destScaleLevel:destScaleLevel},succeededCallback,failedCallback,userContext); },
GetGRBJSON:function(mapViewSizeX,mapViewSizeY,srcScaleLevel,centerLon,centerLat,adjustX,adjustY,destScaleLevel,succeededCallback, failedCallback, userContext) {
return this._invoke(Web.How2goWSTraffic.get_path(), 'GetGRBJSON',false,{mapViewSizeX:mapViewSizeX,mapViewSizeY:mapViewSizeY,srcScaleLevel:srcScaleLevel,centerLon:centerLon,centerLat:centerLat,adjustX:adjustX,adjustY:adjustY,destScaleLevel:destScaleLevel},succeededCallback,failedCallback,userContext); },
GetGRBRectXml:function(mapViewSizeX,mapViewSizeY,leftLowLon,leftLowLat,rightUpLon,rightUpLat,succeededCallback, failedCallback, userContext) {
return this._invoke(Web.How2goWSTraffic.get_path(), 'GetGRBRectXml',false,{mapViewSizeX:mapViewSizeX,mapViewSizeY:mapViewSizeY,leftLowLon:leftLowLon,leftLowLat:leftLowLat,rightUpLon:rightUpLon,rightUpLat:rightUpLat},succeededCallback,failedCallback,userContext); },
GetGRBRectJSON:function(mapViewSizeX,mapViewSizeY,leftLowLon,leftLowLat,rightUpLon,rightUpLat,succeededCallback, failedCallback, userContext) {
return this._invoke(Web.How2goWSTraffic.get_path(), 'GetGRBRectJSON',false,{mapViewSizeX:mapViewSizeX,mapViewSizeY:mapViewSizeY,leftLowLon:leftLowLon,leftLowLat:leftLowLat,rightUpLon:rightUpLon,rightUpLat:rightUpLat},succeededCallback,failedCallback,userContext); },
GetTrafficCityListJSON:function(succeededCallback, failedCallback, userContext) {
return this._invoke(Web.How2goWSTraffic.get_path(), 'GetTrafficCityListJSON',false,{},succeededCallback,failedCallback,userContext); },
GetCurrentCityInfoJSON:function(scaleLevel,lon,lat,succeededCallback, failedCallback, userContext) {
return this._invoke(Web.How2goWSTraffic.get_path(), 'GetCurrentCityInfoJSON',false,{scaleLevel:scaleLevel,lon:lon,lat:lat},succeededCallback,failedCallback,userContext); }}
Web.How2goWSTraffic.registerClass('Web.How2goWSTraffic',Sys.Net.WebServiceProxy);
Web.How2goWSTraffic._staticInstance = new Web.How2goWSTraffic();
Web.How2goWSTraffic.set_path = function(value) { Web.How2goWSTraffic._staticInstance._path = value; }
Web.How2goWSTraffic.get_path = function() { return Web.How2goWSTraffic._staticInstance._path; }
Web.How2goWSTraffic.set_timeout = function(value) { Web.How2goWSTraffic._staticInstance._timeout = value; }
Web.How2goWSTraffic.get_timeout = function() { return Web.How2goWSTraffic._staticInstance._timeout; }
Web.How2goWSTraffic.set_defaultUserContext = function(value) { Web.How2goWSTraffic._staticInstance._userContext = value; }
Web.How2goWSTraffic.get_defaultUserContext = function() { return Web.How2goWSTraffic._staticInstance._userContext; }
Web.How2goWSTraffic.set_defaultSucceededCallback = function(value) { Web.How2goWSTraffic._staticInstance._succeeded = value; }
Web.How2goWSTraffic.get_defaultSucceededCallback = function() { return Web.How2goWSTraffic._staticInstance._succeeded; }
Web.How2goWSTraffic.set_defaultFailedCallback = function(value) { Web.How2goWSTraffic._staticInstance._failed = value; }
Web.How2goWSTraffic.get_defaultFailedCallback = function() { return Web.How2goWSTraffic._staticInstance._failed; }
Web.How2goWSTraffic.set_path("/WebServices/How2goWSTraffic.asmx");
Web.How2goWSTraffic.GetTrafficCityListXml= function(onSuccess,onFailed,userContext) {Web.How2goWSTraffic._staticInstance.GetTrafficCityListXml(onSuccess,onFailed,userContext); }
Web.How2goWSTraffic.GetCurrentCityInfoXml= function(scaleLevel,lon,lat,onSuccess,onFailed,userContext) {Web.How2goWSTraffic._staticInstance.GetCurrentCityInfoXml(scaleLevel,lon,lat,onSuccess,onFailed,userContext); }
Web.How2goWSTraffic.GetGRBXml= function(mapViewSizeX,mapViewSizeY,srcScaleLevel,centerLon,centerLat,adjustX,adjustY,destScaleLevel,onSuccess,onFailed,userContext) {Web.How2goWSTraffic._staticInstance.GetGRBXml(mapViewSizeX,mapViewSizeY,srcScaleLevel,centerLon,centerLat,adjustX,adjustY,destScaleLevel,onSuccess,onFailed,userContext); }
Web.How2goWSTraffic.GetGRBJSON= function(mapViewSizeX,mapViewSizeY,srcScaleLevel,centerLon,centerLat,adjustX,adjustY,destScaleLevel,onSuccess,onFailed,userContext) {Web.How2goWSTraffic._staticInstance.GetGRBJSON(mapViewSizeX,mapViewSizeY,srcScaleLevel,centerLon,centerLat,adjustX,adjustY,destScaleLevel,onSuccess,onFailed,userContext); }
Web.How2goWSTraffic.GetGRBRectXml= function(mapViewSizeX,mapViewSizeY,leftLowLon,leftLowLat,rightUpLon,rightUpLat,onSuccess,onFailed,userContext) {Web.How2goWSTraffic._staticInstance.GetGRBRectXml(mapViewSizeX,mapViewSizeY,leftLowLon,leftLowLat,rightUpLon,rightUpLat,onSuccess,onFailed,userContext); }
Web.How2goWSTraffic.GetGRBRectJSON= function(mapViewSizeX,mapViewSizeY,leftLowLon,leftLowLat,rightUpLon,rightUpLat,onSuccess,onFailed,userContext) {Web.How2goWSTraffic._staticInstance.GetGRBRectJSON(mapViewSizeX,mapViewSizeY,leftLowLon,leftLowLat,rightUpLon,rightUpLat,onSuccess,onFailed,userContext); }
Web.How2goWSTraffic.GetTrafficCityListJSON= function(onSuccess,onFailed,userContext) {Web.How2goWSTraffic._staticInstance.GetTrafficCityListJSON(onSuccess,onFailed,userContext); }
Web.How2goWSTraffic.GetCurrentCityInfoJSON= function(scaleLevel,lon,lat,onSuccess,onFailed,userContext) {Web.How2goWSTraffic._staticInstance.GetCurrentCityInfoJSON(scaleLevel,lon,lat,onSuccess,onFailed,userContext); }
