Type.registerNamespace('IHC');
IHC.ScheduleService=function() {
IHC.ScheduleService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
IHC.ScheduleService.prototype={
GetPrice:function(ResourceID,StartDate,EndDate,succeededCallback, failedCallback, userContext) {
return this._invoke(IHC.ScheduleService.get_path(), 'GetPrice',false,{ResourceID:ResourceID,StartDate:StartDate,EndDate:EndDate},succeededCallback,failedCallback,userContext); },
ScheduleInfo:function(ResourceID,SelectedDate,succeededCallback, failedCallback, userContext) {
return this._invoke(IHC.ScheduleService.get_path(), 'ScheduleInfo',false,{ResourceID:ResourceID,SelectedDate:SelectedDate},succeededCallback,failedCallback,userContext); }}
IHC.ScheduleService.registerClass('IHC.ScheduleService',Sys.Net.WebServiceProxy);
IHC.ScheduleService._staticInstance = new IHC.ScheduleService();
IHC.ScheduleService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; IHC.ScheduleService._staticInstance._path = value; }
IHC.ScheduleService.get_path = function() { return IHC.ScheduleService._staticInstance._path; }
IHC.ScheduleService.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); }
IHC.ScheduleService._staticInstance._timeout = value; }
IHC.ScheduleService.get_timeout = function() { 
return IHC.ScheduleService._staticInstance._timeout; }
IHC.ScheduleService.set_defaultUserContext = function(value) { 
IHC.ScheduleService._staticInstance._userContext = value; }
IHC.ScheduleService.get_defaultUserContext = function() { 
return IHC.ScheduleService._staticInstance._userContext; }
IHC.ScheduleService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; IHC.ScheduleService._staticInstance._succeeded = value; }
IHC.ScheduleService.get_defaultSucceededCallback = function() { 
return IHC.ScheduleService._staticInstance._succeeded; }
IHC.ScheduleService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; IHC.ScheduleService._staticInstance._failed = value; }
IHC.ScheduleService.get_defaultFailedCallback = function() { 
return IHC.ScheduleService._staticInstance._failed; }
IHC.ScheduleService.set_path("/Modules/Schedule/ScheduleService.asmx");
IHC.ScheduleService.GetPrice= function(ResourceID,StartDate,EndDate,onSuccess,onFailed,userContext) {IHC.ScheduleService._staticInstance.GetPrice(ResourceID,StartDate,EndDate,onSuccess,onFailed,userContext); }
IHC.ScheduleService.ScheduleInfo= function(ResourceID,SelectedDate,onSuccess,onFailed,userContext) {IHC.ScheduleService._staticInstance.ScheduleInfo(ResourceID,SelectedDate,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(IHC.ScheduleService_ScheduleInfoResults) === 'undefined') {
IHC.ScheduleService_ScheduleInfoResults=gtc("IHC.ScheduleService+ScheduleInfoResults");
IHC.ScheduleService_ScheduleInfoResults.registerClass('IHC.ScheduleService_ScheduleInfoResults');
}
