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={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return KeyView.ImageRetrievalService._staticInstance.get_path();},
InitializeNewProject:function(strProjectId,CenterLat,CenterLong,Zoom,succeededCallback, failedCallback, userContext) {
/// <param name="strProjectId" type="String">System.String</param>
/// <param name="CenterLat" type="String">System.String</param>
/// <param name="CenterLong" type="String">System.String</param>
/// <param name="Zoom" 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(), 'InitializeNewProject',false,{strProjectId:strProjectId,CenterLat:CenterLat,CenterLong:CenterLong,Zoom:Zoom},succeededCallback,failedCallback,userContext); },
GetProjectBounds:function(strProjectId,CenterLat,CenterLong,Zoom,succeededCallback, failedCallback, userContext) {
/// <param name="strProjectId" type="String">System.String</param>
/// <param name="CenterLat" type="String">System.String</param>
/// <param name="CenterLong" type="String">System.String</param>
/// <param name="Zoom" 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(), 'GetProjectBounds',false,{strProjectId:strProjectId,CenterLat:CenterLat,CenterLong:CenterLong,Zoom:Zoom},succeededCallback,failedCallback,userContext); },
GetAllProjects: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(), 'GetAllProjects',false,{},succeededCallback,failedCallback,userContext); },
GetProjectInfo:function(strProjectId,succeededCallback, failedCallback, userContext) {
/// <param name="strProjectId" 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(), 'GetProjectInfo',false,{strProjectId:strProjectId},succeededCallback,failedCallback,userContext); },
GetProjectByBounds: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(), 'GetProjectByBounds',false,{},succeededCallback,failedCallback,userContext); },
GetProjectInformation:function(strProjectId,succeededCallback, failedCallback, userContext) {
/// <param name="strProjectId" 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(), 'GetProjectInformation',false,{strProjectId:strProjectId},succeededCallback,failedCallback,userContext); },
ClearProjectInformation: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(), 'ClearProjectInformation',false,{},succeededCallback,failedCallback,userContext); },
GetFlightLines:function(strProjectId,succeededCallback, failedCallback, userContext) {
/// <param name="strProjectId" 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(), 'GetFlightLines',false,{strProjectId:strProjectId},succeededCallback,failedCallback,userContext); },
GetExposuresInBounds:function(strProjectId,mapLowLat,mapHighLat,mapLowLong,mapHighLong,SetType,SelectedIds,succeededCallback, failedCallback, userContext) {
/// <param name="strProjectId" type="String">System.String</param>
/// <param name="mapLowLat" type="Number">System.Double</param>
/// <param name="mapHighLat" type="Number">System.Double</param>
/// <param name="mapLowLong" type="Number">System.Double</param>
/// <param name="mapHighLong" type="Number">System.Double</param>
/// <param name="SetType" type="String">System.String</param>
/// <param name="SelectedIds" 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(), '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) {
/// <param name="LatDiff" type="Number">System.Double</param>
/// <param name="LongDiff" type="Number">System.Double</param>
/// <param name="PointLat" type="Number">System.Double</param>
/// <param name="PointLong" type="Number">System.Double</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(), 'GetCoverageAreaOLD',false,{LatDiff:LatDiff,LongDiff:LongDiff,PointLat:PointLat,PointLong:PointLong},succeededCallback,failedCallback,userContext); },
GetCoverageArea:function(ProjId,expId,succeededCallback, failedCallback, userContext) {
/// <param name="ProjId" type="String">System.String</param>
/// <param name="expId" 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(), 'GetCoverageArea',false,{ProjId:ProjId,expId:expId},succeededCallback,failedCallback,userContext); },
GetExposuresInBox:function(StartLat,StartLong,EndLat,EndLong,strProjectId,intZoomLevel,SetMode,blnGiveAlert,succeededCallback, failedCallback, userContext) {
/// <param name="StartLat" type="Number">System.Double</param>
/// <param name="StartLong" type="Number">System.Double</param>
/// <param name="EndLat" type="Number">System.Double</param>
/// <param name="EndLong" type="Number">System.Double</param>
/// <param name="strProjectId" type="String">System.String</param>
/// <param name="intZoomLevel" type="Number">System.Int32</param>
/// <param name="SetMode" type="String">System.String</param>
/// <param name="blnGiveAlert" type="Boolean">System.Boolean</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(), '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) {
/// <param name="MyPoints" type="Array">KeyView.VELatLong[]</param>
/// <param name="strProjectId" type="String">System.String</param>
/// <param name="intZoomLevel" type="Number">System.Int32</param>
/// <param name="SetMode" 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(), 'GetExposuresInPolygon',false,{MyPoints:MyPoints,strProjectId:strProjectId,intZoomLevel:intZoomLevel,SetMode:SetMode},succeededCallback,failedCallback,userContext); },
FindProjectsInShape:function(strBounding,State,succeededCallback, failedCallback, userContext) {
/// <param name="strBounding" type="String">System.String</param>
/// <param name="State" 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(), 'FindProjectsInShape',false,{strBounding:strBounding,State:State},succeededCallback,failedCallback,userContext); },
FindProjectsInShape_MultiPolygon:function(strPolyPoints,State,succeededCallback, failedCallback, userContext) {
/// <param name="strPolyPoints" type="String">System.String</param>
/// <param name="State" 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(), '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) {
KeyView.ImageRetrievalService._staticInstance.set_path(value); }
KeyView.ImageRetrievalService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return KeyView.ImageRetrievalService._staticInstance.get_path();}
KeyView.ImageRetrievalService.set_timeout = function(value) {
KeyView.ImageRetrievalService._staticInstance.set_timeout(value); }
KeyView.ImageRetrievalService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return KeyView.ImageRetrievalService._staticInstance.get_timeout(); }
KeyView.ImageRetrievalService.set_defaultUserContext = function(value) { 
KeyView.ImageRetrievalService._staticInstance.set_defaultUserContext(value); }
KeyView.ImageRetrievalService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return KeyView.ImageRetrievalService._staticInstance.get_defaultUserContext(); }
KeyView.ImageRetrievalService.set_defaultSucceededCallback = function(value) { 
 KeyView.ImageRetrievalService._staticInstance.set_defaultSucceededCallback(value); }
KeyView.ImageRetrievalService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return KeyView.ImageRetrievalService._staticInstance.get_defaultSucceededCallback(); }
KeyView.ImageRetrievalService.set_defaultFailedCallback = function(value) { 
KeyView.ImageRetrievalService._staticInstance.set_defaultFailedCallback(value); }
KeyView.ImageRetrievalService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return KeyView.ImageRetrievalService._staticInstance.get_defaultFailedCallback(); }
KeyView.ImageRetrievalService.set_path("/WebServices/ImageRetrievalService.asmx");
KeyView.ImageRetrievalService.InitializeNewProject= function(strProjectId,CenterLat,CenterLong,Zoom,onSuccess,onFailed,userContext) {
/// <param name="strProjectId" type="String">System.String</param>
/// <param name="CenterLat" type="String">System.String</param>
/// <param name="CenterLong" type="String">System.String</param>
/// <param name="Zoom" 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>
KeyView.ImageRetrievalService._staticInstance.InitializeNewProject(strProjectId,CenterLat,CenterLong,Zoom,onSuccess,onFailed,userContext); }
KeyView.ImageRetrievalService.GetProjectBounds= function(strProjectId,CenterLat,CenterLong,Zoom,onSuccess,onFailed,userContext) {
/// <param name="strProjectId" type="String">System.String</param>
/// <param name="CenterLat" type="String">System.String</param>
/// <param name="CenterLong" type="String">System.String</param>
/// <param name="Zoom" 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>
KeyView.ImageRetrievalService._staticInstance.GetProjectBounds(strProjectId,CenterLat,CenterLong,Zoom,onSuccess,onFailed,userContext); }
KeyView.ImageRetrievalService.GetAllProjects= 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>
KeyView.ImageRetrievalService._staticInstance.GetAllProjects(onSuccess,onFailed,userContext); }
KeyView.ImageRetrievalService.GetProjectInfo= function(strProjectId,onSuccess,onFailed,userContext) {
/// <param name="strProjectId" 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>
KeyView.ImageRetrievalService._staticInstance.GetProjectInfo(strProjectId,onSuccess,onFailed,userContext); }
KeyView.ImageRetrievalService.GetProjectByBounds= 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>
KeyView.ImageRetrievalService._staticInstance.GetProjectByBounds(onSuccess,onFailed,userContext); }
KeyView.ImageRetrievalService.GetProjectInformation= function(strProjectId,onSuccess,onFailed,userContext) {
/// <param name="strProjectId" 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>
KeyView.ImageRetrievalService._staticInstance.GetProjectInformation(strProjectId,onSuccess,onFailed,userContext); }
KeyView.ImageRetrievalService.ClearProjectInformation= 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>
KeyView.ImageRetrievalService._staticInstance.ClearProjectInformation(onSuccess,onFailed,userContext); }
KeyView.ImageRetrievalService.GetFlightLines= function(strProjectId,onSuccess,onFailed,userContext) {
/// <param name="strProjectId" 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>
KeyView.ImageRetrievalService._staticInstance.GetFlightLines(strProjectId,onSuccess,onFailed,userContext); }
KeyView.ImageRetrievalService.GetExposuresInBounds= function(strProjectId,mapLowLat,mapHighLat,mapLowLong,mapHighLong,SetType,SelectedIds,onSuccess,onFailed,userContext) {
/// <param name="strProjectId" type="String">System.String</param>
/// <param name="mapLowLat" type="Number">System.Double</param>
/// <param name="mapHighLat" type="Number">System.Double</param>
/// <param name="mapLowLong" type="Number">System.Double</param>
/// <param name="mapHighLong" type="Number">System.Double</param>
/// <param name="SetType" type="String">System.String</param>
/// <param name="SelectedIds" 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>
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) {
/// <param name="LatDiff" type="Number">System.Double</param>
/// <param name="LongDiff" type="Number">System.Double</param>
/// <param name="PointLat" type="Number">System.Double</param>
/// <param name="PointLong" type="Number">System.Double</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>
KeyView.ImageRetrievalService._staticInstance.GetCoverageAreaOLD(LatDiff,LongDiff,PointLat,PointLong,onSuccess,onFailed,userContext); }
KeyView.ImageRetrievalService.GetCoverageArea= function(ProjId,expId,onSuccess,onFailed,userContext) {
/// <param name="ProjId" type="String">System.String</param>
/// <param name="expId" 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>
KeyView.ImageRetrievalService._staticInstance.GetCoverageArea(ProjId,expId,onSuccess,onFailed,userContext); }
KeyView.ImageRetrievalService.GetExposuresInBox= function(StartLat,StartLong,EndLat,EndLong,strProjectId,intZoomLevel,SetMode,blnGiveAlert,onSuccess,onFailed,userContext) {
/// <param name="StartLat" type="Number">System.Double</param>
/// <param name="StartLong" type="Number">System.Double</param>
/// <param name="EndLat" type="Number">System.Double</param>
/// <param name="EndLong" type="Number">System.Double</param>
/// <param name="strProjectId" type="String">System.String</param>
/// <param name="intZoomLevel" type="Number">System.Int32</param>
/// <param name="SetMode" type="String">System.String</param>
/// <param name="blnGiveAlert" type="Boolean">System.Boolean</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>
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) {
/// <param name="MyPoints" type="Array">KeyView.VELatLong[]</param>
/// <param name="strProjectId" type="String">System.String</param>
/// <param name="intZoomLevel" type="Number">System.Int32</param>
/// <param name="SetMode" 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>
KeyView.ImageRetrievalService._staticInstance.GetExposuresInPolygon(MyPoints,strProjectId,intZoomLevel,SetMode,onSuccess,onFailed,userContext); }
KeyView.ImageRetrievalService.FindProjectsInShape= function(strBounding,State,onSuccess,onFailed,userContext) {
/// <param name="strBounding" type="String">System.String</param>
/// <param name="State" 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>
KeyView.ImageRetrievalService._staticInstance.FindProjectsInShape(strBounding,State,onSuccess,onFailed,userContext); }
KeyView.ImageRetrievalService.FindProjectsInShape_MultiPolygon= function(strPolyPoints,State,onSuccess,onFailed,userContext) {
/// <param name="strPolyPoints" type="String">System.String</param>
/// <param name="State" 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>
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');
}

