Exemplo n.º 1
0
        private static DVBS2HandlerBase createTechnoTrendHandler(IBaseFilter tunerFilter, bool logMessage)
        {
            TechnoTrendDVBS2Handler technoTrendHandler = new TechnoTrendDVBS2Handler(tunerFilter);

            if (technoTrendHandler.DVBS2Capable)
            {
                return(technoTrendHandler);
            }

            if (logMessage)
            {
                Logger.Instance.Write("TechnoTrend card is not DVB-S2 capable");
            }

            return(null);
        }
Exemplo n.º 2
0
        private static DVBS2HandlerBase createTechnoTrendHandler(IBaseFilter tunerFilter, bool logMessage)
        {
            TechnoTrendDVBS2Handler technoTrendHandler = new TechnoTrendDVBS2Handler(tunerFilter);

            if (technoTrendHandler.DVBS2Capable)
                return (technoTrendHandler);

            if (logMessage)
                Logger.Instance.Write("TechnoTrend card is not DVB-S2 capable");

            return (null);
        }