Type.registerNamespace('RotteWeb.Site.Services');
RotteWeb.Site.Services.OpenLayers=function() {
RotteWeb.Site.Services.OpenLayers.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
RotteWeb.Site.Services.OpenLayers.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return RotteWeb.Site.Services.OpenLayers._staticInstance.get_path();},
Initialize:function(succeededCallback, failedCallback, userContext) {
/// <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(), 'Initialize',true,{},succeededCallback,failedCallback,userContext); },
GetAddressCoordinate:function(addressId,succeededCallback, failedCallback, userContext) {
/// <param name="addressId" type="Number">System.Int32</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(), 'GetAddressCoordinate',true,{addressId:addressId},succeededCallback,failedCallback,userContext); },
GetCasefileCoordinate:function(casefileId,succeededCallback, failedCallback, userContext) {
/// <param name="casefileId" type="Number">System.Int32</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(), 'GetCasefileCoordinate',true,{casefileId:casefileId},succeededCallback,failedCallback,userContext); },
GetNearestCasefile:function(lon,lat,resolution,layers,succeededCallback, failedCallback, userContext) {
/// <param name="lon" type="Number">System.Double</param>
/// <param name="lat" type="Number">System.Double</param>
/// <param name="resolution" type="Number">System.Double</param>
/// <param name="layers" type="String">System.String</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(), 'GetNearestCasefile',true,{lon:lon,lat:lat,resolution:resolution,layers:layers},succeededCallback,failedCallback,userContext); },
GetCasefileInfo:function(id,succeededCallback, failedCallback, userContext) {
/// <param name="id" type="Number">System.Int32</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(), 'GetCasefileInfo',true,{id:id},succeededCallback,failedCallback,userContext); }}
RotteWeb.Site.Services.OpenLayers.registerClass('RotteWeb.Site.Services.OpenLayers',Sys.Net.WebServiceProxy);
RotteWeb.Site.Services.OpenLayers._staticInstance = new RotteWeb.Site.Services.OpenLayers();
RotteWeb.Site.Services.OpenLayers.set_path = function(value) {
RotteWeb.Site.Services.OpenLayers._staticInstance.set_path(value); }
RotteWeb.Site.Services.OpenLayers.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return RotteWeb.Site.Services.OpenLayers._staticInstance.get_path();}
RotteWeb.Site.Services.OpenLayers.set_timeout = function(value) {
RotteWeb.Site.Services.OpenLayers._staticInstance.set_timeout(value); }
RotteWeb.Site.Services.OpenLayers.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return RotteWeb.Site.Services.OpenLayers._staticInstance.get_timeout(); }
RotteWeb.Site.Services.OpenLayers.set_defaultUserContext = function(value) { 
RotteWeb.Site.Services.OpenLayers._staticInstance.set_defaultUserContext(value); }
RotteWeb.Site.Services.OpenLayers.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return RotteWeb.Site.Services.OpenLayers._staticInstance.get_defaultUserContext(); }
RotteWeb.Site.Services.OpenLayers.set_defaultSucceededCallback = function(value) { 
 RotteWeb.Site.Services.OpenLayers._staticInstance.set_defaultSucceededCallback(value); }
RotteWeb.Site.Services.OpenLayers.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return RotteWeb.Site.Services.OpenLayers._staticInstance.get_defaultSucceededCallback(); }
RotteWeb.Site.Services.OpenLayers.set_defaultFailedCallback = function(value) { 
RotteWeb.Site.Services.OpenLayers._staticInstance.set_defaultFailedCallback(value); }
RotteWeb.Site.Services.OpenLayers.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return RotteWeb.Site.Services.OpenLayers._staticInstance.get_defaultFailedCallback(); }
RotteWeb.Site.Services.OpenLayers.set_path("/Services/OpenLayers.asmx");
RotteWeb.Site.Services.OpenLayers.Initialize= function(onSuccess,onFailed,userContext) {
/// <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>
RotteWeb.Site.Services.OpenLayers._staticInstance.Initialize(onSuccess,onFailed,userContext); }
RotteWeb.Site.Services.OpenLayers.GetAddressCoordinate= function(addressId,onSuccess,onFailed,userContext) {
/// <param name="addressId" type="Number">System.Int32</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>
RotteWeb.Site.Services.OpenLayers._staticInstance.GetAddressCoordinate(addressId,onSuccess,onFailed,userContext); }
RotteWeb.Site.Services.OpenLayers.GetCasefileCoordinate= function(casefileId,onSuccess,onFailed,userContext) {
/// <param name="casefileId" type="Number">System.Int32</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>
RotteWeb.Site.Services.OpenLayers._staticInstance.GetCasefileCoordinate(casefileId,onSuccess,onFailed,userContext); }
RotteWeb.Site.Services.OpenLayers.GetNearestCasefile= function(lon,lat,resolution,layers,onSuccess,onFailed,userContext) {
/// <param name="lon" type="Number">System.Double</param>
/// <param name="lat" type="Number">System.Double</param>
/// <param name="resolution" type="Number">System.Double</param>
/// <param name="layers" type="String">System.String</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>
RotteWeb.Site.Services.OpenLayers._staticInstance.GetNearestCasefile(lon,lat,resolution,layers,onSuccess,onFailed,userContext); }
RotteWeb.Site.Services.OpenLayers.GetCasefileInfo= function(id,onSuccess,onFailed,userContext) {
/// <param name="id" type="Number">System.Int32</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>
RotteWeb.Site.Services.OpenLayers._staticInstance.GetCasefileInfo(id,onSuccess,onFailed,userContext); }

