Exemplo n.º 1
0
        private static DiseqcHandlerBase createHauppaugeHandler(IBaseFilter tunerFilter, bool logMessage)
        {
            HauppaugeDiseqcHandler hauppaugeHandler = new HauppaugeDiseqcHandler(tunerFilter);

            if (hauppaugeHandler.CardCapable)
            {
                return(hauppaugeHandler);
            }

            if (logMessage)
            {
                Logger.Instance.Write("Hauppauge card is not DiSEqC capable");
            }

            return(null);
        }
Exemplo n.º 2
0
        private static DiseqcHandlerBase createHauppaugeHandler(IBaseFilter tunerFilter, bool logMessage)
        {
            HauppaugeDiseqcHandler hauppaugeHandler = new HauppaugeDiseqcHandler(tunerFilter);

            if (hauppaugeHandler.CardCapable)
                return (hauppaugeHandler);

            if (logMessage)
                Logger.Instance.Write("Hauppauge card is not DiSEqC capable");

            return (null);
        }