コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ITVCard"/> class.
 /// </summary>
 public TvCardHandler(Card dbsCard, ITVCard card)
 {
   _dbsCard = dbsCard;
   Card = card;
   IsLocal = _card != null;
   _userManagement = new UserManagement(this);
   _disEqcManagement = new DisEqcManagement(this);
   _teletext = new TeletextManagement(this);
   _scanner = new ChannelScanning(this);
   _epgGrabbing = new EpgGrabbing(this);
   _audioStreams = new AudioStreams(this);
   _recorder = new Recorder(this);
   _timerShifter = new TimeShifter(this);
   _tuner = new CardTuner(this);
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ITVCard"/> class.
 /// </summary>
 public TvCardHandler(Card dbsCard, ITVCard card)
 {
   _dbsCard = dbsCard;
   _card = card;
   if (_card != null)
   {
     _card.Context = new TvCardContext();
     _isLocal = true;
   }
   else
   {
     _isLocal = false;
   }
   _userManagement = new UserManagement(this);
   _disEqcManagement = new DisEqcManagement(this);
   _teletext = new TeletextManagement(this);
   _scanner = new ChannelScanning(this);
   _epgGrabbing = new EpgGrabbing(this);
   _audioStreams = new AudioStreams(this);
   _tuner = new CardTuner(this);
   _recorder = new Recorder(this);            
   _timerShifter = new TimeShifter(this);
 }