Type.registerNamespace('tpc.App.Services');
tpc.App.Services.Forecasting=function() {
tpc.App.Services.Forecasting.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
tpc.App.Services.Forecasting.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return tpc.App.Services.Forecasting._staticInstance.get_path();},
GetForecast:function(wLCID,sAppKey,dblLatitude,dblLongitude,kilometers,sManufacturer,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetForecast',false,{wLCID:wLCID,sAppKey:sAppKey,dblLatitude:dblLatitude,dblLongitude:dblLongitude,kilometers:kilometers,sManufacturer:sManufacturer},succeededCallback,failedCallback,userContext); }}
tpc.App.Services.Forecasting.registerClass('tpc.App.Services.Forecasting',Sys.Net.WebServiceProxy);
tpc.App.Services.Forecasting._staticInstance = new tpc.App.Services.Forecasting();
tpc.App.Services.Forecasting.set_path = function(value) { tpc.App.Services.Forecasting._staticInstance.set_path(value); }
tpc.App.Services.Forecasting.get_path = function() { return tpc.App.Services.Forecasting._staticInstance.get_path(); }
tpc.App.Services.Forecasting.set_timeout = function(value) { tpc.App.Services.Forecasting._staticInstance.set_timeout(value); }
tpc.App.Services.Forecasting.get_timeout = function() { return tpc.App.Services.Forecasting._staticInstance.get_timeout(); }
tpc.App.Services.Forecasting.set_defaultUserContext = function(value) { tpc.App.Services.Forecasting._staticInstance.set_defaultUserContext(value); }
tpc.App.Services.Forecasting.get_defaultUserContext = function() { return tpc.App.Services.Forecasting._staticInstance.get_defaultUserContext(); }
tpc.App.Services.Forecasting.set_defaultSucceededCallback = function(value) { tpc.App.Services.Forecasting._staticInstance.set_defaultSucceededCallback(value); }
tpc.App.Services.Forecasting.get_defaultSucceededCallback = function() { return tpc.App.Services.Forecasting._staticInstance.get_defaultSucceededCallback(); }
tpc.App.Services.Forecasting.set_defaultFailedCallback = function(value) { tpc.App.Services.Forecasting._staticInstance.set_defaultFailedCallback(value); }
tpc.App.Services.Forecasting.get_defaultFailedCallback = function() { return tpc.App.Services.Forecasting._staticInstance.get_defaultFailedCallback(); }
tpc.App.Services.Forecasting.set_enableJsonp = function(value) { tpc.App.Services.Forecasting._staticInstance.set_enableJsonp(value); }
tpc.App.Services.Forecasting.get_enableJsonp = function() { return tpc.App.Services.Forecasting._staticInstance.get_enableJsonp(); }
tpc.App.Services.Forecasting.set_jsonpCallbackParameter = function(value) { tpc.App.Services.Forecasting._staticInstance.set_jsonpCallbackParameter(value); }
tpc.App.Services.Forecasting.get_jsonpCallbackParameter = function() { return tpc.App.Services.Forecasting._staticInstance.get_jsonpCallbackParameter(); }
tpc.App.Services.Forecasting.set_path("/Services/Forecasting.asmx");
tpc.App.Services.Forecasting.GetForecast= function(wLCID,sAppKey,dblLatitude,dblLongitude,kilometers,sManufacturer,onSuccess,onFailed,userContext) {tpc.App.Services.Forecasting._staticInstance.GetForecast(wLCID,sAppKey,dblLatitude,dblLongitude,kilometers,sManufacturer,onSuccess,onFailed,userContext); }
Type.registerNamespace('tpc.Type');
if (typeof(tpc.Type.idLCID) === 'undefined') {
tpc.Type.idLCID = function() { throw Error.invalidOperation(); }
tpc.Type.idLCID.prototype = {NotSet: 0,French_FR: 1036,French_CA: 3084,English_CA: 4105}
tpc.Type.idLCID.registerEnum('tpc.Type.idLCID', true);
}

