private static DiseqcHandlerBase createWin7APIHandler(IBaseFilter tunerFilter, bool logMessage)
        {
            Win7APIDiseqcHandler win7APIHandler = new Win7APIDiseqcHandler(tunerFilter);

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

            if (logMessage)
            {
                Logger.Instance.Write("Win 7 DiSEqC API is not available");
            }

            return(null);
        }
示例#2
0
        private static DiseqcHandlerBase createWin7APIHandler(IBaseFilter tunerFilter, bool logMessage)
        {
            Win7APIDiseqcHandler win7APIHandler = new Win7APIDiseqcHandler(tunerFilter);

            if (win7APIHandler.CardCapable)
                return (win7APIHandler);

            if (logMessage)
                Logger.Instance.Write("Win 7 DiSEqC API is not available");

            return (null);
        }