Type.registerNamespace('ClayElectricCooperative.OutageMap');
ClayElectricCooperative.OutageMap.Service=function() {
ClayElectricCooperative.OutageMap.Service.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ClayElectricCooperative.OutageMap.Service.prototype={
overlayRequest:function(overlayType,succeededCallback, failedCallback, userContext) {
return this._invoke(ClayElectricCooperative.OutageMap.Service.get_path(), 'overlayRequest',false,{overlayType:overlayType},succeededCallback,failedCallback,userContext); },
outageDataRequest:function(succeededCallback, failedCallback, userContext) {
return this._invoke(ClayElectricCooperative.OutageMap.Service.get_path(), 'outageDataRequest',false,{},succeededCallback,failedCallback,userContext); }}
ClayElectricCooperative.OutageMap.Service.registerClass('ClayElectricCooperative.OutageMap.Service',Sys.Net.WebServiceProxy);
ClayElectricCooperative.OutageMap.Service._staticInstance = new ClayElectricCooperative.OutageMap.Service();
ClayElectricCooperative.OutageMap.Service.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; ClayElectricCooperative.OutageMap.Service._staticInstance._path = value; }
ClayElectricCooperative.OutageMap.Service.get_path = function() { return ClayElectricCooperative.OutageMap.Service._staticInstance._path; }
ClayElectricCooperative.OutageMap.Service.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); }
ClayElectricCooperative.OutageMap.Service._staticInstance._timeout = value; }
ClayElectricCooperative.OutageMap.Service.get_timeout = function() { 
return ClayElectricCooperative.OutageMap.Service._staticInstance._timeout; }
ClayElectricCooperative.OutageMap.Service.set_defaultUserContext = function(value) { 
ClayElectricCooperative.OutageMap.Service._staticInstance._userContext = value; }
ClayElectricCooperative.OutageMap.Service.get_defaultUserContext = function() { 
return ClayElectricCooperative.OutageMap.Service._staticInstance._userContext; }
ClayElectricCooperative.OutageMap.Service.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; ClayElectricCooperative.OutageMap.Service._staticInstance._succeeded = value; }
ClayElectricCooperative.OutageMap.Service.get_defaultSucceededCallback = function() { 
return ClayElectricCooperative.OutageMap.Service._staticInstance._succeeded; }
ClayElectricCooperative.OutageMap.Service.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; ClayElectricCooperative.OutageMap.Service._staticInstance._failed = value; }
ClayElectricCooperative.OutageMap.Service.get_defaultFailedCallback = function() { 
return ClayElectricCooperative.OutageMap.Service._staticInstance._failed; }
ClayElectricCooperative.OutageMap.Service.set_path("/Service.asmx");
ClayElectricCooperative.OutageMap.Service.overlayRequest= function(overlayType,onSuccess,onFailed,userContext) {ClayElectricCooperative.OutageMap.Service._staticInstance.overlayRequest(overlayType,onSuccess,onFailed,userContext); }
ClayElectricCooperative.OutageMap.Service.outageDataRequest= function(onSuccess,onFailed,userContext) {ClayElectricCooperative.OutageMap.Service._staticInstance.outageDataRequest(onSuccess,onFailed,userContext); }
