/// <summary>
        /// Generate a copy of this frequency.
        /// </summary>
        /// <returns>A new instance with the same properties as the old instance.</returns>
        public override TuningFrequency Clone()
        {
            ISDBSatelliteFrequency newFrequency = new ISDBSatelliteFrequency();

            base.Clone(newFrequency);

            newFrequency.FEC          = fec;
            newFrequency.Polarization = polarization;
            newFrequency.SymbolRate   = symbolRate;

            if (satelliteDish != null)
            {
                newFrequency.SatelliteDish = (SatelliteDish)satelliteDish.Clone();
            }

            return(newFrequency);
        }
Пример #2
0
        /// <summary>
        /// Generate a copy of this frequency.
        /// </summary>
        /// <returns>A new instance with the same properties as the old instance.</returns>
        public override TuningFrequency Clone()
        {
            SatelliteFrequency newFrequency = new SatelliteFrequency();

            base.Clone(newFrequency);

            newFrequency.FEC          = fec;
            newFrequency.Polarization = polarization;
            newFrequency.SymbolRate   = symbolRate;
            newFrequency.Pilot        = pilot;
            newFrequency.RollOff      = rollOff;
            newFrequency.Modulation   = modulation;

            if (satelliteDish != null)
            {
                newFrequency.SatelliteDish = (SatelliteDish)satelliteDish.Clone();
            }

            return(newFrequency);
        }