Exemplo n.º 1
0
        /// <summary>
        /// Load the ATSC tuning information.
        /// </summary>
        /// <param name="reader"></param>
        public void LoadATSCTuningInfo(XmlReader reader)
        {
            WMCATSCTuningInfo tuningInfo = new WMCATSCTuningInfo(
                Int32.Parse(reader.GetAttribute("frequency")),
                Int32.Parse(reader.GetAttribute("majorChannel")),
                Int32.Parse(reader.GetAttribute("minorChannel")));

            TuningInfos.Add(tuningInfo);
        }
Exemplo n.º 2
0
        /// <summary>
        /// Load the ATSC tuning information.
        /// </summary>
        /// <param name="reader"></param>
        public void LoadATSCTuningInfo(XmlReader reader)
        {
            WMCATSCTuningInfo tuningInfo = new WMCATSCTuningInfo(
                Int32.Parse(reader.GetAttribute("frequency")),
                Int32.Parse(reader.GetAttribute("majorChannel")),
                Int32.Parse(reader.GetAttribute("minorChannel")));

            TuningInfos.Add(tuningInfo);
        }