addNamespace("EQD.SciencePark.Meeting");
EQD.SciencePark.Meeting.MeetingAjax_class = Class.create();
Object.extend(EQD.SciencePark.Meeting.MeetingAjax_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	GetAllMeetingRooms: function() {
		return this.invoke("GetAllMeetingRooms", {}, this.GetAllMeetingRooms.getArguments().slice(0));
	},
	GetAllLendLogs: function(StartDate, StartTime, EndDate, EndTime) {
		return this.invoke("GetAllLendLogs", {"StartDate":StartDate, "StartTime":StartTime, "EndDate":EndDate, "EndTime":EndTime}, this.GetAllLendLogs.getArguments().slice(4));
	},
	GetLendLogByLendLogID: function(aLendLogID) {
		return this.invoke("GetLendLogByLendLogID", {"aLendLogID":aLendLogID}, this.GetLendLogByLendLogID.getArguments().slice(1));
	},
	CheckAddMeetingRentRecordAjax: function(aMeetingID, StartDate, StartTime, EndDate, EndTime) {
		return this.invoke("CheckAddMeetingRentRecordAjax", {"aMeetingID":aMeetingID, "StartDate":StartDate, "StartTime":StartTime, "EndDate":EndDate, "EndTime":EndTime}, this.CheckAddMeetingRentRecordAjax.getArguments().slice(5));
	},
	GetResourceLendLogsByID: function(aMeetingID, StartDate, StartTime, EndDate, EndTime) {
		return this.invoke("GetResourceLendLogsByID", {"aMeetingID":aMeetingID, "StartDate":StartDate, "StartTime":StartTime, "EndDate":EndDate, "EndTime":EndTime}, this.GetResourceLendLogsByID.getArguments().slice(5));
	},
	GetUserInfo: function() {
		return this.invoke("GetUserInfo", {}, this.GetUserInfo.getArguments().slice(0));
	},
	AddRoomLendLog: function(aMeetingID, StartDate, StartTime, EndDate, EndTime, MeetingSubject, rentorName, rentorCompany, rentorTel, rentorTex, aApplyWhys, aRemark, aRentLogStartDate) {
		return this.invoke("AddRoomLendLog", {"aMeetingID":aMeetingID, "StartDate":StartDate, "StartTime":StartTime, "EndDate":EndDate, "EndTime":EndTime, "MeetingSubject":MeetingSubject, "rentorName":rentorName, "rentorCompany":rentorCompany, "rentorTel":rentorTel, "rentorTex":rentorTex, "aApplyWhys":aApplyWhys, "aRemark":aRemark, "aRentLogStartDate":aRentLogStartDate}, this.AddRoomLendLog.getArguments().slice(13));
	},
	DelLendLog: function(tempLendLogID) {
		return this.invoke("DelLendLog", {"tempLendLogID":tempLendLogID}, this.DelLendLog.getArguments().slice(1));
	},
	ConfirmLendLog: function(tempLendLogID, standardForegift, StartDate, StartTime) {
		return this.invoke("ConfirmLendLog", {"tempLendLogID":tempLendLogID, "standardForegift":standardForegift, "StartDate":StartDate, "StartTime":StartTime}, this.ConfirmLendLog.getArguments().slice(4));
	},
	RefuseLendLog: function(tempLendLogID) {
		return this.invoke("RefuseLendLog", {"tempLendLogID":tempLendLogID}, this.RefuseLendLog.getArguments().slice(1));
	},
	LendOutLendLog: function(tempLendLogID, foregift_real, r_real, StartDate, StartTime) {
		return this.invoke("LendOutLendLog", {"tempLendLogID":tempLendLogID, "foregift_real":foregift_real, "r_real":r_real, "StartDate":StartDate, "StartTime":StartTime}, this.LendOutLendLog.getArguments().slice(5));
	},
	GiveBackLendLog: function(tempLendLogID) {
		return this.invoke("GiveBackLendLog", {"tempLendLogID":tempLendLogID}, this.GiveBackLendLog.getArguments().slice(1));
	},
	initialize: function() {
		this.url = '/ajaxpro/EQD.SciencePark.Meeting.MeetingAjax,App_Code.ashx';
	}
}));
EQD.SciencePark.Meeting.MeetingAjax = new EQD.SciencePark.Meeting.MeetingAjax_class();

