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

namespace Service.Implement
{
    public class HostFaultRecordsManager : GenericManagerBase<HostFaultRecords>, IHostFaultRecordsManager
    {
        public IList<string> LoadRoomNumbers(int hotelID)
        {
            return ((Dao.IHostFaultRecordsRepository)CurrentRepository).LoadRoomNumbers(hotelID);
        }

        public DataTable LoadHostFaultRecords(out long total, int page, int rows, string order, string sort, string roomNumber, string startTime, string endTime, DeviceType? deviceType, string modalIds, int hotelID)
        {
            return ((Dao.IHostFaultRecordsRepository)CurrentRepository).LoadHostFaultRecords(out total, page, rows, order, sort, roomNumber, startTime, endTime, deviceType, modalIds, hotelID);
        }
    }
}
