var miscService=function() {
miscService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
miscService.prototype={
InitialSearch:function(tlx,tly,brx,bry,succeededCallback, failedCallback, userContext) {
return this._invoke(miscService.get_path(), 'InitialSearch',false,{tlx:tlx,tly:tly,brx:brx,bry:bry},succeededCallback,failedCallback,userContext); },
SearchData:function(tlx,tly,brx,bry,crop,buyer,grade,succeededCallback, failedCallback, userContext) {
return this._invoke(miscService.get_path(), 'SearchData',false,{tlx:tlx,tly:tly,brx:brx,bry:bry,crop:crop,buyer:buyer,grade:grade},succeededCallback,failedCallback,userContext); },
RefineSearch:function(crop,buyer,grade,succeededCallback, failedCallback, userContext) {
return this._invoke(miscService.get_path(), 'RefineSearch',false,{crop:crop,buyer:buyer,grade:grade},succeededCallback,failedCallback,userContext); },
SearchFutures:function(succeededCallback, failedCallback, userContext) {
return this._invoke(miscService.get_path(), 'SearchFutures',false,{},succeededCallback,failedCallback,userContext); },
SearchExchangeRates:function(succeededCallback, failedCallback, userContext) {
return this._invoke(miscService.get_path(), 'SearchExchangeRates',false,{},succeededCallback,failedCallback,userContext); },
SearchFinancials:function(succeededCallback, failedCallback, userContext) {
return this._invoke(miscService.get_path(), 'SearchFinancials',false,{},succeededCallback,failedCallback,userContext); },
SearchKeyRural:function(succeededCallback, failedCallback, userContext) {
return this._invoke(miscService.get_path(), 'SearchKeyRural',false,{},succeededCallback,failedCallback,userContext); },
SearchSpotCash:function(succeededCallback, failedCallback, userContext) {
return this._invoke(miscService.get_path(), 'SearchSpotCash',false,{},succeededCallback,failedCallback,userContext); },
SearchHighestPortPrices:function(state,succeededCallback, failedCallback, userContext) {
return this._invoke(miscService.get_path(), 'SearchHighestPortPrices',false,{state:state},succeededCallback,failedCallback,userContext); },
SearchPointData:function(x,y,pixelDegreeRatio,succeededCallback, failedCallback, userContext) {
return this._invoke(miscService.get_path(), 'SearchPointData',false,{x:x,y:y,pixelDegreeRatio:pixelDegreeRatio},succeededCallback,failedCallback,userContext); },
SearchSpreads:function(cropType,buyer,port_zone,season,succeededCallback, failedCallback, userContext) {
return this._invoke(miscService.get_path(), 'SearchSpreads',false,{cropType:cropType,buyer:buyer,port_zone:port_zone,season:season},succeededCallback,failedCallback,userContext); },
SortSiloPriceTable:function(columnIndex,pageIndex,sortDir,succeededCallback, failedCallback, userContext) {
return this._invoke(miscService.get_path(), 'SortSiloPriceTable',false,{columnIndex:columnIndex,pageIndex:pageIndex,sortDir:sortDir},succeededCallback,failedCallback,userContext); },
SortSiteTable:function(columnIndex,succeededCallback, failedCallback, userContext) {
return this._invoke(miscService.get_path(), 'SortSiteTable',false,{columnIndex:columnIndex},succeededCallback,failedCallback,userContext); },
SortPortPriceTable:function(columnIndex,pageIndex,sortDir,succeededCallback, failedCallback, userContext) {
return this._invoke(miscService.get_path(), 'SortPortPriceTable',false,{columnIndex:columnIndex,pageIndex:pageIndex,sortDir:sortDir},succeededCallback,failedCallback,userContext); },
SortPortSiteTable:function(columnIndex,succeededCallback, failedCallback, userContext) {
return this._invoke(miscService.get_path(), 'SortPortSiteTable',false,{columnIndex:columnIndex},succeededCallback,failedCallback,userContext); },
SortGenericTable:function(name,columnIndex,succeededCallback, failedCallback, userContext) {
return this._invoke(miscService.get_path(), 'SortGenericTable',false,{name:name,columnIndex:columnIndex},succeededCallback,failedCallback,userContext); },
GetUserPointsList:function(editId,reloadGeography,succeededCallback, failedCallback, userContext) {
return this._invoke(miscService.get_path(), 'GetUserPointsList',false,{editId:editId,reloadGeography:reloadGeography},succeededCallback,failedCallback,userContext); },
InsertPoint:function(latitude,longitude,name,address,succeededCallback, failedCallback, userContext) {
return this._invoke(miscService.get_path(), 'InsertPoint',false,{latitude:latitude,longitude:longitude,name:name,address:address},succeededCallback,failedCallback,userContext); },
UpdatePoint:function(gid,latitude,longitude,name,address,succeededCallback, failedCallback, userContext) {
return this._invoke(miscService.get_path(), 'UpdatePoint',false,{gid:gid,latitude:latitude,longitude:longitude,name:name,address:address},succeededCallback,failedCallback,userContext); },
DeletePoint:function(gid,succeededCallback, failedCallback, userContext) {
return this._invoke(miscService.get_path(), 'DeletePoint',false,{gid:gid},succeededCallback,failedCallback,userContext); },
QualityInc:function(buyer,croptype,grade,p,s,m,qualLinkId,succeededCallback, failedCallback, userContext) {
return this._invoke(miscService.get_path(), 'QualityInc',false,{buyer:buyer,croptype:croptype,grade:grade,p:p,s:s,m:m,qualLinkId:qualLinkId},succeededCallback,failedCallback,userContext); },
QualityDef:function(cropType,grade,succeededCallback, failedCallback, userContext) {
return this._invoke(miscService.get_path(), 'QualityDef',false,{cropType:cropType,grade:grade},succeededCallback,failedCallback,userContext); },
GetDistance:function(lat1,long1,lat2,long2,freight1,freight2,distLinkId,siteName,succeededCallback, failedCallback, userContext) {
return this._invoke(miscService.get_path(), 'GetDistance',false,{lat1:lat1,long1:long1,lat2:lat2,long2:long2,freight1:freight1,freight2:freight2,distLinkId:distLinkId,siteName:siteName},succeededCallback,failedCallback,userContext); },
GetPortnoViadistance:function(lat1,long1,lat2,long2,freight1,freight2,distLinkId,siteName,succeededCallback, failedCallback, userContext) {
return this._invoke(miscService.get_path(), 'GetPortnoViadistance',false,{lat1:lat1,long1:long1,lat2:lat2,long2:long2,freight1:freight1,freight2:freight2,distLinkId:distLinkId,siteName:siteName},succeededCallback,failedCallback,userContext); },
GetPortViaNACMAdistance:function(lat1,long1,lat2,long2,freight1,freight2,Via,distLinkId,siteName,succeededCallback, failedCallback, userContext) {
return this._invoke(miscService.get_path(), 'GetPortViaNACMAdistance',false,{lat1:lat1,long1:long1,lat2:lat2,long2:long2,freight1:freight1,freight2:freight2,Via:Via,distLinkId:distLinkId,siteName:siteName},succeededCallback,failedCallback,userContext); },
GetPortViaOtherdistance:function(lat1,long1,lat2,long2,freight1,freight2,Via,freight3,freight4,distLinkId,siteName,succeededCallback, failedCallback, userContext) {
return this._invoke(miscService.get_path(), 'GetPortViaOtherdistance',false,{lat1:lat1,long1:long1,lat2:lat2,long2:long2,freight1:freight1,freight2:freight2,Via:Via,freight3:freight3,freight4:freight4,distLinkId:distLinkId,siteName:siteName},succeededCallback,failedCallback,userContext); },
GeocodeAddress:function(address,succeededCallback, failedCallback, userContext) {
return this._invoke(miscService.get_path(), 'GeocodeAddress',false,{address:address},succeededCallback,failedCallback,userContext); },
UpdateSessionVariable:function(key,value,succeededCallback, failedCallback, userContext) {
return this._invoke(miscService.get_path(), 'UpdateSessionVariable',false,{key:key,value:value},succeededCallback,failedCallback,userContext); },
UpdateExtents:function(tlx,tly,brx,bry,succeededCallback, failedCallback, userContext) {
return this._invoke(miscService.get_path(), 'UpdateExtents',false,{tlx:tlx,tly:tly,brx:brx,bry:bry},succeededCallback,failedCallback,userContext); },
CheckSiteLimit:function(tlx,tly,brx,bry,succeededCallback, failedCallback, userContext) {
return this._invoke(miscService.get_path(), 'CheckSiteLimit',false,{tlx:tlx,tly:tly,brx:brx,bry:bry},succeededCallback,failedCallback,userContext); },
GetDropDownContents:function(knownCategoryValues,category,succeededCallback, failedCallback, userContext) {
return this._invoke(miscService.get_path(), 'GetDropDownContents',false,{knownCategoryValues:knownCategoryValues,category:category},succeededCallback,failedCallback,userContext); },
SendExportEmail:function(address,tab,succeededCallback, failedCallback, userContext) {
return this._invoke(miscService.get_path(), 'SendExportEmail',false,{address:address,tab:tab},succeededCallback,failedCallback,userContext); },
CheckUserExists:function(username,succeededCallback, failedCallback, userContext) {
return this._invoke(miscService.get_path(), 'CheckUserExists',false,{username:username},succeededCallback,failedCallback,userContext); },
QueryFeature:function(queryLayer,imgExtent,clickX,clickY,imgWidth,imgHeight,succeededCallback, failedCallback, userContext) {
return this._invoke(miscService.get_path(), 'QueryFeature',false,{queryLayer:queryLayer,imgExtent:imgExtent,clickX:clickX,clickY:clickY,imgWidth:imgWidth,imgHeight:imgHeight},succeededCallback,failedCallback,userContext); }}
miscService.registerClass('miscService',Sys.Net.WebServiceProxy);
miscService._staticInstance = new miscService();
miscService.set_path = function(value) { miscService._staticInstance._path = value; }
miscService.get_path = function() { return miscService._staticInstance._path; }
miscService.set_timeout = function(value) { miscService._staticInstance._timeout = value; }
miscService.get_timeout = function() { return miscService._staticInstance._timeout; }
miscService.set_defaultUserContext = function(value) { miscService._staticInstance._userContext = value; }
miscService.get_defaultUserContext = function() { return miscService._staticInstance._userContext; }
miscService.set_defaultSucceededCallback = function(value) { miscService._staticInstance._succeeded = value; }
miscService.get_defaultSucceededCallback = function() { return miscService._staticInstance._succeeded; }
miscService.set_defaultFailedCallback = function(value) { miscService._staticInstance._failed = value; }
miscService.get_defaultFailedCallback = function() { return miscService._staticInstance._failed; }
miscService.set_path("/Services/miscService.asmx");
miscService.InitialSearch= function(tlx,tly,brx,bry,onSuccess,onFailed,userContext) {miscService._staticInstance.InitialSearch(tlx,tly,brx,bry,onSuccess,onFailed,userContext); }
miscService.SearchData= function(tlx,tly,brx,bry,crop,buyer,grade,onSuccess,onFailed,userContext) {miscService._staticInstance.SearchData(tlx,tly,brx,bry,crop,buyer,grade,onSuccess,onFailed,userContext); }
miscService.RefineSearch= function(crop,buyer,grade,onSuccess,onFailed,userContext) {miscService._staticInstance.RefineSearch(crop,buyer,grade,onSuccess,onFailed,userContext); }
miscService.SearchFutures= function(onSuccess,onFailed,userContext) {miscService._staticInstance.SearchFutures(onSuccess,onFailed,userContext); }
miscService.SearchExchangeRates= function(onSuccess,onFailed,userContext) {miscService._staticInstance.SearchExchangeRates(onSuccess,onFailed,userContext); }
miscService.SearchFinancials= function(onSuccess,onFailed,userContext) {miscService._staticInstance.SearchFinancials(onSuccess,onFailed,userContext); }
miscService.SearchKeyRural= function(onSuccess,onFailed,userContext) {miscService._staticInstance.SearchKeyRural(onSuccess,onFailed,userContext); }
miscService.SearchSpotCash= function(onSuccess,onFailed,userContext) {miscService._staticInstance.SearchSpotCash(onSuccess,onFailed,userContext); }
miscService.SearchHighestPortPrices= function(state,onSuccess,onFailed,userContext) {miscService._staticInstance.SearchHighestPortPrices(state,onSuccess,onFailed,userContext); }
miscService.SearchPointData= function(x,y,pixelDegreeRatio,onSuccess,onFailed,userContext) {miscService._staticInstance.SearchPointData(x,y,pixelDegreeRatio,onSuccess,onFailed,userContext); }
miscService.SearchSpreads= function(cropType,buyer,port_zone,season,onSuccess,onFailed,userContext) {miscService._staticInstance.SearchSpreads(cropType,buyer,port_zone,season,onSuccess,onFailed,userContext); }
miscService.SortSiloPriceTable= function(columnIndex,pageIndex,sortDir,onSuccess,onFailed,userContext) {miscService._staticInstance.SortSiloPriceTable(columnIndex,pageIndex,sortDir,onSuccess,onFailed,userContext); }
miscService.SortSiteTable= function(columnIndex,onSuccess,onFailed,userContext) {miscService._staticInstance.SortSiteTable(columnIndex,onSuccess,onFailed,userContext); }
miscService.SortPortPriceTable= function(columnIndex,pageIndex,sortDir,onSuccess,onFailed,userContext) {miscService._staticInstance.SortPortPriceTable(columnIndex,pageIndex,sortDir,onSuccess,onFailed,userContext); }
miscService.SortPortSiteTable= function(columnIndex,onSuccess,onFailed,userContext) {miscService._staticInstance.SortPortSiteTable(columnIndex,onSuccess,onFailed,userContext); }
miscService.SortGenericTable= function(name,columnIndex,onSuccess,onFailed,userContext) {miscService._staticInstance.SortGenericTable(name,columnIndex,onSuccess,onFailed,userContext); }
miscService.GetUserPointsList= function(editId,reloadGeography,onSuccess,onFailed,userContext) {miscService._staticInstance.GetUserPointsList(editId,reloadGeography,onSuccess,onFailed,userContext); }
miscService.InsertPoint= function(latitude,longitude,name,address,onSuccess,onFailed,userContext) {miscService._staticInstance.InsertPoint(latitude,longitude,name,address,onSuccess,onFailed,userContext); }
miscService.UpdatePoint= function(gid,latitude,longitude,name,address,onSuccess,onFailed,userContext) {miscService._staticInstance.UpdatePoint(gid,latitude,longitude,name,address,onSuccess,onFailed,userContext); }
miscService.DeletePoint= function(gid,onSuccess,onFailed,userContext) {miscService._staticInstance.DeletePoint(gid,onSuccess,onFailed,userContext); }
miscService.QualityInc= function(buyer,croptype,grade,p,s,m,qualLinkId,onSuccess,onFailed,userContext) {miscService._staticInstance.QualityInc(buyer,croptype,grade,p,s,m,qualLinkId,onSuccess,onFailed,userContext); }
miscService.QualityDef= function(cropType,grade,onSuccess,onFailed,userContext) {miscService._staticInstance.QualityDef(cropType,grade,onSuccess,onFailed,userContext); }
miscService.GetDistance= function(lat1,long1,lat2,long2,freight1,freight2,distLinkId,siteName,onSuccess,onFailed,userContext) {miscService._staticInstance.GetDistance(lat1,long1,lat2,long2,freight1,freight2,distLinkId,siteName,onSuccess,onFailed,userContext); }
miscService.GetPortnoViadistance= function(lat1,long1,lat2,long2,freight1,freight2,distLinkId,siteName,onSuccess,onFailed,userContext) {miscService._staticInstance.GetPortnoViadistance(lat1,long1,lat2,long2,freight1,freight2,distLinkId,siteName,onSuccess,onFailed,userContext); }
miscService.GetPortViaNACMAdistance= function(lat1,long1,lat2,long2,freight1,freight2,Via,distLinkId,siteName,onSuccess,onFailed,userContext) {miscService._staticInstance.GetPortViaNACMAdistance(lat1,long1,lat2,long2,freight1,freight2,Via,distLinkId,siteName,onSuccess,onFailed,userContext); }
miscService.GetPortViaOtherdistance= function(lat1,long1,lat2,long2,freight1,freight2,Via,freight3,freight4,distLinkId,siteName,onSuccess,onFailed,userContext) {miscService._staticInstance.GetPortViaOtherdistance(lat1,long1,lat2,long2,freight1,freight2,Via,freight3,freight4,distLinkId,siteName,onSuccess,onFailed,userContext); }
miscService.GeocodeAddress= function(address,onSuccess,onFailed,userContext) {miscService._staticInstance.GeocodeAddress(address,onSuccess,onFailed,userContext); }
miscService.UpdateSessionVariable= function(key,value,onSuccess,onFailed,userContext) {miscService._staticInstance.UpdateSessionVariable(key,value,onSuccess,onFailed,userContext); }
miscService.UpdateExtents= function(tlx,tly,brx,bry,onSuccess,onFailed,userContext) {miscService._staticInstance.UpdateExtents(tlx,tly,brx,bry,onSuccess,onFailed,userContext); }
miscService.CheckSiteLimit= function(tlx,tly,brx,bry,onSuccess,onFailed,userContext) {miscService._staticInstance.CheckSiteLimit(tlx,tly,brx,bry,onSuccess,onFailed,userContext); }
miscService.GetDropDownContents= function(knownCategoryValues,category,onSuccess,onFailed,userContext) {miscService._staticInstance.GetDropDownContents(knownCategoryValues,category,onSuccess,onFailed,userContext); }
miscService.SendExportEmail= function(address,tab,onSuccess,onFailed,userContext) {miscService._staticInstance.SendExportEmail(address,tab,onSuccess,onFailed,userContext); }
miscService.CheckUserExists= function(username,onSuccess,onFailed,userContext) {miscService._staticInstance.CheckUserExists(username,onSuccess,onFailed,userContext); }
miscService.QueryFeature= function(queryLayer,imgExtent,clickX,clickY,imgWidth,imgHeight,onSuccess,onFailed,userContext) {miscService._staticInstance.QueryFeature(queryLayer,imgExtent,clickX,clickY,imgWidth,imgHeight,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(miscService_SearchResult) === 'undefined') {
var miscService_SearchResult=gtc("miscService+SearchResult");
miscService_SearchResult.registerClass('miscService_SearchResult');
}
if (typeof(miscService_PointsList) === 'undefined') {
var miscService_PointsList=gtc("miscService+PointsList");
miscService_PointsList.registerClass('miscService_PointsList');
}
if (typeof(Point) === 'undefined') {
var Point=gtc("Point");
Point.registerClass('Point');
}
if (typeof(miscService_SiteLimitResult) === 'undefined') {
var miscService_SiteLimitResult=gtc("miscService+SiteLimitResult");
miscService_SiteLimitResult.registerClass('miscService_SiteLimitResult');
}
Type.registerNamespace('AjaxControlToolkit');
if (typeof(AjaxControlToolkit.CascadingDropDownNameValue) === 'undefined') {
AjaxControlToolkit.CascadingDropDownNameValue=gtc("AjaxControlToolkit.CascadingDropDownNameValue");
AjaxControlToolkit.CascadingDropDownNameValue.registerClass('AjaxControlToolkit.CascadingDropDownNameValue');
}
if (typeof(miscService_QueryFeatureResult) === 'undefined') {
var miscService_QueryFeatureResult=gtc("miscService+QueryFeatureResult");
miscService_QueryFeatureResult.registerClass('miscService_QueryFeatureResult');
}

