Files
ChanSort/ChanSort.Loader.TllFile/DtvChannel.cs
hbeham 8d22767ec2 - cleanup (renamed directories to match project structure)
- tested and fixed Samsung favorites and locks for C,D,AstraHD
2013-04-03 15:01:53 +02:00

25 lines
633 B
C#

using ChanSort.Api;
namespace ChanSort.Loader.TllFile
{
public class DtvChannel : TllChannelBase
{
private const string _ChannelOrTransponder = "offChannelTransponder";
private const string _FrequencyLong = "offFrequencyLong";
/*
offFavorites2 = 134
offAudioPid2 = 182
*/
public DtvChannel(int slot, DataMapping data) : base(data)
{
this.InitCommonData(slot, SignalSource.DvbCT, data);
this.InitDvbData(data);
this.ChannelOrTransponder = data.GetByte(_ChannelOrTransponder).ToString("d2");
this.FreqInMhz = (decimal)data.GetDword(_FrequencyLong) / 1000;
}
}
}