- cleanup (renamed directories to match project structure)

- tested and fixed Samsung favorites and locks for C,D,AstraHD
This commit is contained in:
hbeham
2013-04-03 15:01:53 +02:00
parent c0e0268fdf
commit 8d22767ec2
100 changed files with 23 additions and 3233 deletions

View File

@@ -0,0 +1,24 @@
using System.Collections.Generic;
using ChanSort.Api;
namespace ChanSort.Loader.ScmFile
{
public class DigitalChannel : ScmChannelBase
{
private const string _ChannelOrTransponder = "offChannelTransponder";
public DigitalChannel(int slot, SignalSource signalSource, DataMapping data, IDictionary<int, decimal> transpFreq) : base(data)
{
this.InitCommonData(slot, signalSource, data);
this.InitDvbData(data);
int transp = data.GetByte(_ChannelOrTransponder);
decimal freq = transpFreq.TryGet(transp);
if (freq == 0)
freq = transp*8 + 106;
this.ChannelOrTransponder = ((int)(freq-106)/8).ToString();
this.FreqInMhz = freq;
}
}
}