Ejemplo n.º 1
0
        public LiveTvService(ILogger logger)
        {
            _logger = logger;

            _tunerDataHelper = new TunerDataHelper(logger);
            _channelDataHelper = new ChannelDataHelper(logger, _tunerDataHelper);
            _dvrDataHelper = new DvrDataHelper(logger);
            _autorecDataHelper = new AutorecDataHelper(logger);

            createHTSConnection();
        }
        private HTSConnectionHandler(ILogger logger)
        {
            _logger = logger;

            //System.Diagnostics.StackTrace t = new System.Diagnostics.StackTrace();
            _logger.Info("[TVHclient] HTSConnectionHandler()");

            _channelDataHelper = new ChannelDataHelper(logger);
            _dvrDataHelper = new DvrDataHelper(logger);
            _autorecDataHelper = new AutorecDataHelper(logger);

            init();
            _channelDataHelper.SetChannelType4Other(_channelType);
        }