var TransectService=function() {
TransectService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
TransectService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return TransectService._staticInstance.get_path();},
SetItemUpdate:function(notes,TransectItemId,succeededCallback, failedCallback, userContext) {
/// <param name="notes" type="String">System.String</param>
/// <param name="TransectItemId" type="String">System.Guid</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(), 'SetItemUpdate',false,{notes:notes,TransectItemId:TransectItemId},succeededCallback,failedCallback,userContext); },
SetAddressUpdate:function(address,TransectItemId,succeededCallback, failedCallback, userContext) {
/// <param name="address" type="String">System.String</param>
/// <param name="TransectItemId" type="String">System.Guid</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(), 'SetAddressUpdate',false,{address:address,TransectItemId:TransectItemId},succeededCallback,failedCallback,userContext); },
SetRateUpdate:function(rateCom,TransectItemId,succeededCallback, failedCallback, userContext) {
/// <param name="rateCom" type="String">System.String</param>
/// <param name="TransectItemId" type="String">System.Guid</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(), 'SetRateUpdate',false,{rateCom:rateCom,TransectItemId:TransectItemId},succeededCallback,failedCallback,userContext); },
SetRateStar:function(rateStar,TransectItemId,succeededCallback, failedCallback, userContext) {
/// <param name="rateStar" type="Number">System.Int32</param>
/// <param name="TransectItemId" type="String">System.Guid</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(), 'SetRateStar',false,{rateStar:rateStar,TransectItemId:TransectItemId},succeededCallback,failedCallback,userContext); },
GetTransect:function(transectId,succeededCallback, failedCallback, userContext) {
/// <param name="transectId" type="String">System.Guid</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(), 'GetTransect',false,{transectId:transectId},succeededCallback,failedCallback,userContext); },
GetLondon:function(Id,succeededCallback, failedCallback, userContext) {
/// <param name="Id" 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(), 'GetLondon',false,{Id:Id},succeededCallback,failedCallback,userContext); },
GetTransectItems:function(ReportId,succeededCallback, failedCallback, userContext) {
/// <param name="ReportId" type="String">System.Guid</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(), 'GetTransectItems',false,{ReportId:ReportId},succeededCallback,failedCallback,userContext); },
GetTransects: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(), 'GetTransects',false,{},succeededCallback,failedCallback,userContext); },
GetUserTransects: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(), 'GetUserTransects',false,{},succeededCallback,failedCallback,userContext); },
GetUserAuthorityTransects: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(), 'GetUserAuthorityTransects',false,{},succeededCallback,failedCallback,userContext); },
GetTrees: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(), 'GetTrees',false,{},succeededCallback,failedCallback,userContext); },
GetUSATransects: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(), 'GetUSATransects',false,{},succeededCallback,failedCallback,userContext); },
GetJAMTransects: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(), 'GetJAMTransects',false,{},succeededCallback,failedCallback,userContext); },
GetUKTransects: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(), 'GetUKTransects',false,{},succeededCallback,failedCallback,userContext); },
GetWardTransects: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(), 'GetWardTransects',false,{},succeededCallback,failedCallback,userContext); },
GetCrofton: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(), 'GetCrofton',false,{},succeededCallback,failedCallback,userContext); },
GetCroftonByDate:function(month,succeededCallback, failedCallback, userContext) {
/// <param name="month" 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(), 'GetCroftonByDate',false,{month:month},succeededCallback,failedCallback,userContext); },
GetApiItems: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(), 'GetApiItems',false,{},succeededCallback,failedCallback,userContext); }}
TransectService.registerClass('TransectService',Sys.Net.WebServiceProxy);
TransectService._staticInstance = new TransectService();
TransectService.set_path = function(value) {
TransectService._staticInstance.set_path(value); }
TransectService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return TransectService._staticInstance.get_path();}
TransectService.set_timeout = function(value) {
TransectService._staticInstance.set_timeout(value); }
TransectService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return TransectService._staticInstance.get_timeout(); }
TransectService.set_defaultUserContext = function(value) { 
TransectService._staticInstance.set_defaultUserContext(value); }
TransectService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return TransectService._staticInstance.get_defaultUserContext(); }
TransectService.set_defaultSucceededCallback = function(value) { 
 TransectService._staticInstance.set_defaultSucceededCallback(value); }
