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={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return IHC.ScheduleService._staticInstance.get_path();},
GetPrice:function(ResourceID,StartDate,EndDate,succeededCallback, failedCallback, userContext) {
/// <param name="ResourceID" type="String">System.Guid</param>
/// <param name="StartDate" type="Date">System.DateTime</param>
/// <param name="EndDate" type="Date">System.DateTime</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetPrice',false,{ResourceID:ResourceID,StartDate:StartDate,EndDate:EndDate},succeededCallback,failedCallback,userContext); },
ScheduleInfo:function(ResourceID,SelectedDate,succeededCallback, failedCallback, userContext) {
/// <param name="ResourceID" type="String">System.Guid</param>
/// <param name="SelectedDate" type="Date">System.DateTime</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._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) {
IHC.ScheduleService._staticInstance.set_path(value); }
IHC.ScheduleService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return IHC.ScheduleService._staticInstance.get_path();}
IHC.ScheduleService.set_timeout = function(value) {
IHC.ScheduleService._staticInstance.set_timeout(value); }
IHC.ScheduleService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return IHC.ScheduleService._staticInstance.get_timeout(); }
IHC.ScheduleService.set_defaultUserContext = function(value) { 
IHC.ScheduleService._staticInstance.set_defaultUserContext(value); }
IHC.ScheduleService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return IHC.ScheduleService._staticInstance.get_defaultUserContext(); }
IHC.ScheduleService.set_defaultSucceededCallback = function(value) { 
 IHC.ScheduleService._staticInstance.set_defaultSucceededCallback(value); }
IHC.ScheduleService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return IHC.ScheduleService._staticInstance.get_defaultSucceededCallback(); }
IHC.ScheduleService.set_defaultFailedCallback = function(value) { 
IHC.ScheduleService._staticInstance.set_defaultFailedCallback(value); }
IHC.ScheduleService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return IHC.ScheduleService._staticInstance.get_defaultFailedCallback(); }
IHC.ScheduleService.set_path("/inletharborclub/Modules/Schedule/ScheduleService.asmx");
IHC.ScheduleService.GetPrice= function(ResourceID,StartDate,EndDate,onSuccess,onFailed,userContext) {
/// <param name="ResourceID" type="String">System.Guid</param>
/// <param name="StartDate" type="Date">System.DateTime</param>
/// <param name="EndDate" type="Date">System.DateTime</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
IHC.ScheduleService._staticInstance.GetPrice(ResourceID,StartDate,EndDate,onSuccess,onFailed,userContext); }
IHC.ScheduleService.ScheduleInfo= function(ResourceID,SelectedDate,onSuccess,onFailed,userContext) {
/// <param name="ResourceID" type="String">System.Guid</param>
/// <param name="SelectedDate" type="Date">System.DateTime</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
IHC.ScheduleService._staticInstance.ScheduleInfo(ResourceID,SelectedDate,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(IHC.ScheduleInfoResults) === 'undefined') {
IHC.ScheduleInfoResults=gtc("IHC.ScheduleInfoResults");
IHC.ScheduleInfoResults.registerClass('IHC.ScheduleInfoResults');
}
