var WayPointServices=function() {
WayPointServices.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
WayPointServices.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return WayPointServices._staticInstance.get_path();},
AddNew:function(trID,lat,lng,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddNew',false,{trID:trID,lat:lat,lng:lng},succeededCallback,failedCallback,userContext); },
RenderWPGallery:function(trID,isFirst,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'RenderWPGallery',false,{trID:trID,isFirst:isFirst},succeededCallback,failedCallback,userContext); },
DeleteWayPoint:function(trID,wpID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DeleteWayPoint',false,{trID:trID,wpID:wpID},succeededCallback,failedCallback,userContext); },
DeleteWPTh:function(wpID,thRstID,renderTh,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DeleteWPTh',false,{wpID:wpID,thRstID:thRstID,renderTh:renderTh},succeededCallback,failedCallback,userContext); },
RenderWPEditor:function(trID,wpID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'RenderWPEditor',false,{trID:trID,wpID:wpID},succeededCallback,failedCallback,userContext); },
GetWPList:function(trID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetWPList',false,{trID:trID},succeededCallback,failedCallback,userContext); },
GetWPDialog:function(wpID,focusedMediaRstID,trID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetWPDialog',false,{wpID:wpID,focusedMediaRstID:focusedMediaRstID,trID:trID},succeededCallback,failedCallback,userContext); },
GetWPThGallery:function(wpID,scrolltoEnd,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetWPThGallery',false,{wpID:wpID,scrolltoEnd:scrolltoEnd},succeededCallback,failedCallback,userContext); },
UpdateWP:function(wpID,wpTitle,description,tpID,caption,isSelectable,isEditable,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'UpdateWP',false,{wpID:wpID,wpTitle:wpTitle,description:description,tpID:tpID,caption:caption,isSelectable:isSelectable,isEditable:isEditable},succeededCallback,failedCallback,userContext); },
GetWPAllImageList:function(trID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetWPAllImageList',false,{trID:trID},succeededCallback,failedCallback,userContext); },
ModifyWayPointCoord:function(wpID,lat,lng,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ModifyWayPointCoord',false,{wpID:wpID,lat:lat,lng:lng},succeededCallback,failedCallback,userContext); },
AddWP:function(trID,lat,lng,wpTitle,description,tpID,caption,isSelectable,isEditable,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddWP',false,{trID:trID,lat:lat,lng:lng,wpTitle:wpTitle,description:description,tpID:tpID,caption:caption,isSelectable:isSelectable,isEditable:isEditable},succeededCallback,failedCallback,userContext); }}
WayPointServices.registerClass('WayPointServices',Sys.Net.WebServiceProxy);
WayPointServices._staticInstance = new WayPointServices();
WayPointServices.set_path = function(value) { WayPointServices._staticInstance.set_path(value); }
WayPointServices.get_path = function() { return WayPointServices._staticInstance.get_path(); }
WayPointServices.set_timeout = function(value) { WayPointServices._staticInstance.set_timeout(value); }
WayPointServices.get_timeout = function() { return WayPointServices._staticInstance.get_timeout(); }
WayPointServices.set_defaultUserContext = function(value) { WayPointServices._staticInstance.set_defaultUserContext(value); }
WayPointServices.get_defaultUserContext = function() { return WayPointServices._staticInstance.get_defaultUserContext(); }
WayPointServices.set_defaultSucceededCallback = function(value) { WayPointServices._staticInstance.set_defaultSucceededCallback(value); }
WayPointServices.get_defaultSucceededCallback = function() { return WayPointServices._staticInstance.get_defaultSucceededCallback(); }
WayPointServices.set_defaultFailedCallback = function(value) { WayPointServices._staticInstance.set_defaultFailedCallback(value); }
WayPointServices.get_defaultFailedCallback = function() { return WayPointServices._staticInstance.get_defaultFailedCallback(); }
WayPointServices.set_enableJsonp = function(value) { WayPointServices._staticInstance.set_enableJsonp(value); }
WayPointServices.get_enableJsonp = function() { return WayPointServices._staticInstance.get_enableJsonp(); }
WayPointServices.set_jsonpCallbackParameter = function(value) { WayPointServices._staticInstance.set_jsonpCallbackParameter(value); }
WayPointServices.get_jsonpCallbackParameter = function() { return WayPointServices._staticInstance.get_jsonpCallbackParameter(); }
WayPointServices.set_path("/Modules/WayPoint/WayPointServices.asmx");
WayPointServices.AddNew= function(trID,lat,lng,onSuccess,onFailed,userContext) {WayPointServices._staticInstance.AddNew(trID,lat,lng,onSuccess,onFailed,userContext); }
WayPointServices.RenderWPGallery= function(trID,isFirst,onSuccess,onFailed,userContext) {WayPointServices._staticInstance.RenderWPGallery(trID,isFirst,onSuccess,onFailed,userContext); }
WayPointServices.DeleteWayPoint= function(trID,wpID,onSuccess,onFailed,userContext) {WayPointServices._staticInstance.DeleteWayPoint(trID,wpID,onSuccess,onFailed,userContext); }
WayPointServices.DeleteWPTh= function(wpID,thRstID,renderTh,onSuccess,onFailed,userContext) {WayPointServices._staticInstance.DeleteWPTh(wpID,thRstID,renderTh,onSuccess,onFailed,userContext); }
WayPointServices.RenderWPEditor= function(trID,wpID,onSuccess,onFailed,userContext) {WayPointServices._staticInstance.RenderWPEditor(trID,wpID,onSuccess,onFailed,userContext); }
WayPointServices.GetWPList= function(trID,onSuccess,onFailed,userContext) {WayPointServices._staticInstance.GetWPList(trID,onSuccess,onFailed,userContext); }
WayPointServices.GetWPDialog= function(wpID,focusedMediaRstID,trID,onSuccess,onFailed,userContext) {WayPointServices._staticInstance.GetWPDialog(wpID,focusedMediaRstID,trID,onSuccess,onFailed,userContext); }
WayPointServices.GetWPThGallery= function(wpID,scrolltoEnd,onSuccess,onFailed,userContext) {WayPointServices._staticInstance.GetWPThGallery(wpID,scrolltoEnd,onSuccess,onFailed,userContext); }
WayPointServices.UpdateWP= function(wpID,wpTitle,description,tpID,caption,isSelectable,isEditable,onSuccess,onFailed,userContext) {WayPointServices._staticInstance.UpdateWP(wpID,wpTitle,description,tpID,caption,isSelectable,isEditable,onSuccess,onFailed,userContext); }
WayPointServices.GetWPAllImageList= function(trID,onSuccess,onFailed,userContext) {WayPointServices._staticInstance.GetWPAllImageList(trID,onSuccess,onFailed,userContext); }
WayPointServices.ModifyWayPointCoord= function(wpID,lat,lng,onSuccess,onFailed,userContext) {WayPointServices._staticInstance.ModifyWayPointCoord(wpID,lat,lng,onSuccess,onFailed,userContext); }
WayPointServices.AddWP= function(trID,lat,lng,wpTitle,description,tpID,caption,isSelectable,isEditable,onSuccess,onFailed,userContext) {WayPointServices._staticInstance.AddWP(trID,lat,lng,wpTitle,description,tpID,caption,isSelectable,isEditable,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('Geo.Track.Site.Manager');
if (typeof(Geo.Track.Site.Manager.WayPointEditorJSON) === 'undefined') {
Geo.Track.Site.Manager.WayPointEditorJSON=gtc("Geo.Track.Site.Manager.WayPointEditorJSON");
Geo.Track.Site.Manager.WayPointEditorJSON.registerClass('Geo.Track.Site.Manager.WayPointEditorJSON');
}
if (typeof(ParamObject) === 'undefined') {
var ParamObject=gtc("ParamObject");
ParamObject.registerClass('ParamObject');
}

