if(typeof TTWU == "undefined") TTWU={};
if(typeof TTWU.Components == "undefined") TTWU.Components={};
if(typeof TTWU.Components.HouseManager == "undefined") TTWU.Components.HouseManager={};
TTWU.Components.HouseManager_class = function() {};
Object.extend(TTWU.Components.HouseManager_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	UpdateRoomPicDescription: function(id, desc) {
		return this.invoke("UpdateRoomPicDescription", {"id":id, "desc":desc}, this.UpdateRoomPicDescription.getArguments().slice(2));
	},
	CreateUpdateDeleteRoomReview: function(id, parentid, roomid, content, action, ownerid, validatecode) {
		return this.invoke("CreateUpdateDeleteRoomReview", {"id":id, "parentid":parentid, "roomid":roomid, "content":content, "action":action, "ownerid":ownerid, "validatecode":validatecode}, this.CreateUpdateDeleteRoomReview.getArguments().slice(7));
	},
	GetRoomList: function(storeid) {
		return this.invoke("GetRoomList", {"storeid":storeid}, this.GetRoomList.getArguments().slice(1));
	},
	CheckRentDate: function(roomid, orderid, startdate, enddate) {
		return this.invoke("CheckRentDate", {"roomid":roomid, "orderid":orderid, "startdate":startdate, "enddate":enddate}, this.CheckRentDate.getArguments().slice(4));
	},
	CreateOwnerOrder: function(roomid, username, startdate, enddate, idcard, note, usermobile, userphone, earnestmoney, deposit) {
		return this.invoke("CreateOwnerOrder", {"roomid":roomid, "username":username, "startdate":startdate, "enddate":enddate, "idcard":idcard, "note":note, "usermobile":usermobile, "userphone":userphone, "earnestmoney":earnestmoney, "deposit":deposit}, this.CreateOwnerOrder.getArguments().slice(10));
	},
	CreateCustomerOrder: function(roomid, username, startdate, enddate, note, usermobile, userphone, idcard) {
		return this.invoke("CreateCustomerOrder", {"roomid":roomid, "username":username, "startdate":startdate, "enddate":enddate, "note":note, "usermobile":usermobile, "userphone":userphone, "idcard":idcard}, this.CreateCustomerOrder.getArguments().slice(8));
	},
	ChangeOrderStatus: function(ids, status) {
		return this.invoke("ChangeOrderStatus", {"ids":ids, "status":status}, this.ChangeOrderStatus.getArguments().slice(2));
	},
	SearchRoom: function(province, city, circle, renttype, bedroom, hall, washroom, kitchen, lowprice, highprice, propertytype, fitment, lowarea, higharea, userid, username, hasmap, hasvideo, isapproved, pageindex, pagesize, orderby, sort, comtype, roomtype, VenusesName) {
		return this.invoke("SearchRoom", {"province":province, "city":city, "circle":circle, "renttype":renttype, "bedroom":bedroom, "hall":hall, "washroom":washroom, "kitchen":kitchen, "lowprice":lowprice, "highprice":highprice, "propertytype":propertytype, "fitment":fitment, "lowarea":lowarea, "higharea":higharea, "userid":userid, "username":username, "hasmap":hasmap, "hasvideo":hasvideo, "isapproved":isapproved, "pageindex":pageindex, "pagesize":pagesize, "orderby":orderby, "sort":sort, "comtype":comtype, "roomtype":roomtype, "VenusesName":VenusesName}, this.SearchRoom.getArguments().slice(26));
	},
	GetRoomCountsByProvince: function(province) {
		return this.invoke("GetRoomCountsByProvince", {"province":province}, this.GetRoomCountsByProvince.getArguments().slice(1));
	},
	SetRoomDefaultPic: function(roomid, pic) {
		return this.invoke("SetRoomDefaultPic", {"roomid":roomid, "pic":pic}, this.SetRoomDefaultPic.getArguments().slice(2));
	},
	ChangeRoomRecommendStatus: function(id, status) {
		return this.invoke("ChangeRoomRecommendStatus", {"id":id, "status":status}, this.ChangeRoomRecommendStatus.getArguments().slice(2));
	},
	url: '/ajaxpro/TTWU.Components.HouseManager,TTWU.Components.ashx'
}));
TTWU.Components.HouseManager = new TTWU.Components.HouseManager_class();

