mirror of
https://github.com/PredatH0r/ChanSort.git
synced 2026-03-06 20:20:43 +01:00
added unit tests for Philips BIN loader
This commit is contained in:
@@ -9,6 +9,7 @@ namespace ChanSort.Api
|
||||
|
||||
private string uid;
|
||||
private string serviceTypeName;
|
||||
private int newProgramNr;
|
||||
|
||||
public virtual bool IsDeleted { get; set; }
|
||||
public SignalSource SignalSource { get; set; }
|
||||
@@ -28,10 +29,21 @@ namespace ChanSort.Api
|
||||
/// original program number from the file, except for channels with IsDeleted==true, which will have the value -1
|
||||
/// </summary>
|
||||
public int OldProgramNr { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// new program number or -1, if the channel isn't assigned a number or has IsDeleted==true
|
||||
/// </summary>
|
||||
public int NewProgramNr { get; set; }
|
||||
public int NewProgramNr
|
||||
{
|
||||
get => newProgramNr;
|
||||
set
|
||||
{
|
||||
if (value == 0)
|
||||
{
|
||||
}
|
||||
newProgramNr = value;
|
||||
}
|
||||
}
|
||||
|
||||
public string Name { get; set; }
|
||||
public string ShortName { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user