2021-03-07 16:12:21 +01:00
|
|
|
|
using ChanSort.Api;
|
|
|
|
|
|
|
|
|
|
|
|
namespace ChanSort.Loader.Enigma2
|
|
|
|
|
|
{
|
|
|
|
|
|
internal class Channel : ChannelInfo
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// first two fields of the lamedb entry
|
|
|
|
|
|
/// </summary>
|
2021-03-13 18:11:30 +01:00
|
|
|
|
public string Prefix { get; set; } = "1:0";
|
2021-03-07 16:12:21 +01:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// For DVB-S it is the orbital position * 10 (e.g. 192 for Astra 19.2E) * 65536
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public int DvbNamespace { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public int ServiceNumber { get; set; }
|
2021-03-13 18:11:30 +01:00
|
|
|
|
|
2021-03-07 16:12:21 +01:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// all fields after the DVB-namespace in the lamedb entry
|
|
|
|
|
|
/// </summary>
|
2021-03-13 18:11:30 +01:00
|
|
|
|
public string Suffix { get; set; } = ":0:0:0:";
|
2021-03-07 16:12:21 +01:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// #DESCRIPTION of the userbouquet entry
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string Description { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|