private static DiseqcHandlerBase createTwinhanHandler(IBaseFilter tunerFilter, bool logMessage)
        {
            TwinhanDiseqcHandler twinhanHandler = new TwinhanDiseqcHandler(tunerFilter);

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

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

            return(null);
        }
示例#2
0
        private static DiseqcHandlerBase createTwinhanHandler(IBaseFilter tunerFilter, bool logMessage)
        {
            TwinhanDiseqcHandler twinhanHandler = new TwinhanDiseqcHandler(tunerFilter);

            if (twinhanHandler.CardCapable)
                return (twinhanHandler);

            if (logMessage)
                Logger.Instance.Write("Twinhan/Azurewave card is not DiSEqC capable");

            return (null);
        }