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

namespace Service
{
	public interface IRoomTypeSceneManager : IGenericManager<RoomTypeScene>
	{
        IList<RoomTypeScene> LoadAllByPage(out long total, int page, int rows, string order, string sort, int hotelID);

        IList<RoomTypeScene> LoadAllByPage(out long total, int page, int rows, string order, string sort, int hotelID, int roomTypeId);

		/// <summary>
		/// 加载灯光，包含调光
		/// </summary>
		/// <param name="roomType"></param>
		/// <returns></returns>
		IList<RoomTypeModal> LoadLights(RoomType roomType);
        /// <summary>
        /// 根据房型和中英文名称获取场景
        /// </summary>
        /// <param name="roomType"></param>
        /// <param name="name">中文或英文包含</param>
        /// <returns></returns>
		RoomTypeScene Get(RoomType roomType, string name);
        /// <summary>
        /// 根据房型和ID获取场景（防止获取不再该房型下的场景）
        /// </summary>
        /// <param name="roomType"></param>
        /// <param name="sceneID"></param>
        /// <returns></returns>
		RoomTypeScene Get(RoomType roomType, int sceneID);
	}
}
