Files
ChanSort/source/ChanSort.Loader.Philips/Channel.cs
Horst Beham c9fb32f40b - Philips: added support for ChannelMap_45 format
- Philips: fixed display of symbol rate and frequency (off by factor 1000 depending of list and DVB source)
- Philips: fixed special characters in channel names (e.g. german umlauts)
- Philips: "ServiceType" now only shows "TV" or "Radio". There is no information about HD/SD in the file.
2021-01-17 15:44:45 +01:00

35 lines
1.0 KiB
C#

using System.Xml;
using ChanSort.Api;
namespace ChanSort.Loader.Philips
{
internal class Channel : ChannelInfo
{
public Channel(SignalSource source, long index, int oldProgNr, string name) : base(source, index, oldProgNr, name)
{
this.RecordOrder = (int)index;
}
internal Channel(SignalSource source, int order, int rowId, XmlNode setupNode)
{
this.SignalSource = source;
this.RecordOrder = order;
this.RecordIndex = rowId;
this.SetupNode = setupNode;
}
/// <summary>
/// index of the record in the AntennaPresetTable / CablePresetTable file for the channel, matched by (onid + tsid + sid)
/// </summary>
public int PresetTableIndex { get; set; } = -1;
// fields relevant for ChannelMap_100 and later (XML nodes)
public readonly XmlNode SetupNode;
public string RawName;
public string RawSatellite;
public int Format;
public int Id; // links entries in the ChannelMap45/*Db.bin files with the entries in the tv.db channels table
}
}