Type.registerNamespace('CIC.Map2008');
CIC.Map2008.WS=function() {
CIC.Map2008.WS.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
CIC.Map2008.WS.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return CIC.Map2008.WS._staticInstance.get_path();},
SetState:function(state,IsLayersUpdate,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SetState',false,{state:state,IsLayersUpdate:IsLayersUpdate},succeededCallback,failedCallback,userContext); },
GetState:function(layers,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetState',false,{layers:layers},succeededCallback,failedCallback,userContext); },
GetLayers:function(root,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetLayers',false,{root:root},succeededCallback,failedCallback,userContext); },
InfoList:function(x,y,state,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'InfoList',false,{x:x,y:y,state:state},succeededCallback,failedCallback,userContext); },
Search:function(idLayer,name,firstRow,pageSize,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Search',false,{idLayer:idLayer,name:name,firstRow:firstRow,pageSize:pageSize},succeededCallback,failedCallback,userContext); },
ObjectAttr:function(idLayer,idObject,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ObjectAttr',false,{idLayer:idLayer,idObject:idObject},succeededCallback,failedCallback,userContext); },
GetRoute:function(beginX,beginY,endX,endY,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetRoute',false,{beginX:beginX,beginY:beginY,endX:endX,endY:endY},succeededCallback,failedCallback,userContext); },
ObjectsByAdrId:function(AdrId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ObjectsByAdrId',false,{AdrId:AdrId},succeededCallback,failedCallback,userContext); },
GetObjectRect:function(idLayer,idObject,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetObjectRect',false,{idLayer:idLayer,idObject:idObject},succeededCallback,failedCallback,userContext); },
StartPage:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'StartPage',false,{},succeededCallback,failedCallback,userContext); },
GetImagePoints:function(state,i,j,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetImagePoints',false,{state:state,i:i,j:j},succeededCallback,failedCallback,userContext); }}
CIC.Map2008.WS.registerClass('CIC.Map2008.WS',Sys.Net.WebServiceProxy);
CIC.Map2008.WS._staticInstance = new CIC.Map2008.WS();
CIC.Map2008.WS.set_path = function(value) { CIC.Map2008.WS._staticInstance.set_path(value); }
CIC.Map2008.WS.get_path = function() { return CIC.Map2008.WS._staticInstance.get_path(); }
CIC.Map2008.WS.set_timeout = function(value) { CIC.Map2008.WS._staticInstance.set_timeout(value); }
CIC.Map2008.WS.get_timeout = function() { return CIC.Map2008.WS._staticInstance.get_timeout(); }
CIC.Map2008.WS.set_defaultUserContext = function(value) { CIC.Map2008.WS._staticInstance.set_defaultUserContext(value); }
CIC.Map2008.WS.get_defaultUserContext = function() { return CIC.Map2008.WS._staticInstance.get_defaultUserContext(); }
CIC.Map2008.WS.set_defaultSucceededCallback = function(value) { CIC.Map2008.WS._staticInstance.set_defaultSucceededCallback(value); }
CIC.Map2008.WS.get_defaultSucceededCallback = function() { return CIC.Map2008.WS._staticInstance.get_defaultSucceededCallback(); }
CIC.Map2008.WS.set_defaultFailedCallback = function(value) { CIC.Map2008.WS._staticInstance.set_defaultFailedCallback(value); }
CIC.Map2008.WS.get_defaultFailedCallback = function() { return CIC.Map2008.WS._staticInstance.get_defaultFailedCallback(); }
CIC.Map2008.WS.set_path("/WS/Map2008.asmx");
CIC.Map2008.WS.SetState= function(state,IsLayersUpdate,onSuccess,onFailed,userContext) {CIC.Map2008.WS._staticInstance.SetState(state,IsLayersUpdate,onSuccess,onFailed,userContext); }
CIC.Map2008.WS.GetState= function(layers,onSuccess,onFailed,userContext) {CIC.Map2008.WS._staticInstance.GetState(layers,onSuccess,onFailed,userContext); }
CIC.Map2008.WS.GetLayers= function(root,onSuccess,onFailed,userContext) {CIC.Map2008.WS._staticInstance.GetLayers(root,onSuccess,onFailed,userContext); }
CIC.Map2008.WS.InfoList= function(x,y,state,onSuccess,onFailed,userContext) {CIC.Map2008.WS._staticInstance.InfoList(x,y,state,onSuccess,onFailed,userContext); }
CIC.Map2008.WS.Search= function(idLayer,name,firstRow,pageSize,onSuccess,onFailed,userContext) {CIC.Map2008.WS._staticInstance.Search(idLayer,name,firstRow,pageSize,onSuccess,onFailed,userContext); }
CIC.Map2008.WS.ObjectAttr= function(idLayer,idObject,onSuccess,onFailed,userContext) {CIC.Map2008.WS._staticInstance.ObjectAttr(idLayer,idObject,onSuccess,onFailed,userContext); }
CIC.Map2008.WS.GetRoute= function(beginX,beginY,endX,endY,onSuccess,onFailed,userContext) {CIC.Map2008.WS._staticInstance.GetRoute(beginX,beginY,endX,endY,onSuccess,onFailed,userContext); }
CIC.Map2008.WS.ObjectsByAdrId= function(AdrId,onSuccess,onFailed,userContext) {CIC.Map2008.WS._staticInstance.ObjectsByAdrId(AdrId,onSuccess,onFailed,userContext); }
CIC.Map2008.WS.GetObjectRect= function(idLayer,idObject,onSuccess,onFailed,userContext) {CIC.Map2008.WS._staticInstance.GetObjectRect(idLayer,idObject,onSuccess,onFailed,userContext); }
CIC.Map2008.WS.StartPage= function(onSuccess,onFailed,userContext) {CIC.Map2008.WS._staticInstance.StartPage(onSuccess,onFailed,userContext); }
CIC.Map2008.WS.GetImagePoints= function(state,i,j,onSuccess,onFailed,userContext) {CIC.Map2008.WS._staticInstance.GetImagePoints(state,i,j,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(CIC.Map2008.MapState) === 'undefined') {
CIC.Map2008.MapState=gtc("CIC.Map2008.MapState");
CIC.Map2008.MapState.registerClass('CIC.Map2008.MapState');
}
if (typeof(CIC.Map2008.Layer) === 'undefined') {
CIC.Map2008.Layer=gtc("CIC.Map2008.Layer");
CIC.Map2008.Layer.registerClass('CIC.Map2008.Layer');
}
if (typeof(CIC.Map2008.LayerInfo) === 'undefined') {
CIC.Map2008.LayerInfo=gtc("CIC.Map2008.LayerInfo");
CIC.Map2008.LayerInfo.registerClass('CIC.Map2008.LayerInfo');
}
if (typeof(CIC.Map2008.SearchResult) === 'undefined') {
CIC.Map2008.SearchResult=gtc("CIC.Map2008.SearchResult");
CIC.Map2008.SearchResult.registerClass('CIC.Map2008.SearchResult');
}
if (typeof(CIC.Map2008.ObjectAttributes) === 'undefined') {
CIC.Map2008.ObjectAttributes=gtc("CIC.Map2008.ObjectAttributes");
CIC.Map2008.ObjectAttributes.registerClass('CIC.Map2008.ObjectAttributes');
}
if (typeof(CIC.Map2008.RouteInfo) === 'undefined') {
CIC.Map2008.RouteInfo=gtc("CIC.Map2008.RouteInfo");
CIC.Map2008.RouteInfo.registerClass('CIC.Map2008.RouteInfo');
}
if (typeof(CIC.Map2008.MapObject) === 'undefined') {
CIC.Map2008.MapObject=gtc("CIC.Map2008.MapObject");
CIC.Map2008.MapObject.registerClass('CIC.Map2008.MapObject');
}
