var ComService=function() {
ComService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ComService.prototype={
HelloWorld:function(succeededCallback, failedCallback, userContext) {
return this._invoke(ComService.get_path(), 'HelloWorld',false,{},succeededCallback,failedCallback,userContext); },
SaveCompany:function(enty,succeededCallback, failedCallback, userContext) {
return this._invoke(ComService.get_path(), 'SaveCompany',false,{enty:enty},succeededCallback,failedCallback,userContext); },
AddCompany:function(enty,succeededCallback, failedCallback, userContext) {
return this._invoke(ComService.get_path(), 'AddCompany',false,{enty:enty},succeededCallback,failedCallback,userContext); },
GetCompany:function(ComUserID,ComLangCate,succeededCallback, failedCallback, userContext) {
return this._invoke(ComService.get_path(), 'GetCompany',false,{ComUserID:ComUserID,ComLangCate:ComLangCate},succeededCallback,failedCallback,userContext); },
CreateNewCompany:function(succeededCallback, failedCallback, userContext) {
return this._invoke(ComService.get_path(), 'CreateNewCompany',false,{},succeededCallback,failedCallback,userContext); },
Exists:function(ComUserID,ComLangCate,succeededCallback, failedCallback, userContext) {
return this._invoke(ComService.get_path(), 'Exists',false,{ComUserID:ComUserID,ComLangCate:ComLangCate},succeededCallback,failedCallback,userContext); },
CheckComUser:function(userNm,userPwd,n,succeededCallback, failedCallback, userContext) {
return this._invoke(ComService.get_path(), 'CheckComUser',false,{userNm:userNm,userPwd:userPwd,n:n},succeededCallback,failedCallback,userContext); }}
ComService.registerClass('ComService',Sys.Net.WebServiceProxy);
ComService._staticInstance = new ComService();
ComService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; ComService._staticInstance._path = value; }
ComService.get_path = function() { return ComService._staticInstance._path; }
ComService.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); }
ComService._staticInstance._timeout = value; }
ComService.get_timeout = function() { 
return ComService._staticInstance._timeout; }
ComService.set_defaultUserContext = function(value) { 
ComService._staticInstance._userContext = value; }
ComService.get_defaultUserContext = function() { 
return ComService._staticInstance._userContext; }
ComService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; ComService._staticInstance._succeeded = value; }
ComService.get_defaultSucceededCallback = function() { 
return ComService._staticInstance._succeeded; }
ComService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; ComService._staticInstance._failed = value; }
ComService.get_defaultFailedCallback = function() { 
return ComService._staticInstance._failed; }
ComService.set_path("/Services/ComService.asmx");
ComService.HelloWorld= function(onSuccess,onFailed,userContext) {ComService._staticInstance.HelloWorld(onSuccess,onFailed,userContext); }
ComService.SaveCompany= function(enty,onSuccess,onFailed,userContext) {ComService._staticInstance.SaveCompany(enty,onSuccess,onFailed,userContext); }
ComService.AddCompany= function(enty,onSuccess,onFailed,userContext) {ComService._staticInstance.AddCompany(enty,onSuccess,onFailed,userContext); }
ComService.GetCompany= function(ComUserID,ComLangCate,onSuccess,onFailed,userContext) {ComService._staticInstance.GetCompany(ComUserID,ComLangCate,onSuccess,onFailed,userContext); }
ComService.CreateNewCompany= function(onSuccess,onFailed,userContext) {ComService._staticInstance.CreateNewCompany(onSuccess,onFailed,userContext); }
ComService.Exists= function(ComUserID,ComLangCate,onSuccess,onFailed,userContext) {ComService._staticInstance.Exists(ComUserID,ComLangCate,onSuccess,onFailed,userContext); }
ComService.CheckComUser= function(userNm,userPwd,n,onSuccess,onFailed,userContext) {ComService._staticInstance.CheckComUser(userNm,userPwd,n,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('jnoc.Model.comuserIt');
if (typeof(jnoc.Model.comuserIt.Company) === 'undefined') {
jnoc.Model.comuserIt.Company=gtc("jnoc.Model.comuserIt.Company");
jnoc.Model.comuserIt.Company.registerClass('jnoc.Model.comuserIt.Company');
}
