示例#1
0
 /// <summary>
 /// Initialize a new instance of the TuningSpec class for a DVB cable frequency.
 /// </summary>
 /// <param name="frequency">The frequency to tune to.</param>
 public TuningSpec(CableFrequency frequency)
 {
     this.frequency = frequency;
     symbolRate     = frequency.SymbolRate;
     fec            = frequency.FEC;
     modulation     = frequency.Modulation;
 }
示例#2
0
 /// <summary>
 /// Initialize a new instance of the TuningSpec class for a ISDB satellite frequency.
 /// </summary>
 /// <param name="satellite">The satellite to tune to.</param>
 /// <param name="frequency">The frequency to tune to.</param>
 public TuningSpec(Satellite satellite, ISDBSatelliteFrequency frequency)
 {
     this.frequency     = frequency;
     this.satellite     = satellite;
     symbolRate         = frequency.SymbolRate;
     fec                = frequency.FEC;
     signalPolarization = frequency.Polarization;
 }
示例#3
0
 /// <summary>
 /// Initialize a new instance of the TuningSpec class for a Clear QAM frequency.
 /// </summary>
 /// <param name="frequency">The frequency to tune to.</param>
 public TuningSpec(ClearQamFrequency frequency)
 {
     this.frequency = frequency;
     symbolRate     = frequency.SymbolRate;
     fec            = frequency.FEC;
     modulation     = frequency.Modulation;
     channelNumber  = frequency.ChannelNumber;
 }