Type.registerNamespace('Inett.templates_TAD.Units.Calculators.CurrencyExchangeCalc.Utils');
Inett.templates_TAD.Units.Calculators.CurrencyExchangeCalc.Utils.CurrencyExchangeCalcService=function() {
Inett.templates_TAD.Units.Calculators.CurrencyExchangeCalc.Utils.CurrencyExchangeCalcService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Inett.templates_TAD.Units.Calculators.CurrencyExchangeCalc.Utils.CurrencyExchangeCalcService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Inett.templates_TAD.Units.Calculators.CurrencyExchangeCalc.Utils.CurrencyExchangeCalcService._staticInstance.get_path();},
Calculate:function(amount,currency,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Calculate',false,{amount:amount,currency:currency},succeededCallback,failedCallback,userContext); }}
Inett.templates_TAD.Units.Calculators.CurrencyExchangeCalc.Utils.CurrencyExchangeCalcService.registerClass('Inett.templates_TAD.Units.Calculators.CurrencyExchangeCalc.Utils.CurrencyExchangeCalcService',Sys.Net.WebServiceProxy);
Inett.templates_TAD.Units.Calculators.CurrencyExchangeCalc.Utils.CurrencyExchangeCalcService._staticInstance = new Inett.templates_TAD.Units.Calculators.CurrencyExchangeCalc.Utils.CurrencyExchangeCalcService();
Inett.templates_TAD.Units.Calculators.CurrencyExchangeCalc.Utils.CurrencyExchangeCalcService.set_path = function(value) { Inett.templates_TAD.Units.Calculators.CurrencyExchangeCalc.Utils.CurrencyExchangeCalcService._staticInstance.set_path(value); }
Inett.templates_TAD.Units.Calculators.CurrencyExchangeCalc.Utils.CurrencyExchangeCalcService.get_path = function() { return Inett.templates_TAD.Units.Calculators.CurrencyExchangeCalc.Utils.CurrencyExchangeCalcService._staticInstance.get_path(); }
Inett.templates_TAD.Units.Calculators.CurrencyExchangeCalc.Utils.CurrencyExchangeCalcService.set_timeout = function(value) { Inett.templates_TAD.Units.Calculators.CurrencyExchangeCalc.Utils.CurrencyExchangeCalcService._staticInstance.set_timeout(value); }
Inett.templates_TAD.Units.Calculators.CurrencyExchangeCalc.Utils.CurrencyExchangeCalcService.get_timeout = function() { return Inett.templates_TAD.Units.Calculators.CurrencyExchangeCalc.Utils.CurrencyExchangeCalcService._staticInstance.get_timeout(); }
Inett.templates_TAD.Units.Calculators.CurrencyExchangeCalc.Utils.CurrencyExchangeCalcService.set_defaultUserContext = function(value) { Inett.templates_TAD.Units.Calculators.CurrencyExchangeCalc.Utils.CurrencyExchangeCalcService._staticInstance.set_defaultUserContext(value); }
Inett.templates_TAD.Units.Calculators.CurrencyExchangeCalc.Utils.CurrencyExchangeCalcService.get_defaultUserContext = function() { return Inett.templates_TAD.Units.Calculators.CurrencyExchangeCalc.Utils.CurrencyExchangeCalcService._staticInstance.get_defaultUserContext(); }
Inett.templates_TAD.Units.Calculators.CurrencyExchangeCalc.Utils.CurrencyExchangeCalcService.set_defaultSucceededCallback = function(value) { Inett.templates_TAD.Units.Calculators.CurrencyExchangeCalc.Utils.CurrencyExchangeCalcService._staticInstance.set_defaultSucceededCallback(value); }
Inett.templates_TAD.Units.Calculators.CurrencyExchangeCalc.Utils.CurrencyExchangeCalcService.get_defaultSucceededCallback = function() { return Inett.templates_TAD.Units.Calculators.CurrencyExchangeCalc.Utils.CurrencyExchangeCalcService._staticInstance.get_defaultSucceededCallback(); }
Inett.templates_TAD.Units.Calculators.CurrencyExchangeCalc.Utils.CurrencyExchangeCalcService.set_defaultFailedCallback = function(value) { Inett.templates_TAD.Units.Calculators.CurrencyExchangeCalc.Utils.CurrencyExchangeCalcService._staticInstance.set_defaultFailedCallback(value); }
Inett.templates_TAD.Units.Calculators.CurrencyExchangeCalc.Utils.CurrencyExchangeCalcService.get_defaultFailedCallback = function() { return Inett.templates_TAD.Units.Calculators.CurrencyExchangeCalc.Utils.CurrencyExchangeCalcService._staticInstance.get_defaultFailedCallback(); }
Inett.templates_TAD.Units.Calculators.CurrencyExchangeCalc.Utils.CurrencyExchangeCalcService.set_path("/templates_tad/Units/Calculators/CurrencyExchangeCalc/Utils/CurrencyExchangeCalcService.asmx");
Inett.templates_TAD.Units.Calculators.CurrencyExchangeCalc.Utils.CurrencyExchangeCalcService.Calculate= function(amount,currency,onSuccess,onFailed,userContext) {Inett.templates_TAD.Units.Calculators.CurrencyExchangeCalc.Utils.CurrencyExchangeCalcService._staticInstance.Calculate(amount,currency,onSuccess,onFailed,userContext); }

