using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using Domain;

namespace Dao
{
	public interface IHostAirRecordRepository : IRepository<HostAirRecord>
	{
		/// <summary>
		/// 查询空调温度记录
		/// </summary>
		/// <param name="total"></param>
		/// <param name="page"></param>
		/// <param name="rows"></param>
		/// <param name="order"></param>
		/// <param name="sort"></param>
		/// <param name="roomNumber"></param>
		/// <param name="airNo"></param>
		/// <param name="startTime"></param>
		/// <param name="endTime"></param>
		/// <param name="tempTypes"></param>
		/// <returns></returns>
        DataTable LoadHostAirRecords(out long total, int page, int rows, string order, string sort, string roomNumber, int airNo, string startTime, string endTime, string tempTypes, int hotelID);

		HostAirRecord GetLastHostAirRecord(int hostId, int airNo, TempType type);

		HostAirRecord GetLastHostAirRecord(int hostId, int airNo, TempType type, int temp);
	}
}
