Type.registerNamespace('MsgWebservice');
MsgWebservice.Local=function() {
MsgWebservice.Local.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
MsgWebservice.Local.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return MsgWebservice.Local._staticInstance.get_path();},
getUserName:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getUserName',false,{},succeededCallback,failedCallback,userContext); },
addMsg:function(msg,GLat,GLng,MsgType,MsgImg,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'addMsg',false,{msg:msg,GLat:GLat,GLng:GLng,MsgType:MsgType,MsgImg:MsgImg},succeededCallback,failedCallback,userContext); },
deleteMsg:function(ID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'deleteMsg',false,{ID:ID},succeededCallback,failedCallback,userContext); },
getMsg:function(NELat,NELng,SWLat,SWLng,UserName,UserNameForFriend,Page,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getMsg',false,{NELat:NELat,NELng:NELng,SWLat:SWLat,SWLng:SWLng,UserName:UserName,UserNameForFriend:UserNameForFriend,Page:Page},succeededCallback,failedCallback,userContext); },
addMyLocation:function(Name,NELat,NELng,SWLat,SWLng,Zoom,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'addMyLocation',false,{Name:Name,NELat:NELat,NELng:NELng,SWLat:SWLat,SWLng:SWLng,Zoom:Zoom},succeededCallback,failedCallback,userContext); },
removeMyLocation:function(ID,LIID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'removeMyLocation',false,{ID:ID,LIID:LIID},succeededCallback,failedCallback,userContext); },
addFriendInfo:function(UserName,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'addFriendInfo',false,{UserName:UserName},succeededCallback,failedCallback,userContext); },
removeFriendInfo:function(UserName,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'removeFriendInfo',false,{UserName:UserName},succeededCallback,failedCallback,userContext); }}
MsgWebservice.Local.registerClass('MsgWebservice.Local',Sys.Net.WebServiceProxy);
MsgWebservice.Local._staticInstance = new MsgWebservice.Local();
MsgWebservice.Local.set_path = function(value) { MsgWebservice.Local._staticInstance.set_path(value); }
MsgWebservice.Local.get_path = function() { return MsgWebservice.Local._staticInstance.get_path(); }
MsgWebservice.Local.set_timeout = function(value) { MsgWebservice.Local._staticInstance.set_timeout(value); }
MsgWebservice.Local.get_timeout = function() { return MsgWebservice.Local._staticInstance.get_timeout(); }
MsgWebservice.Local.set_defaultUserContext = function(value) { MsgWebservice.Local._staticInstance.set_defaultUserContext(value); }
MsgWebservice.Local.get_defaultUserContext = function() { return MsgWebservice.Local._staticInstance.get_defaultUserContext(); }
MsgWebservice.Local.set_defaultSucceededCallback = function(value) { MsgWebservice.Local._staticInstance.set_defaultSucceededCallback(value); }
MsgWebservice.Local.get_defaultSucceededCallback = function() { return MsgWebservice.Local._staticInstance.get_defaultSucceededCallback(); }
MsgWebservice.Local.set_defaultFailedCallback = function(value) { MsgWebservice.Local._staticInstance.set_defaultFailedCallback(value); }
MsgWebservice.Local.get_defaultFailedCallback = function() { return MsgWebservice.Local._staticInstance.get_defaultFailedCallback(); }
MsgWebservice.Local.set_path("/Webservices/Local.asmx");
MsgWebservice.Local.getUserName= function(onSuccess,onFailed,userContext) {MsgWebservice.Local._staticInstance.getUserName(onSuccess,onFailed,userContext); }
MsgWebservice.Local.addMsg= function(msg,GLat,GLng,MsgType,MsgImg,onSuccess,onFailed,userContext) {MsgWebservice.Local._staticInstance.addMsg(msg,GLat,GLng,MsgType,MsgImg,onSuccess,onFailed,userContext); }
MsgWebservice.Local.deleteMsg= function(ID,onSuccess,onFailed,userContext) {MsgWebservice.Local._staticInstance.deleteMsg(ID,onSuccess,onFailed,userContext); }
MsgWebservice.Local.getMsg= function(NELat,NELng,SWLat,SWLng,UserName,UserNameForFriend,Page,onSuccess,onFailed,userContext) {MsgWebservice.Local._staticInstance.getMsg(NELat,NELng,SWLat,SWLng,UserName,UserNameForFriend,Page,onSuccess,onFailed,userContext); }
MsgWebservice.Local.addMyLocation= function(Name,NELat,NELng,SWLat,SWLng,Zoom,onSuccess,onFailed,userContext) {MsgWebservice.Local._staticInstance.addMyLocation(Name,NELat,NELng,SWLat,SWLng,Zoom,onSuccess,onFailed,userContext); }
MsgWebservice.Local.removeMyLocation= function(ID,LIID,onSuccess,onFailed,userContext) {MsgWebservice.Local._staticInstance.removeMyLocation(ID,LIID,onSuccess,onFailed,userContext); }
MsgWebservice.Local.addFriendInfo= function(UserName,onSuccess,onFailed,userContext) {MsgWebservice.Local._staticInstance.addFriendInfo(UserName,onSuccess,onFailed,userContext); }
MsgWebservice.Local.removeFriendInfo= function(UserName,onSuccess,onFailed,userContext) {MsgWebservice.Local._staticInstance.removeFriendInfo(UserName,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('MyBiz');
if (typeof(MyBiz.Msg) === 'undefined') {
MyBiz.Msg=gtc("MyBiz.Msg");
MyBiz.Msg.registerClass('MyBiz.Msg');
}