TransectService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return TransectService._staticInstance.get_defaultSucceededCallback(); }
TransectService.set_defaultFailedCallback = function(value) { 
TransectService._staticInstance.set_defaultFailedCallback(value); }
TransectService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return TransectService._staticInstance.get_defaultFailedCallback(); }
TransectService.set_path("/TransectService.svc");
TransectService.SetItemUpdate= function(notes,TransectItemId,onSuccess,onFailed,userContext) {
/// <param name="notes" type="String">System.String</param>
/// <param name="TransectItemId" type="String">System.Guid</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>
TransectService._staticInstance.SetItemUpdate(notes,TransectItemId,onSuccess,onFailed,userContext); }
TransectService.SetAddressUpdate= function(address,TransectItemId,onSuccess,onFailed,userContext) {
/// <param name="address" type="String">System.String</param>
/// <param name="TransectItemId" type="String">System.Guid</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>
TransectService._staticInstance.SetAddressUpdate(address,TransectItemId,onSuccess,onFailed,userContext); }
TransectService.SetRateUpdate= function(rateCom,TransectItemId,onSuccess,onFailed,userContext) {
/// <param name="rateCom" type="String">System.String</param>
/// <param name="TransectItemId" type="String">System.Guid</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>
TransectService._staticInstance.SetRateUpdate(rateCom,TransectItemId,onSuccess,onFailed,userContext); }
TransectService.SetRateStar= function(rateStar,TransectItemId,onSuccess,onFailed,userContext) {
/// <param name="rateStar" type="Number">System.Int32</param>
/// <param name="TransectItemId" type="String">System.Guid</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>
TransectService._staticInstance.SetRateStar(rateStar,TransectItemId,onSuccess,onFailed,userContext); }
TransectService.GetTransect= function(transectId,onSuccess,onFailed,userContext) {
/// <param name="transectId" type="String">System.Guid</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>
TransectService._staticInstance.GetTransect(transectId,onSuccess,onFailed,userContext); }
TransectService.GetLondon= function(Id,onSuccess,onFailed,userContext) {
/// <param name="Id" 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>
TransectService._staticInstance.GetLondon(Id,onSuccess,onFailed,userContext); }
TransectService.GetTransectItems= function(ReportId,onSuccess,onFailed,userContext) {
/// <param name="ReportId" type="String">System.Guid</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>
TransectService._staticInstance.GetTransectItems(ReportId,onSuccess,onFailed,userContext); }
TransectService.GetTransects= 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>
TransectService._staticInstance.GetTransects(onSuccess,onFailed,userContext); }
TransectService.GetUserTransects= 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>
TransectService._staticInstance.GetUserTransects(onSuccess,onFailed,userContext); }
TransectService.GetUserAuthorityTransects= 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>
TransectService._staticInstance.GetUserAuthorityTransects(onSuccess,onFailed,userContext); }
TransectService.GetTrees= 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>
TransectService._staticInstance.GetTrees(onSuccess,onFailed,userContext); }
TransectService.GetUSATransects= 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>
TransectService._staticInstance.GetUSATransects(onSuccess,onFailed,userContext); }
TransectService.GetJAMTransects= 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>
TransectService._staticInstance.GetJAMTransects(onSuccess,onFailed,userContext); }
TransectService.GetUKTransects= 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>
TransectService._staticInstance.GetUKTransects(onSuccess,onFailed,userContext); }
TransectService.GetWardTransects= 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>
TransectService._staticInstance.GetWardTransects(onSuccess,onFailed,userContext); }
TransectService.GetCrofton= 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>
TransectService._staticInstance.GetCrofton(onSuccess,onFailed,userContext); }
TransectService.GetCroftonByDate= function(month,onSuccess,onFailed,userContext) {
/// <param name="month" 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>
TransectService._staticInstance.GetCroftonByDate(month,onSuccess,onFailed,userContext); }
TransectService.GetApiItems= 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>
TransectService._staticInstance.GetApiItems(onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(Transect) === 'undefined') {
var Transect=gtc("Transect:http://schemas.datacontract.org/2004/07/");
Transect.registerClass('Transect');
}
if (typeof(TransectItem) === 'undefined') {
var TransectItem=gtc("TransectItem:http://schemas.datacontract.org/2004/07/");
TransectItem.registerClass('TransectItem');
}
if (typeof(TransectItemTag) === 'undefined') {
var TransectItemTag=gtc("TransectItemTag:http://schemas.datacontract.org/2004/07/");
TransectItemTag.registerClass('TransectItemTag');
}
if (typeof(Tag) === 'undefined') {
var Tag=gtc("Tag:http://schemas.datacontract.org/2004/07/");
Tag.registerClass('Tag');
}
if (typeof(aspnet_User) === 'undefined') {
var aspnet_User=gtc("aspnet_User:http://schemas.datacontract.org/2004/07/");
aspnet_User.registerClass('aspnet_User');
}
if (typeof(UserProfile) === 'undefined') {
var UserProfile=gtc("UserProfile:http://schemas.datacontract.org/2004/07/");
UserProfile.registerClass('UserProfile');
}
if (typeof(aspnet_Membership) === 'undefined') {
var aspnet_Membership=gtc("aspnet_Membership:http://schemas.datacontract.org/2004/07/");
aspnet_Membership.registerClass('aspnet_Membership');
}
Type.registerNamespace('System.Data.Linq');
if (typeof(System.Data.Linq.Binary) === 'undefined') {
System.Data.Linq.Binary=gtc("Binary:http://schemas.datacontract.org/2004/07/System.Data.Linq");
System.Data.Linq.Binary.registerClass('System.Data.Linq.Binary');
}
if (typeof(ClientReportItem) === 'undefined') {
var ClientReportItem=gtc("ClientReportItem:http://schemas.datacontract.org/2004/07/");
ClientReportItem.registerClass('ClientReportItem');
}
if (typeof(ClientTransectItem) === 'undefined') {
var ClientTransectItem=gtc("ClientTransectItem:http://schemas.datacontract.org/2004/07/");
ClientTransectItem.registerClass('ClientTransectItem');
}
if (typeof(TreesItem) === 'undefined') {
var TreesItem=gtc("TreesItem:http://schemas.datacontract.org/2004/07/");
TreesItem.registerClass('TreesItem');
}
if (typeof(LLItem) === 'undefined') {
var LLItem=gtc("LLItem:http://schemas.datacontract.org/2004/07/");
LLItem.registerClass('LLItem');
}
Type.registerNamespace('LCSAPI.DataContracts');
if (typeof(LCSAPI.DataContracts.DetailedClientReportItem) === 'undefined') {
LCSAPI.DataContracts.DetailedClientReportItem=gtc("DetailedClientReportItem:http://schemas.datacontract.org/2004/07/LCSAPI.DataContracts");
LCSAPI.DataContracts.DetailedClientReportItem.registerClass('LCSAPI.DataContracts.DetailedClientReportItem');
}
if (typeof(LCSAPI.DataContracts.ClientReportItem) === 'undefined') {
LCSAPI.DataContracts.ClientReportItem=gtc("ClientReportItem:http://schemas.datacontract.org/2004/07/LCSAPI.DataContracts");
LCSAPI.DataContracts.ClientReportItem.registerClass('LCSAPI.DataContracts.ClientReportItem');
}
