Type.registerNamespace('ShurWeb.WebServices');
ShurWeb.WebServices.MapShapes=function() {
ShurWeb.WebServices.MapShapes.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ShurWeb.WebServices.MapShapes.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return ShurWeb.WebServices.MapShapes._staticInstance.get_path();},
GetMapItem:function(id,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetMapItem',false,{id:id},succeededCallback,failedCallback,userContext); },
AddEditMapShape:function(shapeType,shape,eventTypeSettingsList,colour,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddEditMapShape',false,{shapeType:shapeType,shape:shape,eventTypeSettingsList:eventTypeSettingsList,colour:colour},succeededCallback,failedCallback,userContext); },
DeleteMapShape:function(shape,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DeleteMapShape',false,{shape:shape},succeededCallback,failedCallback,userContext); },
GetMapShapeEventTypeSettings:function(mapShapeID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetMapShapeEventTypeSettings',false,{mapShapeID:mapShapeID},succeededCallback,failedCallback,userContext); }}
ShurWeb.WebServices.MapShapes.registerClass('ShurWeb.WebServices.MapShapes',Sys.Net.WebServiceProxy);
ShurWeb.WebServices.MapShapes._staticInstance = new ShurWeb.WebServices.MapShapes();
ShurWeb.WebServices.MapShapes.set_path = function(value) { ShurWeb.WebServices.MapShapes._staticInstance.set_path(value); }
ShurWeb.WebServices.MapShapes.get_path = function() { return ShurWeb.WebServices.MapShapes._staticInstance.get_path(); }
ShurWeb.WebServices.MapShapes.set_timeout = function(value) { ShurWeb.WebServices.MapShapes._staticInstance.set_timeout(value); }
ShurWeb.WebServices.MapShapes.get_timeout = function() { return ShurWeb.WebServices.MapShapes._staticInstance.get_timeout(); }
ShurWeb.WebServices.MapShapes.set_defaultUserContext = function(value) { ShurWeb.WebServices.MapShapes._staticInstance.set_defaultUserContext(value); }
ShurWeb.WebServices.MapShapes.get_defaultUserContext = function() { return ShurWeb.WebServices.MapShapes._staticInstance.get_defaultUserContext(); }
ShurWeb.WebServices.MapShapes.set_defaultSucceededCallback = function(value) { ShurWeb.WebServices.MapShapes._staticInstance.set_defaultSucceededCallback(value); }
ShurWeb.WebServices.MapShapes.get_defaultSucceededCallback = function() { return ShurWeb.WebServices.MapShapes._staticInstance.get_defaultSucceededCallback(); }
ShurWeb.WebServices.MapShapes.set_defaultFailedCallback = function(value) { ShurWeb.WebServices.MapShapes._staticInstance.set_defaultFailedCallback(value); }
ShurWeb.WebServices.MapShapes.get_defaultFailedCallback = function() { return ShurWeb.WebServices.MapShapes._staticInstance.get_defaultFailedCallback(); }
ShurWeb.WebServices.MapShapes.set_enableJsonp = function(value) { ShurWeb.WebServices.MapShapes._staticInstance.set_enableJsonp(value); }
ShurWeb.WebServices.MapShapes.get_enableJsonp = function() { return ShurWeb.WebServices.MapShapes._staticInstance.get_enableJsonp(); }
ShurWeb.WebServices.MapShapes.set_jsonpCallbackParameter = function(value) { ShurWeb.WebServices.MapShapes._staticInstance.set_jsonpCallbackParameter(value); }
ShurWeb.WebServices.MapShapes.get_jsonpCallbackParameter = function() { return ShurWeb.WebServices.MapShapes._staticInstance.get_jsonpCallbackParameter(); }
ShurWeb.WebServices.MapShapes.set_path("/WebServices/AddEditMapShapes.asmx");
ShurWeb.WebServices.MapShapes.GetMapItem= function(id,onSuccess,onFailed,userContext) {ShurWeb.WebServices.MapShapes._staticInstance.GetMapItem(id,onSuccess,onFailed,userContext); }
ShurWeb.WebServices.MapShapes.AddEditMapShape= function(shapeType,shape,eventTypeSettingsList,colour,onSuccess,onFailed,userContext) {ShurWeb.WebServices.MapShapes._staticInstance.AddEditMapShape(shapeType,shape,eventTypeSettingsList,colour,onSuccess,onFailed,userContext); }
ShurWeb.WebServices.MapShapes.DeleteMapShape= function(shape,onSuccess,onFailed,userContext) {ShurWeb.WebServices.MapShapes._staticInstance.DeleteMapShape(shape,onSuccess,onFailed,userContext); }
ShurWeb.WebServices.MapShapes.GetMapShapeEventTypeSettings= function(mapShapeID,onSuccess,onFailed,userContext) {ShurWeb.WebServices.MapShapes._staticInstance.GetMapShapeEventTypeSettings(mapShapeID,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(ShurWeb.WebServices.jsMapShape) === 'undefined') {
ShurWeb.WebServices.jsMapShape=gtc("ShurWeb.WebServices.jsMapShape");
ShurWeb.WebServices.jsMapShape.registerClass('ShurWeb.WebServices.jsMapShape');
}
if (typeof(ShurWeb.WebServices.jsGeoFenceData) === 'undefined') {
ShurWeb.WebServices.jsGeoFenceData=gtc("ShurWeb.WebServices.jsGeoFenceData");
ShurWeb.WebServices.jsGeoFenceData.registerClass('ShurWeb.WebServices.jsGeoFenceData');
}
