Exemplo n.º 1
0
        /// <summary>
        /// Load the DVB tuning information.
        /// </summary>
        /// <param name="reader"></param>
        public void LoadDVBTuningInfo(XmlReader reader)
        {
            WMCDVBTuningInfo tuningInfo = new WMCDVBTuningInfo(
                Int32.Parse(reader.GetAttribute("frequency")),
                Int32.Parse(reader.GetAttribute("onid")),
                Int32.Parse(reader.GetAttribute("tsid")),
                Int32.Parse(reader.GetAttribute("sid")));

            TuningInfos.Add(tuningInfo);
        }
Exemplo n.º 2
0
        /// <summary>
        /// Load the DVB tuning information.
        /// </summary>
        /// <param name="reader"></param>
        public void LoadDVBTuningInfo(XmlReader reader)
        {
            WMCDVBTuningInfo tuningInfo = new WMCDVBTuningInfo(
                Int32.Parse(reader.GetAttribute("frequency")),
                Int32.Parse(reader.GetAttribute("onid")),
                Int32.Parse(reader.GetAttribute("tsid")),
                Int32.Parse(reader.GetAttribute("sid")));

            TuningInfos.Add(tuningInfo);
        }