var WebDocument=function() {
WebDocument.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
WebDocument.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return WebDocument._staticInstance.get_path();},
UpdateDownTime:function(itemId,downTime,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'UpdateDownTime',false,{itemId:itemId,downTime:downTime},succeededCallback,failedCallback,userContext); },
GetByCategoryIdsByPage:function(preDescription,categoryIds,pageSize,pageNumber,countWord,pageUrlMore,_showDate,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetByCategoryIdsByPage',false,{preDescription:preDescription,categoryIds:categoryIds,pageSize:pageSize,pageNumber:pageNumber,countWord:countWord,pageUrlMore:pageUrlMore,_showDate:_showDate},succeededCallback,failedCallback,userContext); },
GetDescriptionByModuleIdAndTyepId_Normal:function(moduleId,typeId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetDescriptionByModuleIdAndTyepId_Normal',false,{moduleId:moduleId,typeId:typeId},succeededCallback,failedCallback,userContext); }}
WebDocument.registerClass('WebDocument',Sys.Net.WebServiceProxy);
WebDocument._staticInstance = new WebDocument();
WebDocument.set_path = function(value) { WebDocument._staticInstance.set_path(value); }
WebDocument.get_path = function() { return WebDocument._staticInstance.get_path(); }
WebDocument.set_timeout = function(value) { WebDocument._staticInstance.set_timeout(value); }
WebDocument.get_timeout = function() { return WebDocument._staticInstance.get_timeout(); }
WebDocument.set_defaultUserContext = function(value) { WebDocument._staticInstance.set_defaultUserContext(value); }
WebDocument.get_defaultUserContext = function() { return WebDocument._staticInstance.get_defaultUserContext(); }
WebDocument.set_defaultSucceededCallback = function(value) { WebDocument._staticInstance.set_defaultSucceededCallback(value); }
WebDocument.get_defaultSucceededCallback = function() { return WebDocument._staticInstance.get_defaultSucceededCallback(); }
WebDocument.set_defaultFailedCallback = function(value) { WebDocument._staticInstance.set_defaultFailedCallback(value); }
WebDocument.get_defaultFailedCallback = function() { return WebDocument._staticInstance.get_defaultFailedCallback(); }
WebDocument.set_path("/WebService/WebDocument.asmx");
WebDocument.UpdateDownTime= function(itemId,downTime,onSuccess,onFailed,userContext) {WebDocument._staticInstance.UpdateDownTime(itemId,downTime,onSuccess,onFailed,userContext); }
WebDocument.GetByCategoryIdsByPage= function(preDescription,categoryIds,pageSize,pageNumber,countWord,pageUrlMore,_showDate,onSuccess,onFailed,userContext) {WebDocument._staticInstance.GetByCategoryIdsByPage(preDescription,categoryIds,pageSize,pageNumber,countWord,pageUrlMore,_showDate,onSuccess,onFailed,userContext); }
WebDocument.GetDescriptionByModuleIdAndTyepId_Normal= function(moduleId,typeId,onSuccess,onFailed,userContext) {WebDocument._staticInstance.GetDescriptionByModuleIdAndTyepId_Normal(moduleId,typeId,onSuccess,onFailed,userContext); }
