Type.registerNamespace('GrowUpEdu.Web.Service');
GrowUpEdu.Web.Service.Calendar=function() {
GrowUpEdu.Web.Service.Calendar.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
GrowUpEdu.Web.Service.Calendar.prototype={
HelloWorld:function(succeededCallback, failedCallback, userContext) {
return this._invoke(GrowUpEdu.Web.Service.Calendar.get_path(), 'HelloWorld',false,{},succeededCallback,failedCallback,userContext); },
HitDay:function(y,m,d,objectId,dns,moreMenuId,type,succeededCallback, failedCallback, userContext) {
return this._invoke(GrowUpEdu.Web.Service.Calendar.get_path(), 'HitDay',false,{y:y,m:m,d:d,objectId:objectId,dns:dns,moreMenuId:moreMenuId,type:type},succeededCallback,failedCallback,userContext); },
HitMonth:function(y,m,direction,type,objectId,succeededCallback, failedCallback, userContext) {
return this._invoke(GrowUpEdu.Web.Service.Calendar.get_path(), 'HitMonth',false,{y:y,m:m,direction:direction,type:type,objectId:objectId},succeededCallback,failedCallback,userContext); }}
GrowUpEdu.Web.Service.Calendar.registerClass('GrowUpEdu.Web.Service.Calendar',Sys.Net.WebServiceProxy);
GrowUpEdu.Web.Service.Calendar._staticInstance = new GrowUpEdu.Web.Service.Calendar();
GrowUpEdu.Web.Service.Calendar.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; GrowUpEdu.Web.Service.Calendar._staticInstance._path = value; }
GrowUpEdu.Web.Service.Calendar.get_path = function() { return GrowUpEdu.Web.Service.Calendar._staticInstance._path; }
GrowUpEdu.Web.Service.Calendar.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
GrowUpEdu.Web.Service.Calendar._staticInstance._timeout = value; }
GrowUpEdu.Web.Service.Calendar.get_timeout = function() { 
return GrowUpEdu.Web.Service.Calendar._staticInstance._timeout; }
GrowUpEdu.Web.Service.Calendar.set_defaultUserContext = function(value) { 
GrowUpEdu.Web.Service.Calendar._staticInstance._userContext = value; }
GrowUpEdu.Web.Service.Calendar.get_defaultUserContext = function() { 
return GrowUpEdu.Web.Service.Calendar._staticInstance._userContext; }
GrowUpEdu.Web.Service.Calendar.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; GrowUpEdu.Web.Service.Calendar._staticInstance._succeeded = value; }
GrowUpEdu.Web.Service.Calendar.get_defaultSucceededCallback = function() { 
return GrowUpEdu.Web.Service.Calendar._staticInstance._succeeded; }
GrowUpEdu.Web.Service.Calendar.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; GrowUpEdu.Web.Service.Calendar._staticInstance._failed = value; }
GrowUpEdu.Web.Service.Calendar.get_defaultFailedCallback = function() { 
return GrowUpEdu.Web.Service.Calendar._staticInstance._failed; }
GrowUpEdu.Web.Service.Calendar.set_path("/Service/Calendar.asmx");
GrowUpEdu.Web.Service.Calendar.HelloWorld= function(onSuccess,onFailed,userContext) {GrowUpEdu.Web.Service.Calendar._staticInstance.HelloWorld(onSuccess,onFailed,userContext); }
GrowUpEdu.Web.Service.Calendar.HitDay= function(y,m,d,objectId,dns,moreMenuId,type,onSuccess,onFailed,userContext) {GrowUpEdu.Web.Service.Calendar._staticInstance.HitDay(y,m,d,objectId,dns,moreMenuId,type,onSuccess,onFailed,userContext); }
GrowUpEdu.Web.Service.Calendar.HitMonth= function(y,m,direction,type,objectId,onSuccess,onFailed,userContext) {GrowUpEdu.Web.Service.Calendar._staticInstance.HitMonth(y,m,direction,type,objectId,onSuccess,onFailed,userContext); }
