Type.registerNamespace('KeyView');
KeyView.ImageRetrievalService=function() {
KeyView.ImageRetrievalService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
KeyView.ImageRetrievalService.prototype={
InitializeNewProject:function(strProjectId,CenterLat,CenterLong,Zoom,succeededCallback, failedCallback, userContext) {
return this._invoke(KeyView.ImageRetrievalService.get_path(), 'InitializeNewProject',false,{strProjectId:strProjectId,CenterLat:CenterLat,CenterLong:CenterLong,Zoom:Zoom},succeededCallback,failedCallback,userContext); },
GetProjectBounds:function(strProjectId,CenterLat,CenterLong,Zoom,succeededCallback, failedCallback, userContext) {
return this._invoke(KeyView.ImageRetrievalService.get_path(), 'GetProjectBounds',false,{strProjectId:strProjectId,CenterLat:CenterLat,CenterLong:CenterLong,Zoom:Zoom},succeededCallback,failedCallback,userContext); },
GetAllProjects:function(succeededCallback, failedCallback, userContext) {
return this._invoke(KeyView.ImageRetrievalService.get_path(), 'GetAllProjects',false,{},succeededCallback,failedCallback,userContext); },
GetProjectInfo:function(strProjectId,succeededCallback, failedCallback, userContext) {
return this._invoke(KeyView.ImageRetrievalService.get_path(), 'GetProjectInfo',false,{strProjectId:strProjectId},succeededCallback,failedCallback,userContext); },
GetProjectByBounds:function(succeededCallback, failedCallback, userContext) {
return this._invoke(KeyView.ImageRetrievalService.get_path(), 'GetProjectByBounds',false,{},succeededCallback,failedCallback,userContext); },
GetProjectInformation:function(strProjectId,succeededCallback, failedCallback, userContext) {
return this._invoke(KeyView.ImageRetrievalService.get_path(), 'GetProjectInformation',false,{strProjectId:strProjectId},succeededCallback,failedCallback,userContext); },
ClearProjectInformation:function(succeededCallback, failedCallback, userContext) {
return this._invoke(KeyView.ImageRetrievalService.get_path(), 'ClearProjectInformation',false,{},succeededCallback,failedCallback,userContext); },
GetFlightLines:function(strProjectId,succeededCallback, failedCallback, userContext) {
return this._invoke(KeyView.ImageRetrievalService.get_path(), 'GetFlightLines',false,{strProjectId:strProjectId},succeededCallback,failedCallback,userContext); },
GetExposuresInBounds:function(strProjectId,mapLowLat,mapHighLat,mapLowLong,mapHighLong,SetType,SelectedIds,succeededCallback, failedCallback, userContext) {
return this._invoke(KeyView.ImageRetrievalService.get_path(), 'GetExposuresInBounds',false,{strProjectId:strProjectId,mapLowLat:mapLowLat,mapHighLat:mapHighLat,mapLowLong:mapLowLong,mapHighLong:mapHighLong,SetType:SetType,SelectedIds:SelectedIds},succeededCallback,failedCallback,userContext); },
GetCoverageAreaOLD:function(LatDiff,LongDiff,PointLat,PointLong,succeededCallback, failedCallback, userContext) {
return this._invoke(KeyView.ImageRetrievalService.get_path(), 'GetCoverageAreaOLD',false,{LatDiff:LatDiff,LongDiff:LongDiff,PointLat:PointLat,PointLong:PointLong},succeededCallback,failedCallback,userContext); },
GetCoverageArea:function(ProjId,expId,succeededCallback, failedCallback, userContext) {
return this._invoke(KeyView.ImageRetrievalService.get_path(), 'GetCoverageArea',false,{ProjId:ProjId,expId:expId},succeededCallback,failedCallback,userContext); },
GetExposuresInBox:function(StartLat,StartLong,EndLat,EndLong,strProjectId,intZoomLevel,SetMode,blnGiveAlert,succeededCallback, failedCallback, userContext) {
return this._invoke(KeyView.ImageRetrievalService.get_path(), 'GetExposuresInBox',false,{StartLat:StartLat,StartLong:StartLong,EndLat:EndLat,EndLong:EndLong,strProjectId:strProjectId,intZoomLevel:intZoomLevel,SetMode:SetMode,blnGiveAlert:blnGiveAlert},succeededCallback,failedCallback,userContext); },
GetExposuresInPolygon:function(MyPoints,strProjectId,intZoomLevel,SetMode,succeededCallback, failedCallback, userContext) {
return this._invoke(KeyView.ImageRetrievalService.get_path(), 'GetExposuresInPolygon',false,{MyPoints:MyPoints,strProjectId:strProjectId,intZoomLevel:intZoomLevel,SetMode:SetMode},succeededCallback,failedCallback,userContext); },
FindProjectsInShape:function(strBounding,State,succeededCallback, failedCallback, userContext) {
return this._invoke(KeyView.ImageRetrievalService.get_path(), 'FindProjectsInShape',false,{strBounding:strBounding,State:State},succeededCallback,failedCallback,userContext); },
FindProjectsInShape_MultiPolygon:function(strPolyPoints,State,succeededCallback, failedCallback, userContext) {
return this._invoke(KeyView.ImageRetrievalService.get_path(), 'FindProjectsInShape_MultiPolygon',false,{strPolyPoints:strPolyPoints,State:State},succeededCallback,failedCallback,userContext); }}
KeyView.ImageRetrievalService.registerClass('KeyView.ImageRetrievalService',Sys.Net.WebServiceProxy);
KeyView.ImageRetrievalService._staticInstance = new KeyView.ImageRetrievalService();
KeyView.ImageRetrievalService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; KeyView.ImageRetrievalService._staticInstance._path = value; }
KeyView.ImageRetrievalService.get_path = function() { return KeyView.ImageRetrievalService._staticInstance._path; }
KeyView.ImageRetrievalService.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); }
KeyView.ImageRetrievalService._staticInstance._timeout = value; }
KeyView.ImageRetrievalService.get_timeout = function() { 
return KeyView.ImageRetrievalService._staticInstance._timeout; }
KeyView.ImageRetrievalService.set_defaultUserContext = function(value) { 
KeyView.ImageRetrievalService._staticInstance._userContext = value; }
KeyView.ImageRetrievalService.get_defaultUserContext = function() { 
return KeyView.ImageRetrievalService._staticInstance._userContext; }
KeyView.ImageRetrievalService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; KeyView.ImageRetrievalService._staticInstance._succeeded = value; }
KeyView.ImageRetrievalService.get_defaultSucceededCallback = function() { 
return KeyView.ImageRetrievalService._staticInstance._succeeded; }
KeyView.ImageRetrievalService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; KeyView.ImageRetrievalService._staticInstance._failed = value; }
KeyView.ImageRetrievalService.get_defaultFailedCallback = function() { 
return KeyView.ImageRetrievalService._staticInstance._failed; }
KeyView.ImageRetrievalService.set_path("/WebServices/ImageRetrievalService.asmx");
KeyView.ImageRetrievalService.InitializeNewProject= function(strProjectId,CenterLat,CenterLong,Zoom,onSuccess,onFailed,userContext) {KeyView.ImageRetrievalService._staticInstance.InitializeNewProject(strProjectId,CenterLat,CenterLong,Zoom,onSuccess,onFailed,userContext); }
KeyView.ImageRetrievalService.GetProjectBounds= function(strProjectId,CenterLat,CenterLong,Zoom,onSuccess,onFailed,userContext) {KeyView.ImageRetrievalService._staticInstance.GetProjectBounds(strProjectId,CenterLat,CenterLong,Zoom,onSuccess,onFailed,userContext); }
KeyView.ImageRetrievalService.GetAllProjects= function(onSuccess,onFailed,userContext) {KeyView.ImageRetrievalService._staticInstance.GetAllProjects(onSuccess,onFailed,userContext); }
KeyView.ImageRetrievalService.GetProjectInfo= function(strProjectId,onSuccess,onFailed,userContext) {KeyView.ImageRetrievalService._staticInstance.GetProjectInfo(strProjectId,onSuccess,onFailed,userContext); }
KeyView.ImageRetrievalService.GetProjectByBounds= function(onSuccess,onFailed,userContext) {KeyView.ImageRetrievalService._staticInstance.GetProjectByBounds(onSuccess,onFailed,userContext); }
KeyView.ImageRetrievalService.GetProjectInformation= function(strProjectId,onSuccess,onFailed,userContext) {KeyView.ImageRetrievalService._staticInstance.GetProjectInformation(strProjectId,onSuccess,onFailed,userContext); }
KeyView.ImageRetrievalService.ClearProjectInformation= function(onSuccess,onFailed,userContext) {KeyView.ImageRetrievalService._staticInstance.ClearProjectInformation(onSuccess,onFailed,userContext); }
KeyView.ImageRetrievalService.GetFlightLines= function(strProjectId,onSuccess,onFailed,userContext) {KeyView.ImageRetrievalService._staticInstance.GetFlightLines(strProjectId,onSuccess,onFailed,userContext); }
KeyView.ImageRetrievalService.GetExposuresInBounds= function(strProjectId,mapLowLat,mapHighLat,mapLowLong,mapHighLong,SetType,SelectedIds,onSuccess,onFailed,userContext) {KeyView.ImageRetrievalService._staticInstance.GetExposuresInBounds(strProjectId,mapLowLat,mapHighLat,mapLowLong,mapHighLong,SetType,SelectedIds,onSuccess,onFailed,userContext); }
KeyView.ImageRetrievalService.GetCoverageAreaOLD= function(LatDiff,LongDiff,PointLat,PointLong,onSuccess,onFailed,userContext) {KeyView.ImageRetrievalService._staticInstance.GetCoverageAreaOLD(LatDiff,LongDiff,PointLat,PointLong,onSuccess,onFailed,userContext); }
KeyView.ImageRetrievalService.GetCoverageArea= function(ProjId,expId,onSuccess,onFailed,userContext) {KeyView.ImageRetrievalService._staticInstance.GetCoverageArea(ProjId,expId,onSuccess,onFailed,userContext); }
KeyView.ImageRetrievalService.GetExposuresInBox= function(StartLat,StartLong,EndLat,EndLong,strProjectId,intZoomLevel,SetMode,blnGiveAlert,onSuccess,onFailed,userContext) {KeyView.ImageRetrievalService._staticInstance.GetExposuresInBox(StartLat,StartLong,EndLat,EndLong,strProjectId,intZoomLevel,SetMode,blnGiveAlert,onSuccess,onFailed,userContext); }
KeyView.ImageRetrievalService.GetExposuresInPolygon= function(MyPoints,strProjectId,intZoomLevel,SetMode,onSuccess,onFailed,userContext) {KeyView.ImageRetrievalService._staticInstance.GetExposuresInPolygon(MyPoints,strProjectId,intZoomLevel,SetMode,onSuccess,onFailed,userContext); }
KeyView.ImageRetrievalService.FindProjectsInShape= function(strBounding,State,onSuccess,onFailed,userContext) {KeyView.ImageRetrievalService._staticInstance.FindProjectsInShape(strBounding,State,onSuccess,onFailed,userContext); }
KeyView.ImageRetrievalService.FindProjectsInShape_MultiPolygon= function(strPolyPoints,State,onSuccess,onFailed,userContext) {KeyView.ImageRetrievalService._staticInstance.FindProjectsInShape_MultiPolygon(strPolyPoints,State,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(KeyView.VELatLong) === 'undefined') {
KeyView.VELatLong=gtc("KeyView.VELatLong");
KeyView.VELatLong.registerClass('KeyView.VELatLong');
}
