var HRService=function() {
HRService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
HRService.prototype={
HelloWorld:function(succeededCallback, failedCallback, userContext) {
return this._invoke(HRService.get_path(), 'HelloWorld',false,{},succeededCallback,failedCallback,userContext); },
InsertStat:function(iRegionId,strStatMonth,strStatYear,strInsertDate,iStatCount,succeededCallback, failedCallback, userContext) {
return this._invoke(HRService.get_path(), 'InsertStat',false,{iRegionId:iRegionId,strStatMonth:strStatMonth,strStatYear:strStatYear,strInsertDate:strInsertDate,iStatCount:iStatCount},succeededCallback,failedCallback,userContext); },
GetAllRegions:function(succeededCallback, failedCallback, userContext) {
return this._invoke(HRService.get_path(), 'GetAllRegions',false,{},succeededCallback,failedCallback,userContext); },
GetLastTwoMaonthsDataByRegionAndYear:function(strRegionName,strYear,succeededCallback, failedCallback, userContext) {
return this._invoke(HRService.get_path(), 'GetLastTwoMaonthsDataByRegionAndYear',false,{strRegionName:strRegionName,strYear:strYear},succeededCallback,failedCallback,userContext); },
UpdateStatByStatID:function(iPer,iApproxCount,iPerMin,iMonthStartCounter,statid,succeededCallback, failedCallback, userContext) {
return this._invoke(HRService.get_path(), 'UpdateStatByStatID',false,{iPer:iPer,iApproxCount:iApproxCount,iPerMin:iPerMin,iMonthStartCounter:iMonthStartCounter,statid:statid},succeededCallback,failedCallback,userContext); },
GetLatestDataByRegion:function(strRegionName,succeededCallback, failedCallback, userContext) {
return this._invoke(HRService.get_path(), 'GetLatestDataByRegion',false,{strRegionName:strRegionName},succeededCallback,failedCallback,userContext); },
GetCurrentCountByDate_Cont:function(strInsertDate,iPerMin,iCurrentCount,iRegionID,succeededCallback, failedCallback, userContext) {
return this._invoke(HRService.get_path(), 'GetCurrentCountByDate_Cont',false,{strInsertDate:strInsertDate,iPerMin:iPerMin,iCurrentCount:iCurrentCount,iRegionID:iRegionID},succeededCallback,failedCallback,userContext); },
GetCurrentCountByDate:function(strInsertDate,iPerMin,iCurrentCount,iRegionID,succeededCallback, failedCallback, userContext) {
return this._invoke(HRService.get_path(), 'GetCurrentCountByDate',false,{strInsertDate:strInsertDate,iPerMin:iPerMin,iCurrentCount:iCurrentCount,iRegionID:iRegionID},succeededCallback,failedCallback,userContext); },
GetWorldStatsByYearAndMonth:function(strMonth,strYear,succeededCallback, failedCallback, userContext) {
return this._invoke(HRService.get_path(), 'GetWorldStatsByYearAndMonth',false,{strMonth:strMonth,strYear:strYear},succeededCallback,failedCallback,userContext); },
GetWorldStatsByYearAndMonthOut:function(succeededCallback, failedCallback, userContext) {
return this._invoke(HRService.get_path(), 'GetWorldStatsByYearAndMonthOut',false,{},succeededCallback,failedCallback,userContext); },
SendEmail:function(strFrom,strTo,strSub,strBody,succeededCallback, failedCallback, userContext) {
return this._invoke(HRService.get_path(), 'SendEmail',false,{strFrom:strFrom,strTo:strTo,strSub:strSub,strBody:strBody},succeededCallback,failedCallback,userContext); },
GettotalActualCountByRegionID:function(iRegionID,succeededCallback, failedCallback, userContext) {
return this._invoke(HRService.get_path(), 'GettotalActualCountByRegionID',false,{iRegionID:iRegionID},succeededCallback,failedCallback,userContext); },
UserLogin:function(strEmailID,strUserPassword,succeededCallback, failedCallback, userContext) {
return this._invoke(HRService.get_path(), 'UserLogin',false,{strEmailID:strEmailID,strUserPassword:strUserPassword},succeededCallback,failedCallback,userContext); },
GetLatestDataByRegionAndMonthAndYear:function(strRegionName,strMonth,strYear,succeededCallback, failedCallback, userContext) {
return this._invoke(HRService.get_path(), 'GetLatestDataByRegionAndMonthAndYear',false,{strRegionName:strRegionName,strMonth:strMonth,strYear:strYear},succeededCallback,failedCallback,userContext); },
GetWorldcountStatByMonthAndYear:function(strMonth,strYear,succeededCallback, failedCallback, userContext) {
return this._invoke(HRService.get_path(), 'GetWorldcountStatByMonthAndYear',false,{strMonth:strMonth,strYear:strYear},succeededCallback,failedCallback,userContext); },
InsertWorldCount:function(strMonth,strYear,strCount,strPerMin,succeededCallback, failedCallback, userContext) {
return this._invoke(HRService.get_path(), 'InsertWorldCount',false,{strMonth:strMonth,strYear:strYear,strCount:strCount,strPerMin:strPerMin},succeededCallback,failedCallback,userContext); },
UpdateWorldCount:function(strMonth,strYear,strCount,succeededCallback, failedCallback, userContext) {
return this._invoke(HRService.get_path(), 'UpdateWorldCount',false,{strMonth:strMonth,strYear:strYear,strCount:strCount},succeededCallback,failedCallback,userContext); },
CheckWorldCountDataByMonthAndYear:function(strMonth,strYear,succeededCallback, failedCallback, userContext) {
return this._invoke(HRService.get_path(), 'CheckWorldCountDataByMonthAndYear',false,{strMonth:strMonth,strYear:strYear},succeededCallback,failedCallback,userContext); },
GetCurrentHRByCountryName:function(strCountryName,succeededCallback, failedCallback, userContext) {
return this._invoke(HRService.get_path(), 'GetCurrentHRByCountryName',false,{strCountryName:strCountryName},succeededCallback,failedCallback,userContext); },
GetCurrentLocaltimeByCountryName:function(strCountryName,succeededCallback, failedCallback, userContext) {
return this._invoke(HRService.get_path(), 'GetCurrentLocaltimeByCountryName',false,{strCountryName:strCountryName},succeededCallback,failedCallback,userContext); }}
HRService.registerClass('HRService',Sys.Net.WebServiceProxy);
HRService._staticInstance = new HRService();
HRService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; HRService._staticInstance._path = value; }
HRService.get_path = function() { return HRService._staticInstance._path; }
HRService.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); }
HRService._staticInstance._timeout = value; }
HRService.get_timeout = function() { 
return HRService._staticInstance._timeout; }
HRService.set_defaultUserContext = function(value) { 
HRService._staticInstance._userContext = value; }
HRService.get_defaultUserContext = function() { 
return HRService._staticInstance._userContext; }
HRService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; HRService._staticInstance._succeeded = value; }
HRService.get_defaultSucceededCallback = function() { 
return HRService._staticInstance._succeeded; }
HRService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; HRService._staticInstance._failed = value; }
HRService.get_defaultFailedCallback = function() { 
return HRService._staticInstance._failed; }
HRService.set_path("/HRService.asmx");
HRService.HelloWorld= function(onSuccess,onFailed,userContext) {HRService._staticInstance.HelloWorld(onSuccess,onFailed,userContext); }
HRService.InsertStat= function(iRegionId,strStatMonth,strStatYear,strInsertDate,iStatCount,onSuccess,onFailed,userContext) {HRService._staticInstance.InsertStat(iRegionId,strStatMonth,strStatYear,strInsertDate,iStatCount,onSuccess,onFailed,userContext); }
HRService.GetAllRegions= function(onSuccess,onFailed,userContext) {HRService._staticInstance.GetAllRegions(onSuccess,onFailed,userContext); }
HRService.GetLastTwoMaonthsDataByRegionAndYear= function(strRegionName,strYear,onSuccess,onFailed,userContext) {HRService._staticInstance.GetLastTwoMaonthsDataByRegionAndYear(strRegionName,strYear,onSuccess,onFailed,userContext); }
HRService.UpdateStatByStatID= function(iPer,iApproxCount,iPerMin,iMonthStartCounter,statid,onSuccess,onFailed,userContext) {HRService._staticInstance.UpdateStatByStatID(iPer,iApproxCount,iPerMin,iMonthStartCounter,statid,onSuccess,onFailed,userContext); }
HRService.GetLatestDataByRegion= function(strRegionName,onSuccess,onFailed,userContext) {HRService._staticInstance.GetLatestDataByRegion(strRegionName,onSuccess,onFailed,userContext); }
HRService.GetCurrentCountByDate_Cont= function(strInsertDate,iPerMin,iCurrentCount,iRegionID,onSuccess,onFailed,userContext) {HRService._staticInstance.GetCurrentCountByDate_Cont(strInsertDate,iPerMin,iCurrentCount,iRegionID,onSuccess,onFailed,userContext); }
HRService.GetCurrentCountByDate= function(strInsertDate,iPerMin,iCurrentCount,iRegionID,onSuccess,onFailed,userContext) {HRService._staticInstance.GetCurrentCountByDate(strInsertDate,iPerMin,iCurrentCount,iRegionID,onSuccess,onFailed,userContext); }
HRService.GetWorldStatsByYearAndMonth= function(strMonth,strYear,onSuccess,onFailed,userContext) {HRService._staticInstance.GetWorldStatsByYearAndMonth(strMonth,strYear,onSuccess,onFailed,userContext); }
HRService.GetWorldStatsByYearAndMonthOut= function(onSuccess,onFailed,userContext) {HRService._staticInstance.GetWorldStatsByYearAndMonthOut(onSuccess,onFailed,userContext); }
HRService.SendEmail= function(strFrom,strTo,strSub,strBody,onSuccess,onFailed,userContext) {HRService._staticInstance.SendEmail(strFrom,strTo,strSub,strBody,onSuccess,onFailed,userContext); }
HRService.GettotalActualCountByRegionID= function(iRegionID,onSuccess,onFailed,userContext) {HRService._staticInstance.GettotalActualCountByRegionID(iRegionID,onSuccess,onFailed,userContext); }
HRService.UserLogin= function(strEmailID,strUserPassword,onSuccess,onFailed,userContext) {HRService._staticInstance.UserLogin(strEmailID,strUserPassword,onSuccess,onFailed,userContext); }
HRService.GetLatestDataByRegionAndMonthAndYear= function(strRegionName,strMonth,strYear,onSuccess,onFailed,userContext) {HRService._staticInstance.GetLatestDataByRegionAndMonthAndYear(strRegionName,strMonth,strYear,onSuccess,onFailed,userContext); }
HRService.GetWorldcountStatByMonthAndYear= function(strMonth,strYear,onSuccess,onFailed,userContext) {HRService._staticInstance.GetWorldcountStatByMonthAndYear(strMonth,strYear,onSuccess,onFailed,userContext); }
HRService.InsertWorldCount= function(strMonth,strYear,strCount,strPerMin,onSuccess,onFailed,userContext) {HRService._staticInstance.InsertWorldCount(strMonth,strYear,strCount,strPerMin,onSuccess,onFailed,userContext); }
HRService.UpdateWorldCount= function(strMonth,strYear,strCount,onSuccess,onFailed,userContext) {HRService._staticInstance.UpdateWorldCount(strMonth,strYear,strCount,onSuccess,onFailed,userContext); }
HRService.CheckWorldCountDataByMonthAndYear= function(strMonth,strYear,onSuccess,onFailed,userContext) {HRService._staticInstance.CheckWorldCountDataByMonthAndYear(strMonth,strYear,onSuccess,onFailed,userContext); }
HRService.GetCurrentHRByCountryName= function(strCountryName,onSuccess,onFailed,userContext) {HRService._staticInstance.GetCurrentHRByCountryName(strCountryName,onSuccess,onFailed,userContext); }
HRService.GetCurrentLocaltimeByCountryName= function(strCountryName,onSuccess,onFailed,userContext) {HRService._staticInstance.GetCurrentLocaltimeByCountryName(strCountryName,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('System.Data');
if (typeof(System.Data.DataSet) === 'undefined') {
System.Data.DataSet=gtc("System.Data.DataSet");
System.Data.DataSet.registerClass('System.Data.DataSet');
}
