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); }
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); }